- Jul 10, 2018
-
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Peng Fan authored
Add i.mx8m pinctrl driver. Signed-off-by:
Peng Fan <peng.fan@nxp.com> Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Oliver Brown authored
Adding the HDP firmware loading to the build. Signed-off-by:
Oliver Brown <oliver.brown@nxp.com>
-
Ye Li authored
Adding new IMXDPUV1 (aka Seeris, Iris-lite) display control driver. Signed-off-by:
Oliver Brown <oliver.brown@nxp.com> Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Ye Li authored
Add the mipi dsi panel driver for device HX8363 from kernel. The panel driver needs work with mipi_dsi_northwest driver. Signed-off-by:
Ye Li <ye.li@nxp.com> (cherry picked from commit 0c6d0f4202bae7f61d38ecff1c9d255261f022f2)
-
Ye Li authored
Add the host driver base from kernel for MIPI DSI controller on i.MX7ULP. The controller provides a DPI-2 interface for LCDIF video stream, and a APB interface for packet transmission. The driver provides APIs to register a MIPI panel device and its driver. The panel driver can use the write packet function provided by the host driver to send control packets to panel device via APB interface. MIPI DSI has its PHY and dedicated PLL. The driver will setup them when enabling the DSI host. Signed-off-by:
Ye Li <ye.li@nxp.com> (cherry picked from commit e02115dd1c5d36ec06eabcb5a0b8e09aaf0f29a0)
-
Ye.Li authored
Add gis module, current gis is support vadc input. Add power down function to lcdif driver. Signed-off-by:
Sandor Yu <R01008@freescale.com> Signed-off-by:
Ye.Li <B37916@freescale.com> (cherry picked from commit a007b00dd8ef9f773dfdebef0b1deb0990281793) (cherry picked from commit a31dcdafb0963381e7213c59f79a340ef27ec2e2) (cherry picked from commit 02dfe2e4af5f51d39a51542fb0e81f93faf505bc)
-
Peng Fan authored
Support EPDC. E-Ink feature is supported by i.MX6DL/SL and i.MX7D. For now this driver only supports i.MX6DL/SL, because the i.MX7D EPDC driver needs pxp support which is not included in U-Boot. Support user defined logo file, if there is no logo file, it will draw a black border around a white screen. If need to enable EPDC, a waveform file is required to let all work. Since we need LCD_MONOCHROME mode for EPDC, we introduce LCD_MONOCHROME support. Please refer to Linux Reference Manual for how to flash WAVEFORM file. Signed-off-by:
Peng Fan <peng.fan@nxp.com> Signed-off-by:
Robby Cai <R63905@freescale.com> Signed-off-by:
Nitin Garg <nitin.garg@freescale.com> Signed-off-by:
Ye.Li <B37916@freescale.com> (cherry picked from commit a7244f279cc3c3994bcd103f5e9a183b1075ae71)
-
Oliver Brown authored
Adding i.MX8 HDMI support to build configuration. Signed-off-by:
Oliver Brown <oliver.brown@nxp.com> Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
Ye Li authored
Checks whether the HDMI FW is running before initialize the HDMI display. So that for cases like mfgtool and imx-boot image without HDMI FW, the u-boot won't be blocked. Signed-off-by:
Ye Li <ye.li@nxp.com> (cherry picked from commit 273b45dd3cf8773462400857c8b48b70bcfe96bb)
-
Oliver Brown authored
Adding HDMI support for splash screen. Signed-off-by:
Oliver Brown <oliver.brown@nxp.com>
-
Oliver Brown authored
Renaming hdpload to hdp_load for consistancy. Correcting the strncmp to use only 4 characters to match "load" argument Signed-off-by:
Oliver Brown <oliver.brown@nxp.com>
-
Ye Li authored
Met build errors below when CONFIG_VIDEO_IMX_HDP_LOAD is not selected. Because the u-boot make script checks the "$(obj-y) $(obj-m) $(obj-) $(subdir-m) $(lib-target)" for built-in target. aarch64-poky-linux-ld.bfd: cannot find drivers/video/imx/built-in.o: No such file or directory scripts/Makefile.build:359: recipe for target 'drivers/video/built-in.o' failed Signed-off-by:
Ye Li <ye.li@nxp.com> Reviewed-by:
Peng Fan <peng.fan@nxp.com>
-
Oliver Brown authored
This adds a command to load the HDP firmware and supporting libraries. Signed-off-by:
Oliver Brown <oliver.brown@nxp.com>
-
Ye Li authored
There are some integer to pointer convert. To support 64 bits system, change the unsigned int to unsigned long. Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Ye Li authored
i.MX8MQ has two USB3 controllers. Previously we only added the #2 controller support in driver. This patch adds the address for #1 controller. Signed-off-by:
Ye Li <ye.li@nxp.com> Acked-by:
Jun Li <jun.li@nxp.com> (cherry picked from commit 3172dab3f9b25ccf8f66b122a69cda1da65d808f)
-
Ye Li authored
Fix build warnings below, because the imx8m_usb_power is not declared board/freescale/imx8mq_evk/imx8m_evk.c: In function ‘board_usb_init’: board/freescale/imx8mq_evk/imx8m_evk.c:205:2: warning: implicit declaration of function ‘imx8m_usb_power’ [-Wimplicit-function-declaration] imx8m_usb_power(index, true); ^~~~~~~~~~~~~~~ drivers/usb/host/xhci-imx8m.c: In function ‘xhci_hcd_init’: drivers/usb/host/xhci-imx8m.c:123:3: warning: implicit declaration of function ‘imx8m_usb_power’ [-Wimplicit-function-declaration] imx8m_usb_power(ctr_data[index].usb_id, false); ^~~~~~~~~~~~~~~ Signed-off-by:
Ye Li <ye.li@nxp.com> Acked-by:
Peng Fan <peng.fan@nxp.com>
-
Ye Li authored
ATF will power off all PUs at default, so for USB, we enable its PU power for both host and device modes in board_usb_init and disable the power when usb is stop in board_usb_cleanup. Signed-off-by:
Ye Li <ye.li@nxp.com> Reviewed-by:
Li Jun <jun.li@nxp.com>
-
Li Jun authored
imx8mq usb xhci is a dwc3 based controller, its synopsys PHY can be controlled by usbmix glue layer. imx8mq has 2 USB3 instance, this patch only enables USB2(2nd instance). Reviewed-by : Peng Fan <peng.fan@nxp.com> Signed-off-by:
Li Jun <jun.li@nxp.com>
-
Troy Kisky authored
Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
- Jul 05, 2018
-
-
Andre Przywara authored
On the A64 the clock for the first USB controller is actually the parent of the clock for the second controller, so turning them off in that order makes the system hang. Fix this by only turning off *both* clocks when the *last* OHCI controller is brought down. This covers the case when only one controller is used. Signed-off-by:
Andre Przywara <andre.przywara@arm.com>
-
Emmanuel Vadot authored
When using CONFIG_OF_BOARD on rpi to use the dtb provided by the RaspberryPi Fundation, the compatible string isn't the same, resulting in not-functional usb from u-boot. Signed-off-by:
Oleksandr Tymoshenko <gonzo@FreeBSD.org> Signed-off-by:
Emmanuel Vadot <manu@freebsd.org>
-
- Jul 02, 2018
-
-
Rabeeh Khoury authored
Make the initialization sequence consistent with the Linux kernel driver. Reviewed-by:
Stefan Roese <sr@denx.de> Acked-by:
Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Rabeeh Khoury <rabeeh@solid-run.com> Signed-off-by:
Baruch Siach <baruch@tkos.co.il>
-
Rabeeh Khoury authored
This fixes sporadic timeout on initial packet Tx (usually ARP), with an error message like: timeout: packet not sent Reviewed-by:
Stefan Roese <sr@denx.de> Tested-by:
Chris Packham <judge.packham@gmail.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Rabeeh Khoury <rabeeh@solid-run.com> Signed-off-by:
Baruch Siach <baruch@tkos.co.il>
-
Michal Simek authored
phyread can timeout and val will contain random value. Initialize it to zero not to report random value in case of error. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Emmanuel Vadot authored
When using CONFIG_OF_BOARD on rpi to use the dtb provided by the RaspberryPi Fundation, the compatible string isn't the same, resulting in not-functional video in u-boot. Signed-off-by:
Oleksandr Tymoshenko <gonzo@FreeBSD.org> Signed-off-by:
Emmanuel Vadot <manu@freebsd.org>
-
Bin Meng authored
With the introduction of early timer support in the TSC driver, the capability of getting clock rate from device tree was lost unfortunately. Now we bring such functionality back, but with a limitation that when TSC is used as early timer, specifying clock rate from device tree does not work. This fixes random boot failures seen on QEMU targets: printing "TSC frequency is ZERO" and reset forever. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Jun 29, 2018
-
-
Jagan Teki authored
Masking clock gate, reset register bits based on the probed controller is proper only due to the assumption that masking should start with 0 even thought the controller has separate PHY or shared between OTG. unfortunately these are fixed due to lack of separate clock, reset drivers. Say for example EHCI1 - EHCI3 in the datasheet (EHCI0 is for the OTG) so we need to start reg_mask 0 - 2. This patch calculated the mask, based on the register base so that we can get the proper bits to set with respect to probed controller. We even do this masking by using PHY index specifier from dt, but dev_read_addr_size is failing for 64-bit boards. Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com>
-
Zeng Tao authored
For ohci, the maximam supported endpoint number is 32(in and out), and now we have used (usb_pipeendpoint(pipe) << 1) to index the specified endpoint descritor, usb_pipeendpoint(pipe) can reach 0xf, so we need change the NUM_EDs from 8 to 32. Signed-off-by:
Zeng Tao <prime.zeng@hisilicon.com>
-
Vasily Khoruzhick authored
ohci-hcd casts priv_data pointer to (ohci_t *), thus it must be the first member in private data struct. Fixes 831cc98b ("usb: sunxi: Simplify ccm reg base code") Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
- Jun 28, 2018
-
-
Marek Vasut authored
The N25Q256(A) datasheet clearly states that this device does have a Flag Status Register and does update FSR PEC bit 7 during Program and Erase cycles to indicate the cycle is in progress. Enable the FSR PEC bit polling on this device to prevent data corruption. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Jagan Teki <jagan@openedev.com> Cc: Tom Rini <trini@konsulko.com>
-
Hannes Schmelzer authored
The claim/release bus function must not reset the whole SPI core because settings regarding wordlen, clock-frequency and so on made by set_wordlen, set_mode, set_speed get lost with this action. Resulting in a non-functional SPI. Without DM the failure didn't came up since after the spi_reset within claim bus all the setup (wordlen, mode, ...) was called, in DM they are called by the spi uclass. We change now the things as following for having a working SPI instance in DM: - move the spi_reset(...) to the probe call in DM for having a known hardware state after probe. Without DM we don't have a probe call, so we issue the reset as before during the claim_bus call. - in release bus we just reset the modulctrl to the reset-value (spi- slave) Signed-off-by:
Hannes Schmelzer <oe5hpm@oevsv.at> Reviewed-by:
Jagan Teki <jagan@openedev.com>
-
Andrew Thomas authored
This bug is the combination of dwc2 USB controller and lan78xx USB ethernet controller, which is the combination in use on the Raspberry Pi Model 3 B+. When the host attempts to receive a packet, but a packet has not arrived, the lan78xx controller responds by setting BIR (Bulk-In Empty Response) to NAK. Unfortunately, this hangs the USB controller and requires the USB controller to be reset. The fix proposed is to have the lan78xx controller respond by setting BIR to ZLP. Signed-off-by:
Andrew Thomas <andrew.thomas@oracle.com> Tested-by:
Peter Robinson <pbrobinson@gmail.com> Reviewed-by:
Alexander Graf <agraf@suse.de>
-
- Jun 27, 2018
-
-
Jörg Krause authored
For now, the existing SPL MXS NAND driver only supports to identify ONFi-compliant NAND chips. In order to allow identifying non-ONFi-compliant chips add `mxs_flash_full_ident()` which uses the `nand_get_flash_type()` functionality from `nand_base.c` to lookup for supported NAND chips in the chip ID list. For compatibility reason the full identification support is only available if the config option `CONFIG_SPL_NAND_IDENT` is enabled. The lookup was tested on a custom i.MX6ULL board with a Toshiba TC58NVG1S3HTAI0 NAND chip. Signed-off-by:
Jörg Krause <joerg.krause@embedded.rocks>
-
Jörg Krause authored
The existing `mxs_flash_ident()` is limited to identify ONFi compliant NAND chips only. In order to support non-ONFi NAND chips refactor the function and rename it to `mxs_flash_onfi_ident()`. A follow-up patch will add `mxs_flash_full_ident()` which allows to use the chip ID list to lookup for supported NAND flashs. Signed-off-by:
Jörg Krause <joerg.krause@embedded.rocks>
-
Jörg Krause authored
Add the config option `CONFIG_SPL_NAND_IDENT` for using the NAND chip ID list to identify the NAND flash in SPL. Signed-off-by:
Jörg Krause <joerg.krause@embedded.rocks>
-