ram: k3-ddrss: Introduce support for AM642 SoCs
authorDave Gerlach <d-gerlach@ti.com>
Tue, 11 May 2021 15:22:12 +0000 (10:22 -0500)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 12 May 2021 11:00:52 +0000 (16:30 +0530)
commit9f9b5c1c16ddbb0a3a42e0424887d9cad34d89f4
tree0adf7449688dd8f934a4ecd6e8f5f7da890852ae
parenta8c13c777e88db7af019fa00aaaa030a1ee3b8d9
ram: k3-ddrss: Introduce support for AM642 SoCs

Introduce support for the AM64 DDRSS controller which uses the 16bit
variation of the controller. This controller shares much functionality
with the existing J721e support, so this patch introduces only the new
code needed for am64 specific support from "_16bit_" files with headers
under "16bit/" include path/.

Also add a CONFIG_K3_AM64_DDRSS option to the choice required for use
with CONFIG_K3_DDRSS to allow selecting AM64 support.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
20 files changed:
drivers/ram/Kconfig
drivers/ram/k3-ddrss/16bit/lpddr4_16bit_if.h [new file with mode: 0644]
drivers/ram/k3-ddrss/16bit/lpddr4_16bit_obj_if.h [new file with mode: 0644]
drivers/ram/k3-ddrss/16bit/lpddr4_16bit_structs_if.h [new file with mode: 0644]
drivers/ram/k3-ddrss/16bit/lpddr4_address_slice_0_macros.h [new file with mode: 0644]
drivers/ram/k3-ddrss/16bit/lpddr4_address_slice_1_macros.h [new file with mode: 0644]
drivers/ram/k3-ddrss/16bit/lpddr4_address_slice_2_macros.h [new file with mode: 0644]
drivers/ram/k3-ddrss/16bit/lpddr4_ctl_regs.h [new file with mode: 0644]
drivers/ram/k3-ddrss/16bit/lpddr4_ctl_regs_rw_masks.h [new file with mode: 0644]
drivers/ram/k3-ddrss/16bit/lpddr4_data_slice_0_macros.h [new file with mode: 0644]
drivers/ram/k3-ddrss/16bit/lpddr4_data_slice_1_macros.h [new file with mode: 0644]
drivers/ram/k3-ddrss/16bit/lpddr4_ddr_controller_macros.h [new file with mode: 0644]
drivers/ram/k3-ddrss/16bit/lpddr4_phy_core_macros.h [new file with mode: 0644]
drivers/ram/k3-ddrss/16bit/lpddr4_pi_macros.h [new file with mode: 0644]
drivers/ram/k3-ddrss/Makefile
drivers/ram/k3-ddrss/k3-ddrss.c
drivers/ram/k3-ddrss/lpddr4_16bit.c [new file with mode: 0644]
drivers/ram/k3-ddrss/lpddr4_16bit.h [new file with mode: 0644]
drivers/ram/k3-ddrss/lpddr4_16bit_ctl_regs_rw_masks.c [new file with mode: 0644]
drivers/ram/k3-ddrss/lpddr4_16bit_sanity.h [new file with mode: 0644]