]> Git Repo - u-boot.git/commit
ddr: imx: Add i.MX9 DDR controller driver
authorYe Li <[email protected]>
Tue, 26 Jul 2022 08:41:07 +0000 (16:41 +0800)
committerStefano Babic <[email protected]>
Tue, 26 Jul 2022 09:29:01 +0000 (11:29 +0200)
commit99c7cc58e12d59a7562c637b7c1510cfdf33e4f9
tree6f37204d0e08437af51e400e862d87fc53ccc1ae
parente631185a20ab730603d7bb04378e98a83d337735
ddr: imx: Add i.MX9 DDR controller driver

Since i.MX9 uses same DDR PHY with i.MX8M, split the DDRPHY to a common
directory under imx, then use dedicated ddr controller driver for each
iMX9 and iMX8M.

The DDRPHY registers are space compressed, so it needs conversion to
access the DDRPHY address. Introduce a common PHY address remap function
for both iMX8M and iMX9 for all PHY registers accessing.

Signed-off-by: Ye Li <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
19 files changed:
arch/arm/include/asm/arch-imx8m/ddr.h
arch/arm/include/asm/arch-imx9/ddr.h [new file with mode: 0644]
drivers/Makefile
drivers/ddr/imx/Kconfig
drivers/ddr/imx/imx8m/Kconfig
drivers/ddr/imx/imx8m/Makefile
drivers/ddr/imx/imx8m/ddr_init.c
drivers/ddr/imx/imx8m/ddrphy_csr.c [deleted file]
drivers/ddr/imx/imx8m/ddrphy_train.c [deleted file]
drivers/ddr/imx/imx8m/helper.c [deleted file]
drivers/ddr/imx/imx9/Kconfig [new file with mode: 0644]
drivers/ddr/imx/imx9/Makefile [new file with mode: 0644]
drivers/ddr/imx/imx9/ddr_init.c [new file with mode: 0644]
drivers/ddr/imx/phy/Kconfig [new file with mode: 0644]
drivers/ddr/imx/phy/Makefile [new file with mode: 0644]
drivers/ddr/imx/phy/ddrphy_csr.c [new file with mode: 0644]
drivers/ddr/imx/phy/ddrphy_train.c [new file with mode: 0644]
drivers/ddr/imx/phy/ddrphy_utils.c [new file with mode: 0644]
drivers/ddr/imx/phy/helper.c [new file with mode: 0644]
This page took 0.034486 seconds and 4 git commands to generate.