xref: /linux/drivers/memory/tegra/Kconfig (revision 722ecdbce68a87de2d9296f91308f44ea900a039)
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 || (COMPILE_TEST && COMMON_CLK)
6	select INTERCONNECT
7	help
8	  This driver supports the Memory Controller (MC) hardware found on
9	  NVIDIA Tegra SoCs.
10
11if TEGRA_MC
12
13config TEGRA20_EMC
14	tristate "NVIDIA Tegra20 External Memory Controller driver"
15	default y
16	depends on ARCH_TEGRA_2x_SOC || COMPILE_TEST
17	select DEVFREQ_GOV_SIMPLE_ONDEMAND
18	select PM_DEVFREQ
19	select DDR
20	help
21	  This driver is for the External Memory Controller (EMC) found on
22	  Tegra20 chips. The EMC controls the external DRAM on the board.
23	  This driver is required to change memory timings / clock rate for
24	  external memory.
25
26config TEGRA30_EMC
27	tristate "NVIDIA Tegra30 External Memory Controller driver"
28	default y
29	depends on ARCH_TEGRA_3x_SOC || COMPILE_TEST
30	select PM_OPP
31	select DDR
32	help
33	  This driver is for the External Memory Controller (EMC) found on
34	  Tegra30 chips. The EMC controls the external DRAM on the board.
35	  This driver is required to change memory timings / clock rate for
36	  external memory.
37
38config TEGRA124_EMC
39	tristate "NVIDIA Tegra124 External Memory Controller driver"
40	default y
41	depends on ARCH_TEGRA_124_SOC || COMPILE_TEST
42	select TEGRA124_CLK_EMC if ARCH_TEGRA
43	select PM_OPP
44	help
45	  This driver is for the External Memory Controller (EMC) found on
46	  Tegra124 chips. The EMC controls the external DRAM on the board.
47	  This driver is required to change memory timings / clock rate for
48	  external memory.
49
50config TEGRA210_EMC_TABLE
51	bool
52	depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
53
54config TEGRA210_EMC
55	tristate "NVIDIA Tegra210 External Memory Controller driver"
56	depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
57	select TEGRA210_EMC_TABLE
58	help
59	  This driver is for the External Memory Controller (EMC) found on
60	  Tegra210 chips. The EMC controls the external DRAM on the board.
61	  This driver is required to change memory timings / clock rate for
62	  external memory.
63
64endif
65