0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config TEGRA_MC
0003 bool "NVIDIA Tegra Memory Controller support"
0004 default y
0005 depends on ARCH_TEGRA || (COMPILE_TEST && COMMON_CLK)
0006 select INTERCONNECT
0007 help
0008 This driver supports the Memory Controller (MC) hardware found on
0009 NVIDIA Tegra SoCs.
0010
0011 if TEGRA_MC
0012
0013 config TEGRA20_EMC
0014 tristate "NVIDIA Tegra20 External Memory Controller driver"
0015 default y
0016 depends on ARCH_TEGRA_2x_SOC || COMPILE_TEST
0017 select DEVFREQ_GOV_SIMPLE_ONDEMAND
0018 select PM_DEVFREQ
0019 select DDR
0020 help
0021 This driver is for the External Memory Controller (EMC) found on
0022 Tegra20 chips. The EMC controls the external DRAM on the board.
0023 This driver is required to change memory timings / clock rate for
0024 external memory.
0025
0026 config TEGRA30_EMC
0027 tristate "NVIDIA Tegra30 External Memory Controller driver"
0028 default y
0029 depends on ARCH_TEGRA_3x_SOC || COMPILE_TEST
0030 select PM_OPP
0031 select DDR
0032 help
0033 This driver is for the External Memory Controller (EMC) found on
0034 Tegra30 chips. The EMC controls the external DRAM on the board.
0035 This driver is required to change memory timings / clock rate for
0036 external memory.
0037
0038 config TEGRA124_EMC
0039 tristate "NVIDIA Tegra124 External Memory Controller driver"
0040 default y
0041 depends on ARCH_TEGRA_124_SOC || COMPILE_TEST
0042 select TEGRA124_CLK_EMC if ARCH_TEGRA
0043 select PM_OPP
0044 help
0045 This driver is for the External Memory Controller (EMC) found on
0046 Tegra124 chips. The EMC controls the external DRAM on the board.
0047 This driver is required to change memory timings / clock rate for
0048 external memory.
0049
0050 config TEGRA210_EMC_TABLE
0051 bool
0052 depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
0053
0054 config TEGRA210_EMC
0055 tristate "NVIDIA Tegra210 External Memory Controller driver"
0056 depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
0057 select TEGRA210_EMC_TABLE
0058 help
0059 This driver is for the External Memory Controller (EMC) found on
0060 Tegra210 chips. The EMC controls the external DRAM on the board.
0061 This driver is required to change memory timings / clock rate for
0062 external memory.
0063
0064 endif