mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 13:41:55 +00:00
281462e593
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 <kwizart@gmail.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Link: https://lore.kernel.org/r/20201228154920.18846-2-digetx@gmail.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
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
|