162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig TEGRA_MC
362306a36Sopenharmony_ci	bool "NVIDIA Tegra Memory Controller support"
462306a36Sopenharmony_ci	default y
562306a36Sopenharmony_ci	depends on ARCH_TEGRA || (COMPILE_TEST && COMMON_CLK)
662306a36Sopenharmony_ci	select INTERCONNECT
762306a36Sopenharmony_ci	help
862306a36Sopenharmony_ci	  This driver supports the Memory Controller (MC) hardware found on
962306a36Sopenharmony_ci	  NVIDIA Tegra SoCs.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciif TEGRA_MC
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciconfig TEGRA20_EMC
1462306a36Sopenharmony_ci	tristate "NVIDIA Tegra20 External Memory Controller driver"
1562306a36Sopenharmony_ci	default y
1662306a36Sopenharmony_ci	depends on ARCH_TEGRA_2x_SOC || COMPILE_TEST
1762306a36Sopenharmony_ci	select DEVFREQ_GOV_SIMPLE_ONDEMAND
1862306a36Sopenharmony_ci	select PM_DEVFREQ
1962306a36Sopenharmony_ci	select DDR
2062306a36Sopenharmony_ci	help
2162306a36Sopenharmony_ci	  This driver is for the External Memory Controller (EMC) found on
2262306a36Sopenharmony_ci	  Tegra20 chips. The EMC controls the external DRAM on the board.
2362306a36Sopenharmony_ci	  This driver is required to change memory timings / clock rate for
2462306a36Sopenharmony_ci	  external memory.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciconfig TEGRA30_EMC
2762306a36Sopenharmony_ci	tristate "NVIDIA Tegra30 External Memory Controller driver"
2862306a36Sopenharmony_ci	default y
2962306a36Sopenharmony_ci	depends on ARCH_TEGRA_3x_SOC || COMPILE_TEST
3062306a36Sopenharmony_ci	select PM_OPP
3162306a36Sopenharmony_ci	select DDR
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	  This driver is for the External Memory Controller (EMC) found on
3462306a36Sopenharmony_ci	  Tegra30 chips. The EMC controls the external DRAM on the board.
3562306a36Sopenharmony_ci	  This driver is required to change memory timings / clock rate for
3662306a36Sopenharmony_ci	  external memory.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciconfig TEGRA124_EMC
3962306a36Sopenharmony_ci	tristate "NVIDIA Tegra124 External Memory Controller driver"
4062306a36Sopenharmony_ci	default y
4162306a36Sopenharmony_ci	depends on ARCH_TEGRA_124_SOC || COMPILE_TEST
4262306a36Sopenharmony_ci	select TEGRA124_CLK_EMC if ARCH_TEGRA
4362306a36Sopenharmony_ci	select PM_OPP
4462306a36Sopenharmony_ci	help
4562306a36Sopenharmony_ci	  This driver is for the External Memory Controller (EMC) found on
4662306a36Sopenharmony_ci	  Tegra124 chips. The EMC controls the external DRAM on the board.
4762306a36Sopenharmony_ci	  This driver is required to change memory timings / clock rate for
4862306a36Sopenharmony_ci	  external memory.
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciconfig TEGRA210_EMC_TABLE
5162306a36Sopenharmony_ci	bool
5262306a36Sopenharmony_ci	depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ciconfig TEGRA210_EMC
5562306a36Sopenharmony_ci	tristate "NVIDIA Tegra210 External Memory Controller driver"
5662306a36Sopenharmony_ci	depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
5762306a36Sopenharmony_ci	select TEGRA210_EMC_TABLE
5862306a36Sopenharmony_ci	help
5962306a36Sopenharmony_ci	  This driver is for the External Memory Controller (EMC) found on
6062306a36Sopenharmony_ci	  Tegra210 chips. The EMC controls the external DRAM on the board.
6162306a36Sopenharmony_ci	  This driver is required to change memory timings / clock rate for
6262306a36Sopenharmony_ci	  external memory.
6362306a36Sopenharmony_ci
6462306a36Sopenharmony_ciendif
65