summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-06MLK-23574-52 mx6sll_val: Add iMX6SLL validation boards supportYe Li
Porting the iMX6SLL LPDDR3/LPDDR2 validation board support from v2019.04 u-boot. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit fabe5a0e397fdc89862c706ae502b5cc7afd16f5) (cherry picked from commit cb2cc57c9d2166db88b4428d35196d415fd33ef0) (cherry picked from commit 32e608b96bf3873bd55239d9029c7a676b407dd8)
2022-04-06MLK-23574-51 mx6sx_val: Add iMX6SX validation boards supportYe Li
Porting the iMX6SX 17x17 DDR3/LPDDR2 (14x14) validation board and 19x19 DDR3/LPDDR2 validation board support from v2019.04 u-boot. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 766189e6d95c272beb6048f722eca720057e747e) (cherry picked from commit ed0e368f201af0c4d3c155782b43f073e7ab1ba1) (cherry picked from commit 60e36a15348fa538fb104ee694c60de2a1bbe3ff)
2022-04-06MLK-23574-50 mx7d_val: Add iMX7D validation board supportYe Li
Porting the iMX7D 12x12 DDR3/LPDDR3 validation board and 19x19 DDR3/LPDDR2/LPDDR3 validation board support from v2019.04 u-boot. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 72b5f1ef1c60c81bf18b9830473da6bc5aa42613) (cherry picked from commit 131ae5b11a8129ea18a36e771a3f168923ecd7ed)
2022-04-06MLK-23574-49 mx7ulp_val: Add 10x10 and 14x14 validation board supportYe Li
Porting the iMX7ULP 10x10 validation board and 14x14 validation board codes from v2019.04 u-boot. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit ec3686f915d0abcc3b1e8f06f288ebf4b249366a) (cherry picked from commit fd016db05902e9dfe30bac2ca808fe29369e2fa9) (cherry picked from commit f0ae5a8270206fc25b876e8279fca118ace0940e)
2022-04-06MLK-23574-48 imx8mm: Add DDR3L and DDR4 validation boardsYe Li
Porting board codes, configurations, DTS and DDR initialization codes for the DDR3L and DDR4 validation boards from imx_v2019.04 Ready functions: - DDR3L board: SD, UART, I2C, USB host and NAND FPGA on the board controls WDOG_B and ENET PHY reset, so reset and ethernet can't work - DDR4 board: SD/eMMC, I2C, ENET, Flexspi, UART and USB Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit e34b17b9b5eac3c7c33d54408d2850416125318f) (cherry picked from commit 4a6bfd41d565b560ccb5e3723d664c54fd21f799) (cherry picked from commit 39c1ba9d8b5115e0abe95fc10463c269a5b9d1c1)
2022-04-06MLK-23574-47 imx8mq: Add DDR3L and DDR4 validation boardsYe Li
Porting board codes, configurations, DTS and DDR initialization codes for the DDR3L and DDR4 validation boards from imx_v2019.04 Supported modules - DDR3L VAL: Two RANK DDR3L, QSPI B, eMMC/SD, RMII ENET, UART. - DDR4 VAL: Two RANK DDR4, SD, NAND, RGMII ENET, UART Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit ff5d678353f0f442902a2a3067fad198c7a7dacc) (cherry picked from commit b779c24473711a75b7455e99662ca7a69eb9c6bc) (cherry picked from commit 63ed4473ba855540cdac7faa13c7126b10aabeb0)
2022-04-06MLK-23574-46 imx8qxp: Add iMX8QXP/iMX8DX validation board supportYe Li
Add the validation board support for iMX8QXP/iMX8DX platforms. - iMX8QXP 21x21 DDR3 board - iMX8QXP 21x21 LPDDR4 board - iMX8QXP 17x17 LPDDR4 board - iMX8DX 17x17 DDR3 board Ready functions: SD/eMMC, flexspi, ENET, USB, i2c and NAND Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit ee145c9b598e8acc7066e6d414524f617989e7de) (cherry picked from commit de098fea06a0226e9e4fd8c9300a7626ae261951) (cherry picked from commit a1054f3ef3c1420f165efb215e6a248a8349787f)
2022-04-06MLK-23574-45 imx8qm: Add LPDDR4 and DDR4 validation boards supportYe Li
Porting board codes, configurations and DTS for the LPDDR4 and DDR4 validation boards from imx_v2019.04 Supported modules - Flexspi, eMMC/SD, ENET0, UART, USB, legacy PCI driver, Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit d3caa8f4f73af21cebb02ab766ed34f181641abc) (cherry picked from commit 187f037e2a3048f9c8e7bd1c45ca09f7ad700f41) (cherry picked from commit 3a495778fb35e23f8bf6a330b998202527071fd6)
2022-04-06MLK-20154-1 mtd: spi: Add flash id for GD25LQ16Ye Li
iMX8MM DDR3L validation board uses GD25LQ16, but its id is not in u-boot flash ids table. Add the new id and parameters into the table. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 04b813d4687028ce65c9772029d5da5500ec2e1c) (cherry picked from commit 2257fe832100960b1cac96b92ecdd21d581bf33b) (cherry picked from commit a7fb4e58f056e4861c3d7e5394e72e03ca8aaeff) (cherry picked from commit 4d9ddd3739c8d4a28b079b5c71a4b30ddbdf74a4) (cherry picked from commit 7feda79e387d2900b75838ee792ece5f91cca512)
2022-04-06MLK-23875 imx8qm_mek: Add the reset pins control for video cardsYe Li
The reset pins for LVDS to HDMI video card and MIPI to HDMI card are not added in current codes, but kernel requires u-boot to reset cards to resolve the shared reset pin in dual display case. So add the reset pins control back. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 0d21ea335db19005dac0bb4900724ebdd96d2cd7) (cherry picked from commit 65fa58eba5eba05f1e9b0eb335ce8a1dc6952ad9) (cherry picked from commit d2f8a66cae25869373a3085d38c3a34d12b4960a)
2022-04-06MLK-23881: imx_env: add nandfit_part env for i.MX8dxlHan Xu
add the nandfit_part environment for iMX8dxl, so uuu will burn the flash.bin to nandfit partition. Signed-off-by: Han Xu <han.xu@nxp.com> (cherry picked from commit eac4feff334601a43c11af7c72c0dc6af3fe25fc) (cherry picked from commit e38de45fb71c803b70d037f50567600fe7419b30) (cherry picked from commit e76dd6fae6ab0d466c96fa61b4de84bcc11083cb)
2022-04-06MLK-17205-3 video: imx: hdp: Adding configs for HDP firmware loadingOliver Brown
Added default environment for hdp loading. Added hdp loading as default for iMX8QM ARM2 and MEK boards. Signed-off-by: Oliver Brown <oliver.brown@nxp.com> (cherry picked from commit 432e5b4347841095c3b5a8a0d106f35deadd006e) (cherry picked from commit cb78a32fa8eb8c37932be003ebe4fa1f8c46c1d5) (cherry picked from commit 5125e6c393e5dd068ebc9b9cfd724f6602f65c78) (cherry picked from commit 2046e0ef415a2840f56a0c967ca2d4492f2e1b40) (cherry picked from commit f1d6acbb83b0e51c65129c03cbd9e1517d6c214b)
2022-04-06MLK-23574-41 video: Add HDMI Library for iMX8 and iMX8MQYe Li
Port the HDMI lib frrom imx_v2019.04 u-boot, which is used for HDP TX/RX firmware loading and HDMI display Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 011dce38951b1e65b5d55c9ac1cfc77d89fdc0bd) (cherry picked from commit fbdba0b1de23aee75e4eadeb95f6a0d4c7c85a22) (cherry picked from commit c29ec9337aadd086386c8e2105a87fd0de5680ee)
2022-04-06MLK-23574-41 imx: Remove "freescale" from CPU infoYe Li
Since the freescale entity does not exist, remove it from CPU info print. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit cc1b2914913f644332a941a9a45b29ff2aad8c8d) (cherry picked from commit 380e0c6ec16c7ab75c2ee575e432326705561727) (cherry picked from commit a30de739ea9acaee787b92795adad18ba2e22d94)
2022-04-06MLK-23574-40 Revert "usb: dwc3: switch to peripheral mode when exiting"Ye Li
This reverts commit bbe3d4a6c14e17d251029e4dde07f184244e9a4a. If we set to periperal at exiting, will get a windows USB warning since it detect a new connection on device mode. Remove this patch to fix the problem Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 7afd553352835a54fe5b09be2e01177e9016a138) (cherry picked from commit d1f203931b9c27d0dfe7329dc4203a95b4a32416) (cherry picked from commit a2097c7061584680e75ed9f242624f4b100ae927)
2022-04-06MLK-23783-2 DTS: imx8qm/qxp: Set assigned clocks rate to usb3Ye Li
Add assigned clocks rate to USB3 node, so gadget driver can set the clocks before probing the driver. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewe-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit bf02de76bd2b25a4f99d63c4ecc2cf3758095cbe) (cherry picked from commit f4d25e3263834431a454ca5d9ec9cfb4d68ccb99) (cherry picked from commit 2fb3269cbded15c249d0539e16be1bffbecf861c) (cherry picked from commit cec2f9fb4170fe3f36ddf4024b22f44fe86d1b35)
2022-04-06MLK-23783-1 imx8: clock: Set rate for USB3 clocksYe Li
Current codes depend on default clock setting on SCFW, but on QXP c0, the USB3 BUS clock requires a lower clock at 250Mhz. Found USB TRB error on 8DX (QXP c0), if we use default 500Mhz bus clock. Per SCFW suggestion, SW should be responsible for setting up these clocks not depending on SCFW. So adding the clock set rate for all USB3 clocks Signed-off-by: Ye Li <ye.li@nxp.com> Reviewe-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 601da3c130fc6b0a864645009cf50c2d4a884d39) (cherry picked from commit 04cf5746dc0dd8c31902c783c93d2031caf17a6f) (cherry picked from commit 7833612484ea0b7149e2b2b552faf123b1d6c307) (cherry picked from commit 15a4657fbe70d29340801bc8e45dc355878f7eb3)
2022-04-06MLK-23718-2 imx8: ahab: fix 'end address' parameter of rm_find_memregSeb Fagard
parameter 'end address' must be inclusive of address range. And include cpu_func.h header file Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit d17ae0d28de88bb637f6c1df5ba5c6d4f0779055) (cherry picked from commit 489e2f897242beaa4b8a05d95efe55fdb16e4376) (cherry picked from commit b0cabd635f4bb3580db7d3c41c997990d0dc6d4f) (cherry picked from commit 0c868006730f5ebcd67552ede3191dd235b6dcf9)
2022-04-06MLK-23691-5: update nandbcb to support imx8dxl ddr3 nand bootHan Xu
add the new imx8dxl into nandbcb support list. Signed-off-by: Han Xu <han.xu@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 3f791ca3cfb6e1e24e2c96223935f242d84c7818) (cherry picked from commit 9eed33e69f35e21d34a2906434b10682a6c9a1e8) (cherry picked from commit e9d4459aee1433cc271b48c3ab7adb9de773b45a) (cherry picked from commit e5fa047a3e95c0f633f7e654a3f3a3c3887918a8)
2022-04-06MLK-23691-4: imx8dxl: add nand pad settings and init code in imx8dxl board fileHan Xu
add nand pad settings and init code in imx8dxl board file. Signed-off-by: Han Xu <han.xu@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit fdb39fffc55c2ff02fe00a94b3f0208fae75d6df) (cherry picked from commit 77e9ccc005374dcef68f8702e33d29b13d773aaa) (cherry picked from commit b5431b3820ab56f89107e2a0f18be91dbdd76875) (cherry picked from commit 95dde64afac12ad352ec335986df0d02514dc1e5)
2022-04-06MLK-23691-3: imx8dxl: add nand related env settings for imx8dxlHan Xu
add the nand related env settings for imx8dxl ddr3 evk Signed-off-by: Han Xu <han.xu@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 871df306ff98a93c70d7babe515acd8b680cf99b) (cherry picked from commit 8a594b4c1a3f929e765d7d9c24b57853cbf79e37) (cherry picked from commit 01c3429e2368c8e85b4fda24273dfdbc902bac87) (cherry picked from commit bb600a79bc11a79e42020846e2fa8c779b5c1ab5)
2022-04-06MLK-23691-2: dts: add NAND node and iomux configs for nand on imx8dxl ddr3 evkHan Xu
add nand node and iomux configs for imx8dxl nand support in dts Signed-off-by: Han Xu <han.xu@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 58f2e4885b3e73e7fd071796a3d52ff900e1df9a) (cherry picked from commit fb678a5a1b190569466c20ce7ea6a597b750db40) (cherry picked from commit a04d8586ea5bdd033d4b4667c70922e6b54ae6c3) (cherry picked from commit 3cd90a41a9cff41bd6c0f2abd3ab4a5a1a270045)
2022-04-06MLK-23691-1: configs: add nand config for imx8dxl ddr3 evkHan Xu
add new nand config for imx8dxl nand boot Signed-off-by: Han Xu <han.xu@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit b71acb264d115300ad04f797e4758a2d2adc3f3f) (cherry picked from commit ac516760620fdcedf4ff8b7d68a9e699230e80dd) (cherry picked from commit d685378c86b67b2ee85db156fb7f33b6b456635c) (cherry picked from commit 9b4e9e2335f6ce44fd6392ed55c8b2f62f08545a)
2022-04-06MLK-23675 configs: imx8: change CONFIG_IMX_VSERVICE_SHARED_BUFFER to 0x90400000Peng Fan
Change the buffer to use the real buffer, not vring space. Because we are going to let M4 publish the resource table into vring space for kernel usage. uboot will overwrite it, so use the real shared buffer space 0x90400000 Script: sed -i "s/CONFIG_IMX_VSERVICE_SHARED_BUFFER=0x90000000/CONFIG_IMX_VSERVICE_SHARED_BUFFER=0x90400000/" configs/* Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit a996d907282746a4feca5a5c03f7e5326d9c1bda) (cherry picked from commit e6c873c5c61893aa6c9151921489d6dab5401907) (cherry picked from commit 1aa38118403015d8a8e6cfa6d319aad6cc0fe88a) (cherry picked from commit 9556c9ce9ba8cd0d9c1b0524f7ca66f3c1fcfaf8)
2022-04-06MLK-23662-1 ddr: imx8m: add print for DRAM rateYe Li
Enable print to show the DRAM rate of current setting and training result. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 8fa319ae929c37f119fbfadfbb2881cba337b249) (cherry picked from commit 02b8665be3c1b278d71d6ceba2b58032d53fab6c) (cherry picked from commit 2e2691065e9d0eee7c35f9cc8bda734473f4d1e0) (cherry picked from commit ed2a7d3a51acdf10259e71b81c45c49094265554)
2022-04-06MLK-23753 imx8: Implement bus active check on OTG portYe Li
Using this way to check if OTG bus active, not depending on checking OTG register. Because checking OTG register only working for first cold boot from ROM. While doing partition reboot, SCFW will turn off the entire conn SS, so that way won't work. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit ae746dcdb19914b5aa10ca8e8e9e9d5de854cdeb) (cherry picked from commit a31720a8614e929ff4aff6ed12a4b065502437c8) (cherry picked from commit 58ddba14a280c3096ec9968b6705dc92b20b2a69) (cherry picked from commit 22d8c34279e0e502223450feb7d9bbfd22b2f51b)
2022-04-06MLK-23656 imx8: Power off connectivty SS when boot from usbYe Li
When boot from usb, scfw won't re-initialize the connectivity subsystem. This special behavior is for uuu virtual console feature. However, it causes entire connectivity SS using settings from ROM. We found the bus clocks are from AVPLL not DPLL and lower than ADD required. It causes OTG performance drop about 20% during fastboot because more NYET handshake added into each transfer. To workaround the issue, we need to power off all usb resources to let connectivity SS power down at early uboot phase. Then power on any resource in conn SS will re-initialize the subsystem. Regard to auto USB port check, we only has this workaround in u-boot not in SPL. SPL uses SDP to download other images, the sizes are very small and not impacted. Signed-off-by: Ye Li <ye.li@nxp.com> Tested-by: Peter Chen <peter.chen@nxp.com> Acked-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 625b061107928377f51859ee9c0558dc7d56c137) (cherry picked from commit b5d057e8fdf7ca91fe41204132cd3bff4f57d57a) (cherry picked from commit 7305eab358da446155024abfa01d5fdb21690d86) (cherry picked from commit 3986c3a6ad2a6f4859f8997a0e75a11552d13602)
2022-04-06MLK-23646 i.MX8DXL support DDR3 EVK boardsFrank Li
USB0 and USB1 work. fastboot work eqos Network work Only 512MB in DDR3 evk boards. Signed-off-by: Frank Li <Frank.Li@nxp.com> (cherry picked from commit 824d85bb9862264317c43ab10af80e3d946111ee) (cherry picked from commit f96bc402d96974c0d700883820c3e8b233876d44) (cherry picked from commit f0e9a9bf49229672659e0b36cc16439bd3af89db) (cherry picked from commit 2b2ebf4a19ab4f9f47f64860c23b2820d8243133)
2022-04-06MLK-23588: configs: change nand boot partition from mtd index to partition nameHan Xu
The previous NAND boot looking the rootfs by the mtd index, which is easy get impacted by other mtd devices, such as SPI NOR. Changed it to the unique nand rootfs partition name can avoid this issue. Signed-off-by: Han Xu <han.xu@nxp.com> (cherry picked from commit a69e5febae6c1f98b2f2304501ca8fed085299b8) (cherry picked from commit e2ed53bd9add7effac9fe620db4a79d7aee39205) (cherry picked from commit 5801d481046708dc0efb6f663f9d5ce640726803) (cherry picked from commit 4c60ad2f39f59affece8ccce1ab5ec399364ca1b)
2022-04-06MLK-23583 doc: imx: habv4: Consolidate mx8m documentationVanessa Maegima
Old documentation styling mentioned all iMX8M devices variants (iMX8M, iMX8MM, iMX8MN) for every SoC reference. As the secure/encrypted boot procedure is similar for all the variants (including iMX8MP), make this information common for the whole iMX8M family to keep the documentation clean instead of adding iMX8MP on every reference. Specific information for single variants is described when needed. Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 24c72869a608ffbcce908770953a6d87514f2253) (cherry picked from commit bd591f59e2b8d25484873d03b61c464ca54e14cc) (cherry picked from commit fa0e15a9ce74cff3b0da0dff4a2dc4250e4ed9fb) (cherry picked from commit 541f18da8ce1d400f0e58bb40f7fe9065ad6b306)
2022-04-06TEE-465: arm: imx8: enable fdt overlay supportSilvano di Ninno
Enable FDT overlay for all the i.MX 8 series. Instead of modifying the FDT like done currently, allow u-boot to apply an overlay instead. Fallback to previous imlementation if overlay fails. Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 13463bf47b27771976f8b824a20224f599a0518a) (cherry picked from commit 18ae293f8ce2d26bc9c187f97653e26ed00d1a15) (cherry picked from commit f8ae54c824553562cb004a701ce84a41a6b0b5a5) (cherry picked from commit d9b503a7c2619a0bb181c1abf2e7644ccaa79a78)
2022-04-06MLK-23382 imx8dxl: Add defconfig for flexspi bootYe Li
Add defconfig to support flexspi boot for both SPL and u-boot Signed-off-by: Ye Li <ye.li@nxp.com> Tested-by: Han Xu <han.xu@nxp.com> Acked-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit dea8a1e5e104310a07d670c86aa416d7292c1564) (cherry picked from commit 9154787d3459bf04cc6b51ea10ae5d6710e65872) (cherry picked from commit 8c0aab72b34f9953028cfc33319be021754fee73) (cherry picked from commit 964509eb0a55b6af24264b682736202eafa1ef64)
2022-04-06MLK-23361 usb: cdns3: gadget: reset endpoint before set DEVDSYe Li
On CDNS3 usb, the IOC interrupt for IN is triggered when data move from memory to FIFO, but not for the transfer completion. When running fastboot command "continue" to disconnect USB device. The last message "OKAY" sent from device setups a callback to IOC interrupt handler and disconnect with host in this callback. However, the real transfer hasn't finished due to host doesn't send IN at that time, it causes the error at host side. This patch will reset all enabled endpoints in pull up before disable the device mode. The reset checks the EP_STS.BUFFEREMPTY bit to ensure data has sent to host. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com> Reviewed-by: Peter Chen <peter.chen@nxp.com> (cherry picked from commit 9be87bc89c1e75755b524703dc536c93bd3fbe5c) (cherry picked from commit 076f49edefab2ef832b09ada855f968d44c15928) (cherry picked from commit 3aff0ad1bb43e46002bf3f7d270c1213ab29b680) (cherry picked from commit bd0a12aa7c7ad6731dca17a0fb2d4bc217a7dda0)
2022-04-06MLK-23311-2: 8DXL enable second usb controllerFrank Li
USB OH clock is default enabled by SCFW because it shared between two USB controller. Signed-off-by: Frank Li <Frank.Li@nxp.com> (cherry picked from commit 7a8ec829d4410c51550ad7a589645595042ba541) (cherry picked from commit c0041c43f554a778c27d7574b3d58fb76ace6d48) (cherry picked from commit a4fdd6210a081fd391ae574efe94cacef6c1ddcd) (cherry picked from commit ea3731bf3d99bbcaa95c25775d7dfb651a8a8cb6)
2022-04-06MLK-23280: Add i.MX8DXL EVK Board supportTeo Hall
Add device trees, configs and board files for the i.MX8DXL EVK board. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Teo Hall <teo.hall@nxp.com> (cherry picked from commit f0238679d332f1af2148d467804a93de8f868bd5) (cherry picked from commit 2ce08b29516a582b295f22565695e57da75e551f) (cherry picked from commit ce01e31261249df29d2bec49324c9231709fdc49) (cherry picked from commit 6f7e5b0657a651c2c656316eebc538bcfabeb818)
2022-04-06MLK-23279-4 net: eqos: Add support for i.MX8DXL SoCTeo Hall
Update dwc qos driver for i.MX8DXL Signed-off-by: Fugang Duan <fugang.duan@nxp.com> (cherry picked from commit d1e718565972495c99345ee8119651ffa14a3238) (cherry picked from commit 90e308053a02cb6804ebfc06ada20733f000ecc3) (cherry picked from commit 9a5b2a976c619fe64ff2e77e9a376e6c0ce7a2f2) (cherry picked from commit 3ec06de49d9c91613fe84543a12bc534dcb3ff3e)
2022-04-06MLK-23279-3 imx: Add support for i.MX8DXL SoCTeo Hall
Add soc id in cpu codes and conditionals. Also add support for v2x container on 8DXL. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Teo Hall <teo.hall@nxp.com> (cherry picked from commit 35691a6b85c3240b0e3b9f9a8da9fc6328bf92d8) (cherry picked from commit f1f546d03dec535774f0583ae95b02875dfcf72c) (cherry picked from commit 09800a15fd8573ace396346f0f615300785b686e) (cherry picked from commit e8439682e7c9feb53fd16dea0dc2ab9f03d2b6d3)
2022-04-06MLK-23279-2 imx: Add support for i.MX8DXL SoCTeo Hall
Add clocks required for new i.MX8DXL SoC. Since most of clocks are same as iMX8QXP, share the same driver but with iMX8DXL new clocks added. Signed-off-by: Fugang Duan <B38611@freescale.com> Signed-off-by: Teo Hall <teo.hall@nxp.com> (cherry picked from commit f9c23b2df504c5db5f8f4567ee4c92f2439308fc) Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit dc7b8a6b97258e7a46a014e5b866cac55ad617f7) (cherry picked from commit f4ce88dfe557dc87f3a107b32b9b6126f58160f7) (cherry picked from commit eddd8eb01a307fa840a5a7a22bf6bd4e52330450)
2022-04-06MLK-23279-1 imx: Add support for i.MX8DXL SoCTeo Hall
Add pads for i.MX8DXL SoC Signed-off-by: Teo Hall <teo.hall@nxp.com> (cherry picked from commit eccdb0d167e10dc8f179c00cbb1ebee72d93225b) (cherry picked from commit e6953f3167af25961c7f02adcba8f0ace335567d) (cherry picked from commit 5e81803ff75c14f4471b6df00e305c58883ee842) (cherry picked from commit a60bb798d9afbad27557c6f3e23a2ec883e408ff)
2022-04-06LF-3483-13 imx8: Update SCFW API to version 1.16Ye Li
Upgrade SCFW API to 1.16 to align with commit 8f2a1e1(SSI-87: imx8: Configure SNVS) in imx_v2020.04 u-boot. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 96f68c478549990c2c79e9afc3bf691e1fa90438) (cherry picked from commit acb7c1c6527d542109d16ad81d2ecc97f191c4f7)
2022-04-06MLK-23317 configs: imx8mp: Add a defconfig for inline ecc feature testSherry Sun
Since inline ECC feature is disabled in default imx8mp_evk_defconfig, in order to test the new feature, add a new config file based on imx8mp_evk_defconfig with inline ECC enabled. Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 8dff0e01bd5411caa757fe4c296fccbb7e1bdd2b) (cherry picked from commit 2a8d4cfb0e70d5745b73666ecc9377e692390421) (cherry picked from commit 565b48f79b9351f1f1461243029a39f5c4244c9d) (cherry picked from commit 1a12fa037358ceee9d49abf33120bad863f52694)
2022-04-06MLK-23307-2 imx8mp: Add three reserved-memory dts nodes if inline ECC is enabledSherry Sun
If inline ECC is enabled on imx8mp, then the ECC region should be reserved. Since the limit of the ddr address map when use inline ecc and 6G memory, ECC region have to be divided into three parts. So these three parts ECC region should be set as reserved-memory with no-map. Signed-off-by: Sherry Sun <sherry.sun@nxp.com> (cherry picked from commit 0ea77fc9364e46e897cfa554d93895595aaf2a20) (cherry picked from commit db36f389921293abbd2824e95867650ae290bad5) (cherry picked from commit 95c9950c65251dc2748519660598920c3048a24c) (cherry picked from commit a6fe82733f9c4c7b8b3f5ca552e4e9ccd7db1555)
2022-04-06TEE-502 imx: refactor optee bindings additionSilvano di Ninno
- Remove code duplication betwee imx8 and imx8m support - add reserved memory node to prevent Linux accessing optee reserved memory Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 8beac7ef22c16b72ad337b44a0516436a4a0d00c) (cherry picked from commit 07be6f855bdcbca200e4685ea557b2529187e29f) (cherry picked from commit 1bfbbac316e3d7ac051f81264b66425a86d95c4d) (cherry picked from commit 6a27dd9792900a6512b05eca85d22aab120c74a6)
2022-04-06MLK-23574-40 imx8: Rename boot_pointer to share optee codesYe Li
To share some common optee codes for iMX8 and iMX8M, we need same name for parameters passed from ATF. Currently iMX8 uses boot_pointer but iMX8M use rom_pointer. So rename boot_pointer to rom_pointer. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 47a04423cb09d84ba7558ba9570515901f124c0f) (cherry picked from commit 7d1fe0e66e9537c05a2abff6f16c555ddff63bad) (cherry picked from commit d49149dba994f75675c674770d0c0f54e3f56bbf)
2022-04-06SSI-87: imx8: Configure SNVSFranck LENORMAND
Add a module to configure the tamper and secure violation of the SNVS using the SCU API. The module also adds some commands: - snvs_cfg: Configure the SNVS HP and LP registers - snvs_dgo_cfg: Configure the SNVS DGO bloc if present (8QXP) - tamper_pin_cfg: Change the configuration of the tamper pins - snvs_clear_status: Allow to write to LPSR and LPTDSR to clear status bits Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com> Reviewed-by: Silvano Di Ninno <silvano.dininno@nxp.com> (cherry picked from commit b84be4fa1454ee0cd718be329d630b55aff34273) (cherry picked from commit 24b0be839ea2166ee80194b93d8efcca70b81539) (cherry picked from commit 74c0afb1f9e822f10b138c978be87757dfa19317) (cherry picked from commit a689af8cb4b09ca14daa7b0c181c2611f72fff1b)
2022-04-06MLK-23180 doc: ahab: Update SECO event example descriptionBreno Lima
Update SECO event example description to clarify the error reported. Signed-off-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 1018252a576697e8f80ab78a1dcb15f1866e1fb8) (cherry picked from commit b1fa9bc8bce6103e1238ccb8b8e87d4686666cbb) (cherry picked from commit 99b17b7fbd443dfbd616319988dcd90ec617ba45) (cherry picked from commit dce7f4278a30673fc0abd7d2aa1c42c808010c7d)
2022-04-06MLK-23241 imx8dx_mek: Add iMX8DX MEK board supportYe Li
iMX8DX MEK board has similar design with 8QXP MEK. The major changes are 1. DDR changed to 16bits 1GB DDR part 2. USB3.0 is removed and only support OTG on typec port. (No SW change needed) This patch adds new defconfigs and DTS file for this new board. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 8185fa9fa8e48d64d4abf8066bf080f02343d484) (cherry picked from commit c239a08e35459f0372d1f4b4a8366525bfdef6db) (cherry picked from commit 3d7c327d865eaa2f3a0aa313ecc34bf2ba4b1b60) (cherry picked from commit 0b582840a005f9fe9e29aa7a7620d8f5fff37261)
2022-04-06LFU-193-5 DTS: imx8mp: Add the CMA reserved memoryYe Li
Add the CMA reserved memory node. For distro kernel which has enabled CMA, it can use this reserved memory Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 66b5e4c0c2a4cbd68b4b04e092bb93dbc01275f6) (cherry picked from commit 595e03376003c00e8d8b6ecacdfeb0417a6ef25d)
2022-04-06MLK-23574-39 imx8mp_evk: Update iMX8MP EVK board codesYe Li
Change to enable USB/tcpc, TMU, flexspi on iMX8MP EVK board. And convert SPL to use DM I2C and PMIC driver Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit d127f19a441fed40cc708c0f33a1446436d0d10b) (cherry picked from commit 3a053a1bd6bc03eaffe82648a318b065d70d1bd0) (cherry picked from commit a09d57f107b860ee18f61eaa9368691c87c0a753)
2022-04-06MLK-23574-37 DTS: imx8mp: Update iMX8MP EVK DTS and binding filesYe Li
Update DTS files to support FEC, eQoS, DWC3 USB and flexspi 1. Update nodes and assigned clocks for flexspi, FEC, eQos 2. Add nodes for DWC3 USB 3. Add i2c force idle 4. Add thermal nodes Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 9250c2e5aee34c69849d560fc8e1e6f5f9ee5585) (cherry picked from commit 515b0f400cb683cb50dc1868548d5b738a5f7001) (cherry picked from commit 1fd356f288de9e77089339015eea87c9dcbd4643)