mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
Add modularization support to the Tegra124 EMC driver, which now can be compiled as a loadable kernel module. Note that EMC clock must be registered at clk-init time, otherwise PLLM will be disabled as unused clock at boot time if EMC driver is compiled as a module. Hence add a prepare/complete callbacks. similarly to what is done for the Tegra20/30 EMC drivers. Tested-by: Nicolas Chauvet <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
13 lines
231 B
Plaintext
13 lines
231 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config CLK_TEGRA_BPMP
|
|
def_bool y
|
|
depends on TEGRA_BPMP
|
|
|
|
config TEGRA_CLK_DFLL
|
|
depends on ARCH_TEGRA_124_SOC || ARCH_TEGRA_210_SOC
|
|
select PM_OPP
|
|
def_bool y
|
|
|
|
config TEGRA124_CLK_EMC
|
|
bool
|