Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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 help
20 This driver is for the External Memory Controller (EMC) found on
21 Tegra20 chips. The EMC controls the external DRAM on the board.
22 This driver is required to change memory timings / clock rate for
23 external memory.
24
25config TEGRA30_EMC
26 tristate "NVIDIA Tegra30 External Memory Controller driver"
27 default y
28 depends on ARCH_TEGRA_3x_SOC || COMPILE_TEST
29 select PM_OPP
30 help
31 This driver is for the External Memory Controller (EMC) found on
32 Tegra30 chips. The EMC controls the external DRAM on the board.
33 This driver is required to change memory timings / clock rate for
34 external memory.
35
36config TEGRA124_EMC
37 tristate "NVIDIA Tegra124 External Memory Controller driver"
38 default y
39 depends on ARCH_TEGRA_124_SOC || COMPILE_TEST
40 select TEGRA124_CLK_EMC if ARCH_TEGRA
41 select PM_OPP
42 help
43 This driver is for the External Memory Controller (EMC) found on
44 Tegra124 chips. The EMC controls the external DRAM on the board.
45 This driver is required to change memory timings / clock rate for
46 external memory.
47
48config TEGRA210_EMC_TABLE
49 bool
50 depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
51
52config TEGRA210_EMC
53 tristate "NVIDIA Tegra210 External Memory Controller driver"
54 depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
55 select TEGRA210_EMC_TABLE
56 help
57 This driver is for the External Memory Controller (EMC) found on
58 Tegra210 chips. The EMC controls the external DRAM on the board.
59 This driver is required to change memory timings / clock rate for
60 external memory.
61
62endif