xref: /openbmc/linux/drivers/memory/tegra/Kconfig (revision 91b0383f)
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	help
32	  This driver is for the External Memory Controller (EMC) found on
33	  Tegra30 chips. The EMC controls the external DRAM on the board.
34	  This driver is required to change memory timings / clock rate for
35	  external memory.
36
37config TEGRA124_EMC
38	tristate "NVIDIA Tegra124 External Memory Controller driver"
39	default y
40	depends on ARCH_TEGRA_124_SOC || COMPILE_TEST
41	select TEGRA124_CLK_EMC if ARCH_TEGRA
42	select PM_OPP
43	help
44	  This driver is for the External Memory Controller (EMC) found on
45	  Tegra124 chips. The EMC controls the external DRAM on the board.
46	  This driver is required to change memory timings / clock rate for
47	  external memory.
48
49config TEGRA210_EMC_TABLE
50	bool
51	depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
52
53config TEGRA210_EMC
54	tristate "NVIDIA Tegra210 External Memory Controller driver"
55	depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
56	select TEGRA210_EMC_TABLE
57	help
58	  This driver is for the External Memory Controller (EMC) found on
59	  Tegra210 chips. The EMC controls the external DRAM on the board.
60	  This driver is required to change memory timings / clock rate for
61	  external memory.
62
63endif
64