xref: /linux-6.15/drivers/memory/tegra/Kconfig (revision d76fa3f2)
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
589184651SThierry Reding	depends on ARCH_TEGRA
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
1196e5da7cSDmitry Osipenkoconfig TEGRA20_EMC
120260979bSDmitry Osipenko	tristate "NVIDIA Tegra20 External Memory Controller driver"
1396e5da7cSDmitry Osipenko	default y
14d5ef16baSDmitry Osipenko	depends on TEGRA_MC && ARCH_TEGRA_2x_SOC
15dedf62d6SDmitry Osipenko	select DEVFREQ_GOV_SIMPLE_ONDEMAND
16dedf62d6SDmitry Osipenko	select PM_DEVFREQ
1796e5da7cSDmitry Osipenko	help
1896e5da7cSDmitry Osipenko	  This driver is for the External Memory Controller (EMC) found on
1996e5da7cSDmitry Osipenko	  Tegra20 chips. The EMC controls the external DRAM on the board.
2096e5da7cSDmitry Osipenko	  This driver is required to change memory timings / clock rate for
2196e5da7cSDmitry Osipenko	  external memory.
2296e5da7cSDmitry Osipenko
23e34212c7SDmitry Osipenkoconfig TEGRA30_EMC
240c56eda8SDmitry Osipenko	tristate "NVIDIA Tegra30 External Memory Controller driver"
25e34212c7SDmitry Osipenko	default y
26e34212c7SDmitry Osipenko	depends on TEGRA_MC && ARCH_TEGRA_3x_SOC
27*d76fa3f2SDmitry Osipenko	select PM_OPP
28e34212c7SDmitry Osipenko	help
29e34212c7SDmitry Osipenko	  This driver is for the External Memory Controller (EMC) found on
30e34212c7SDmitry Osipenko	  Tegra30 chips. The EMC controls the external DRAM on the board.
31e34212c7SDmitry Osipenko	  This driver is required to change memory timings / clock rate for
32e34212c7SDmitry Osipenko	  external memory.
33e34212c7SDmitry Osipenko
3473a7f0a9SMikko Perttunenconfig TEGRA124_EMC
3573a7f0a9SMikko Perttunen	bool "NVIDIA Tegra124 External Memory Controller driver"
3673a7f0a9SMikko Perttunen	default y
3773a7f0a9SMikko Perttunen	depends on TEGRA_MC && ARCH_TEGRA_124_SOC
3873a7f0a9SMikko Perttunen	help
3973a7f0a9SMikko Perttunen	  This driver is for the External Memory Controller (EMC) found on
4073a7f0a9SMikko Perttunen	  Tegra124 chips. The EMC controls the external DRAM on the board.
4173a7f0a9SMikko Perttunen	  This driver is required to change memory timings / clock rate for
4273a7f0a9SMikko Perttunen	  external memory.
4310de2114SJoseph Lo
4410de2114SJoseph Loconfig TEGRA210_EMC_TABLE
4510de2114SJoseph Lo	bool
4610de2114SJoseph Lo	depends on ARCH_TEGRA_210_SOC
4710de2114SJoseph Lo
4810de2114SJoseph Loconfig TEGRA210_EMC
4910de2114SJoseph Lo	tristate "NVIDIA Tegra210 External Memory Controller driver"
5010de2114SJoseph Lo	depends on TEGRA_MC && ARCH_TEGRA_210_SOC
5110de2114SJoseph Lo	select TEGRA210_EMC_TABLE
5210de2114SJoseph Lo	help
5310de2114SJoseph Lo	  This driver is for the External Memory Controller (EMC) found on
5410de2114SJoseph Lo	  Tegra210 chips. The EMC controls the external DRAM on the board.
5510de2114SJoseph Lo	  This driver is required to change memory timings / clock rate for
5610de2114SJoseph Lo	  external memory.
57