mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
e3aabb3c7d
Print out memory type and LPDDR2 configuration on Tegra30, making it similar to the memory info printed by the Tegra20 memory driver. This info is useful for debugging purposes. Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # T30 ASUS TF201 LPDDR2 Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Link: https://lore.kernel.org/r/20211222043215.28237-1-digetx@gmail.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
65 lines
2.0 KiB
Plaintext
65 lines
2.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config TEGRA_MC
|
|
bool "NVIDIA Tegra Memory Controller support"
|
|
default y
|
|
depends on ARCH_TEGRA || (COMPILE_TEST && COMMON_CLK)
|
|
select INTERCONNECT
|
|
help
|
|
This driver supports the Memory Controller (MC) hardware found on
|
|
NVIDIA Tegra SoCs.
|
|
|
|
if TEGRA_MC
|
|
|
|
config TEGRA20_EMC
|
|
tristate "NVIDIA Tegra20 External Memory Controller driver"
|
|
default y
|
|
depends on ARCH_TEGRA_2x_SOC || COMPILE_TEST
|
|
select DEVFREQ_GOV_SIMPLE_ONDEMAND
|
|
select PM_DEVFREQ
|
|
select DDR
|
|
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.
|
|
|
|
config TEGRA30_EMC
|
|
tristate "NVIDIA Tegra30 External Memory Controller driver"
|
|
default y
|
|
depends on ARCH_TEGRA_3x_SOC || COMPILE_TEST
|
|
select PM_OPP
|
|
select DDR
|
|
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.
|
|
|
|
config TEGRA124_EMC
|
|
tristate "NVIDIA Tegra124 External Memory Controller driver"
|
|
default y
|
|
depends on ARCH_TEGRA_124_SOC || COMPILE_TEST
|
|
select TEGRA124_CLK_EMC if ARCH_TEGRA
|
|
select PM_OPP
|
|
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.
|
|
|
|
config TEGRA210_EMC_TABLE
|
|
bool
|
|
depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
|
|
|
|
config TEGRA210_EMC
|
|
tristate "NVIDIA Tegra210 External Memory Controller driver"
|
|
depends on ARCH_TEGRA_210_SOC || COMPILE_TEST
|
|
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.
|
|
|
|
endif
|