xref: /openbmc/linux/drivers/memory/tegra/Kconfig (revision 37b9c7bb)
1# SPDX-License-Identifier: GPL-2.0-only
2config TEGRA_MC
3	bool "NVIDIA Tegra Memory Controller support"
4	default y
5	depends on ARCH_TEGRA
6	select INTERCONNECT
7	help
8	  This driver supports the Memory Controller (MC) hardware found on
9	  NVIDIA Tegra SoCs.
10
11config TEGRA20_EMC
12	tristate "NVIDIA Tegra20 External Memory Controller driver"
13	default y
14	depends on TEGRA_MC && ARCH_TEGRA_2x_SOC
15	select DEVFREQ_GOV_SIMPLE_ONDEMAND
16	select PM_DEVFREQ
17	help
18	  This driver is for the External Memory Controller (EMC) found on
19	  Tegra20 chips. The EMC controls the external DRAM on the board.
20	  This driver is required to change memory timings / clock rate for
21	  external memory.
22
23config TEGRA30_EMC
24	tristate "NVIDIA Tegra30 External Memory Controller driver"
25	default y
26	depends on TEGRA_MC && ARCH_TEGRA_3x_SOC
27	select PM_OPP
28	help
29	  This driver is for the External Memory Controller (EMC) found on
30	  Tegra30 chips. The EMC controls the external DRAM on the board.
31	  This driver is required to change memory timings / clock rate for
32	  external memory.
33
34config TEGRA124_EMC
35	bool "NVIDIA Tegra124 External Memory Controller driver"
36	default y
37	depends on TEGRA_MC && ARCH_TEGRA_124_SOC
38	help
39	  This driver is for the External Memory Controller (EMC) found on
40	  Tegra124 chips. The EMC controls the external DRAM on the board.
41	  This driver is required to change memory timings / clock rate for
42	  external memory.
43
44config TEGRA210_EMC_TABLE
45	bool
46	depends on ARCH_TEGRA_210_SOC
47
48config TEGRA210_EMC
49	tristate "NVIDIA Tegra210 External Memory Controller driver"
50	depends on TEGRA_MC && ARCH_TEGRA_210_SOC
51	select TEGRA210_EMC_TABLE
52	help
53	  This driver is for the External Memory Controller (EMC) found on
54	  Tegra210 chips. The EMC controls the external DRAM on the board.
55	  This driver is required to change memory timings / clock rate for
56	  external memory.
57