xref: /openbmc/linux/drivers/memory/tegra/Kconfig (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
289184651SThierry Redingconfig TEGRA_MC
389184651SThierry Reding	bool "NVIDIA Tegra Memory Controller support"
489184651SThierry Reding	default y
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"
1596e5da7cSDmitry Osipenko	default y
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
2096e5da7cSDmitry Osipenko	help
2196e5da7cSDmitry Osipenko	  This driver is for the External Memory Controller (EMC) found on
2296e5da7cSDmitry Osipenko	  Tegra20 chips. The EMC controls the external DRAM on the board.
2396e5da7cSDmitry Osipenko	  This driver is required to change memory timings / clock rate for
2496e5da7cSDmitry Osipenko	  external memory.
2596e5da7cSDmitry Osipenko
26e34212c7SDmitry Osipenkoconfig TEGRA30_EMC
270c56eda8SDmitry Osipenko	tristate "NVIDIA Tegra30 External Memory Controller driver"
28e34212c7SDmitry Osipenko	default y
2956ebc9b0SDmitry Osipenko	depends on ARCH_TEGRA_3x_SOC || COMPILE_TEST
30d76fa3f2SDmitry Osipenko	select PM_OPP
31*e3aabb3cSDmitry Osipenko	select DDR
32e34212c7SDmitry Osipenko	help
33e34212c7SDmitry Osipenko	  This driver is for the External Memory Controller (EMC) found on
34e34212c7SDmitry Osipenko	  Tegra30 chips. The EMC controls the external DRAM on the board.
35e34212c7SDmitry Osipenko	  This driver is required to change memory timings / clock rate for
36e34212c7SDmitry Osipenko	  external memory.
37e34212c7SDmitry Osipenko
3873a7f0a9SMikko Perttunenconfig TEGRA124_EMC
39281462e5SDmitry Osipenko	tristate "NVIDIA Tegra124 External Memory Controller driver"
4073a7f0a9SMikko Perttunen	default y
4156ebc9b0SDmitry Osipenko	depends on ARCH_TEGRA_124_SOC || COMPILE_TEST
4256ebc9b0SDmitry Osipenko	select TEGRA124_CLK_EMC if ARCH_TEGRA
43380def2dSDmitry Osipenko	select PM_OPP
4473a7f0a9SMikko Perttunen	help
4573a7f0a9SMikko Perttunen	  This driver is for the External Memory Controller (EMC) found on
4673a7f0a9SMikko Perttunen	  Tegra124 chips. The EMC controls the external DRAM on the board.
4773a7f0a9SMikko Perttunen	  This driver is required to change memory timings / clock rate for
4873a7f0a9SMikko Perttunen	  external memory.
4910de2114SJoseph Lo
5010de2114SJoseph Loconfig TEGRA210_EMC_TABLE
5110de2114SJoseph Lo	bool
5256ebc9b0SDmitry Osipenko	depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
5310de2114SJoseph Lo
5410de2114SJoseph Loconfig TEGRA210_EMC
5510de2114SJoseph Lo	tristate "NVIDIA Tegra210 External Memory Controller driver"
5656ebc9b0SDmitry Osipenko	depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
5710de2114SJoseph Lo	select TEGRA210_EMC_TABLE
5810de2114SJoseph Lo	help
5910de2114SJoseph Lo	  This driver is for the External Memory Controller (EMC) found on
6010de2114SJoseph Lo	  Tegra210 chips. The EMC controls the external DRAM on the board.
6110de2114SJoseph Lo	  This driver is required to change memory timings / clock rate for
6210de2114SJoseph Lo	  external memory.
6356ebc9b0SDmitry Osipenko
6456ebc9b0SDmitry Osipenkoendif
65