2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2014-04-16 15:24:44 +08:00
|
|
|
config TEGRA_MC
|
|
|
|
bool "NVIDIA Tegra Memory Controller support"
|
|
|
|
default y
|
2021-06-01 10:31:13 +08:00
|
|
|
depends on ARCH_TEGRA || (COMPILE_TEST && COMMON_CLK)
|
2020-11-05 00:49:08 +08:00
|
|
|
select INTERCONNECT
|
2014-04-16 15:24:44 +08:00
|
|
|
help
|
|
|
|
This driver supports the Memory Controller (MC) hardware found on
|
|
|
|
NVIDIA Tegra SoCs.
|
2015-03-12 22:48:03 +08:00
|
|
|
|
2021-06-01 10:31:13 +08:00
|
|
|
if TEGRA_MC
|
|
|
|
|
2018-10-22 02:30:52 +08:00
|
|
|
config TEGRA20_EMC
|
2020-11-05 00:49:09 +08:00
|
|
|
tristate "NVIDIA Tegra20 External Memory Controller driver"
|
2018-10-22 02:30:52 +08:00
|
|
|
default y
|
2021-06-01 10:31:13 +08:00
|
|
|
depends on ARCH_TEGRA_2x_SOC || COMPILE_TEST
|
2020-11-11 09:14:34 +08:00
|
|
|
select DEVFREQ_GOV_SIMPLE_ONDEMAND
|
|
|
|
select PM_DEVFREQ
|
2021-10-07 06:46:59 +08:00
|
|
|
select DDR
|
2018-10-22 02:30:52 +08:00
|
|
|
help
|
|
|
|
This driver is for the External Memory Controller (EMC) found on
|
|
|
|
Tegra20 chips. The EMC controls the external DRAM on the board.
|
|
|
|
This driver is required to change memory timings / clock rate for
|
|
|
|
external memory.
|
|
|
|
|
2019-08-12 05:00:40 +08:00
|
|
|
config TEGRA30_EMC
|
2020-11-11 09:14:37 +08:00
|
|
|
tristate "NVIDIA Tegra30 External Memory Controller driver"
|
2019-08-12 05:00:40 +08:00
|
|
|
default y
|
2021-06-01 10:31:13 +08:00
|
|
|
depends on ARCH_TEGRA_3x_SOC || COMPILE_TEST
|
2020-12-04 03:24:32 +08:00
|
|
|
select PM_OPP
|
2021-12-22 12:32:14 +08:00
|
|
|
select DDR
|
2019-08-12 05:00:40 +08:00
|
|
|
help
|
|
|
|
This driver is for the External Memory Controller (EMC) found on
|
|
|
|
Tegra30 chips. The EMC controls the external DRAM on the board.
|
|
|
|
This driver is required to change memory timings / clock rate for
|
|
|
|
external memory.
|
|
|
|
|
2015-03-12 22:48:03 +08:00
|
|
|
config TEGRA124_EMC
|
2020-12-28 23:49:16 +08:00
|
|
|
tristate "NVIDIA Tegra124 External Memory Controller driver"
|
2015-03-12 22:48:03 +08:00
|
|
|
default y
|
2021-06-01 10:31:13 +08:00
|
|
|
depends on ARCH_TEGRA_124_SOC || COMPILE_TEST
|
|
|
|
select TEGRA124_CLK_EMC if ARCH_TEGRA
|
2020-12-28 23:49:18 +08:00
|
|
|
select PM_OPP
|
2015-03-12 22:48:03 +08:00
|
|
|
help
|
|
|
|
This driver is for the External Memory Controller (EMC) found on
|
|
|
|
Tegra124 chips. The EMC controls the external DRAM on the board.
|
|
|
|
This driver is required to change memory timings / clock rate for
|
|
|
|
external memory.
|
2019-05-29 16:21:36 +08:00
|
|
|
|
|
|
|
config TEGRA210_EMC_TABLE
|
|
|
|
bool
|
2021-06-01 10:31:13 +08:00
|
|
|
depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
|
2019-05-29 16:21:36 +08:00
|
|
|
|
|
|
|
config TEGRA210_EMC
|
|
|
|
tristate "NVIDIA Tegra210 External Memory Controller driver"
|
2021-06-01 10:31:13 +08:00
|
|
|
depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
|
2019-05-29 16:21:36 +08:00
|
|
|
select TEGRA210_EMC_TABLE
|
|
|
|
help
|
|
|
|
This driver is for the External Memory Controller (EMC) found on
|
|
|
|
Tegra210 chips. The EMC controls the external DRAM on the board.
|
|
|
|
This driver is required to change memory timings / clock rate for
|
|
|
|
external memory.
|
2021-06-01 10:31:13 +08:00
|
|
|
|
|
|
|
endif
|