xref: /linux/drivers/memory/tegra/Kconfig (revision b2128290c29902315e632ea59e0504d6bc9e9b42)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
289184651SThierry Redingconfig TEGRA_MC
389184651SThierry Reding	bool "NVIDIA Tegra Memory Controller support"
49a4199aeSKrzysztof Kozlowski	default ARCH_TEGRA
556ebc9b0SDmitry Osipenko	depends on ARCH_TEGRA || (COMPILE_TEST && COMMON_CLK)
606f07981SDmitry Osipenko	select INTERCONNECT
789184651SThierry Reding	help
889184651SThierry Reding	  This driver supports the Memory Controller (MC) hardware found on
989184651SThierry Reding	  NVIDIA Tegra SoCs.
1073a7f0a9SMikko Perttunen
1156ebc9b0SDmitry Osipenkoif TEGRA_MC
1256ebc9b0SDmitry Osipenko
1396e5da7cSDmitry Osipenkoconfig TEGRA20_EMC
140260979bSDmitry Osipenko	tristate "NVIDIA Tegra20 External Memory Controller driver"
159a4199aeSKrzysztof Kozlowski	default ARCH_TEGRA_2x_SOC
1656ebc9b0SDmitry Osipenko	depends on ARCH_TEGRA_2x_SOC || COMPILE_TEST
17dedf62d6SDmitry Osipenko	select DEVFREQ_GOV_SIMPLE_ONDEMAND
18dedf62d6SDmitry Osipenko	select PM_DEVFREQ
19131dd9a4SDmitry Osipenko	select DDR
208879cff7SMikko Perttunen	select TEGRA_EMC_COMMON
2196e5da7cSDmitry Osipenko	help
2296e5da7cSDmitry Osipenko	  This driver is for the External Memory Controller (EMC) found on
2396e5da7cSDmitry Osipenko	  Tegra20 chips. The EMC controls the external DRAM on the board.
2496e5da7cSDmitry Osipenko	  This driver is required to change memory timings / clock rate for
2596e5da7cSDmitry Osipenko	  external memory.
2696e5da7cSDmitry Osipenko
27e34212c7SDmitry Osipenkoconfig TEGRA30_EMC
280c56eda8SDmitry Osipenko	tristate "NVIDIA Tegra30 External Memory Controller driver"
299a4199aeSKrzysztof Kozlowski	default ARCH_TEGRA_3x_SOC
3056ebc9b0SDmitry Osipenko	depends on ARCH_TEGRA_3x_SOC || COMPILE_TEST
31d76fa3f2SDmitry Osipenko	select PM_OPP
32e3aabb3cSDmitry Osipenko	select DDR
338879cff7SMikko Perttunen	select TEGRA_EMC_COMMON
34e34212c7SDmitry Osipenko	help
35e34212c7SDmitry Osipenko	  This driver is for the External Memory Controller (EMC) found on
36e34212c7SDmitry Osipenko	  Tegra30 chips. The EMC controls the external DRAM on the board.
37e34212c7SDmitry Osipenko	  This driver is required to change memory timings / clock rate for
38e34212c7SDmitry Osipenko	  external memory.
39e34212c7SDmitry Osipenko
40*dce208b5SSvyatoslav Ryhelconfig TEGRA114_EMC
41*dce208b5SSvyatoslav Ryhel	tristate "NVIDIA Tegra114 External Memory Controller driver"
42*dce208b5SSvyatoslav Ryhel	default ARCH_TEGRA_114_SOC
43*dce208b5SSvyatoslav Ryhel	depends on ARCH_TEGRA_114_SOC || COMPILE_TEST
44*dce208b5SSvyatoslav Ryhel	select TEGRA124_CLK_EMC if ARCH_TEGRA
45*dce208b5SSvyatoslav Ryhel	select PM_OPP
46*dce208b5SSvyatoslav Ryhel	select TEGRA_EMC_COMMON
47*dce208b5SSvyatoslav Ryhel	help
48*dce208b5SSvyatoslav Ryhel	  This driver is for the External Memory Controller (EMC) found on
49*dce208b5SSvyatoslav Ryhel	  Tegra114 chips. The EMC controls the external DRAM on the board.
50*dce208b5SSvyatoslav Ryhel	  This driver is required to change memory timings / clock rate for
51*dce208b5SSvyatoslav Ryhel	  external memory.
52*dce208b5SSvyatoslav Ryhel
5373a7f0a9SMikko Perttunenconfig TEGRA124_EMC
54281462e5SDmitry Osipenko	tristate "NVIDIA Tegra124 External Memory Controller driver"
559a4199aeSKrzysztof Kozlowski	default ARCH_TEGRA_124_SOC
5656ebc9b0SDmitry Osipenko	depends on ARCH_TEGRA_124_SOC || COMPILE_TEST
5756ebc9b0SDmitry Osipenko	select TEGRA124_CLK_EMC if ARCH_TEGRA
58380def2dSDmitry Osipenko	select PM_OPP
598879cff7SMikko Perttunen	select TEGRA_EMC_COMMON
6073a7f0a9SMikko Perttunen	help
6173a7f0a9SMikko Perttunen	  This driver is for the External Memory Controller (EMC) found on
6273a7f0a9SMikko Perttunen	  Tegra124 chips. The EMC controls the external DRAM on the board.
6373a7f0a9SMikko Perttunen	  This driver is required to change memory timings / clock rate for
6473a7f0a9SMikko Perttunen	  external memory.
6510de2114SJoseph Lo
6610de2114SJoseph Loconfig TEGRA210_EMC_TABLE
6710de2114SJoseph Lo	bool
6856ebc9b0SDmitry Osipenko	depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
6910de2114SJoseph Lo
7010de2114SJoseph Loconfig TEGRA210_EMC
7110de2114SJoseph Lo	tristate "NVIDIA Tegra210 External Memory Controller driver"
7256ebc9b0SDmitry Osipenko	depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
7310de2114SJoseph Lo	select TEGRA210_EMC_TABLE
7410de2114SJoseph Lo	help
7510de2114SJoseph Lo	  This driver is for the External Memory Controller (EMC) found on
7610de2114SJoseph Lo	  Tegra210 chips. The EMC controls the external DRAM on the board.
7710de2114SJoseph Lo	  This driver is required to change memory timings / clock rate for
7810de2114SJoseph Lo	  external memory.
7956ebc9b0SDmitry Osipenko
808879cff7SMikko Perttunenconfig TEGRA_EMC_COMMON
818879cff7SMikko Perttunen	tristate
828879cff7SMikko Perttunen
8356ebc9b0SDmitry Osipenkoendif
84