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