ram: k3-ddrss: Add support for J721S2 SoC

Add support for DDR subsystem in J721S2 SoC.

Signed-off-by: David Huang <d-huang@ti.com>
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
This commit is contained in:
David Huang 2021-12-14 21:49:34 +05:30 committed by Praneeth Bajjuri
parent e4f1c40e50
commit ff3ac3f5fc
2 changed files with 16 additions and 0 deletions

View File

@ -63,6 +63,7 @@ choice
prompt "K3 DDRSS Arch Support" prompt "K3 DDRSS Arch Support"
default K3_J721E_DDRSS if SOC_K3_J721E default K3_J721E_DDRSS if SOC_K3_J721E
default K3_J721S2_DDRSS if SOC_K3_J721S2
default K3_AM64_DDRSS if SOC_K3_AM642 default K3_AM64_DDRSS if SOC_K3_AM642
config K3_J721E_DDRSS config K3_J721E_DDRSS
@ -75,6 +76,17 @@ config K3_J721E_DDRSS
Enabling this config adds support for the DDR memory controller Enabling this config adds support for the DDR memory controller
on J721E family of SoCs. on J721E family of SoCs.
config K3_J721S2_DDRSS
bool "Enable J721S2 DRSS support"
help
The J721S2 DDR subsystem comprises DDR controller, DDR PHY and
wrapper logic to integrate these blocks in the device. The DDR
subsystem is used to provide an interface to external SDRAM
devices which can be utilized for storing program or data.
Enabling this config adds support for the DDR memory controller
on J721S2 family of SoCs.
config K3_AM64_DDRSS config K3_AM64_DDRSS
bool "Enable AM64 DDRSS support" bool "Enable AM64 DDRSS support"
help help

View File

@ -16,3 +16,7 @@ ccflags-$(CONFIG_K3_AM64_DDRSS) += -Idrivers/ram/k3-ddrss/16bit/
obj-$(CONFIG_K3_J721E_DDRSS) += lpddr4_32bit.o obj-$(CONFIG_K3_J721E_DDRSS) += lpddr4_32bit.o
obj-$(CONFIG_K3_J721E_DDRSS) += lpddr4_32bit_ctl_regs_rw_masks.o obj-$(CONFIG_K3_J721E_DDRSS) += lpddr4_32bit_ctl_regs_rw_masks.o
ccflags-$(CONFIG_K3_J721E_DDRSS) += -Idrivers/ram/k3-ddrss/32bit/ ccflags-$(CONFIG_K3_J721E_DDRSS) += -Idrivers/ram/k3-ddrss/32bit/
obj-$(CONFIG_K3_J721S2_DDRSS) += lpddr4_32bit.o
obj-$(CONFIG_K3_J721S2_DDRSS) += lpddr4_32bit_ctl_regs_rw_masks.o
ccflags-$(CONFIG_K3_J721S2_DDRSS) += -Idrivers/ram/k3-ddrss/32bit/