]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: k3-ddrss: Introduce common driver with J7 SoC support
authorDave Gerlach <d-gerlach@ti.com>
Tue, 11 May 2021 15:22:11 +0000 (10:22 -0500)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 12 May 2021 11:00:52 +0000 (16:30 +0530)
commita8c13c777e88db7af019fa00aaaa030a1ee3b8d9
tree57cfde0513cf4302e28cfa8850bb92b297413763
parentdb2438131d75ea0198487296b6c694bded080d11
ram: k3-ddrss: Introduce common driver with J7 SoC support

Introduce a new version of the ddr driver which has the ability to
support different variations of the controller. Also introduce support
for the 32bit variation of the controller which is what was already
supported by the previous version used for J721e and J7200.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
27 files changed:
drivers/ram/k3-ddrss/32bit/lpddr4_32bit_if.h [new file with mode: 0644]
drivers/ram/k3-ddrss/32bit/lpddr4_32bit_obj_if.h [new file with mode: 0644]
drivers/ram/k3-ddrss/32bit/lpddr4_32bit_structs_if.h [new file with mode: 0644]
drivers/ram/k3-ddrss/32bit/lpddr4_address_slice_0_macros.h [moved from drivers/ram/k3-ddrss/lpddr4_address_slice_0_macros.h with 99% similarity]
drivers/ram/k3-ddrss/32bit/lpddr4_ctl_regs.h [moved from drivers/ram/k3-ddrss/lpddr4_ctl_regs.h with 99% similarity]
drivers/ram/k3-ddrss/32bit/lpddr4_ctl_regs_rw_masks.h [new file with mode: 0644]
drivers/ram/k3-ddrss/32bit/lpddr4_data_slice_0_macros.h [moved from drivers/ram/k3-ddrss/lpddr4_data_slice_0_macros.h with 99% similarity]
drivers/ram/k3-ddrss/32bit/lpddr4_data_slice_1_macros.h [moved from drivers/ram/k3-ddrss/lpddr4_data_slice_1_macros.h with 99% similarity]
drivers/ram/k3-ddrss/32bit/lpddr4_data_slice_2_macros.h [moved from drivers/ram/k3-ddrss/lpddr4_data_slice_2_macros.h with 99% similarity]
drivers/ram/k3-ddrss/32bit/lpddr4_data_slice_3_macros.h [moved from drivers/ram/k3-ddrss/lpddr4_data_slice_3_macros.h with 99% similarity]
drivers/ram/k3-ddrss/32bit/lpddr4_ddr_controller_macros.h [moved from drivers/ram/k3-ddrss/lpddr4_ddr_controller_macros.h with 99% similarity]
drivers/ram/k3-ddrss/32bit/lpddr4_phy_core_macros.h [moved from drivers/ram/k3-ddrss/lpddr4_phy_core_macros.h with 99% similarity]
drivers/ram/k3-ddrss/32bit/lpddr4_pi_macros.h [moved from drivers/ram/k3-ddrss/lpddr4_pi_macros.h with 99% similarity]
drivers/ram/k3-ddrss/Makefile
drivers/ram/k3-ddrss/cps_drv_lpddr4.h
drivers/ram/k3-ddrss/k3-ddrss.c [moved from drivers/ram/k3-ddrss/k3-j721e-ddrss.c with 54% similarity]
drivers/ram/k3-ddrss/lpddr4.c
drivers/ram/k3-ddrss/lpddr4.h [new file with mode: 0644]
drivers/ram/k3-ddrss/lpddr4_32bit.c [new file with mode: 0644]
drivers/ram/k3-ddrss/lpddr4_32bit.h [new file with mode: 0644]
drivers/ram/k3-ddrss/lpddr4_32bit_ctl_regs_rw_masks.c [new file with mode: 0644]
drivers/ram/k3-ddrss/lpddr4_32bit_sanity.h [new file with mode: 0644]
drivers/ram/k3-ddrss/lpddr4_if.h
drivers/ram/k3-ddrss/lpddr4_obj_if.c
drivers/ram/k3-ddrss/lpddr4_obj_if.h
drivers/ram/k3-ddrss/lpddr4_sanity.h
drivers/ram/k3-ddrss/lpddr4_structs_if.h