aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/tegra/Kconfig
diff options
context:
space:
mode:
authorDmitry Osipenko2020-12-28 18:49:16 +0300
committerKrzysztof Kozlowski2021-01-05 18:00:09 +0100
commit281462e593483350d8072a118c6e072c550a80fa (patch)
treeaedb622d4b8e73213c869eae85999fe03cced566 /drivers/clk/tegra/Kconfig
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (diff)
memory: tegra124-emc: Make driver modular
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>
Diffstat (limited to 'drivers/clk/tegra/Kconfig')
-rw-r--r--drivers/clk/tegra/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/tegra/Kconfig b/drivers/clk/tegra/Kconfig
index deaa4605824c..90df619dc087 100644
--- a/drivers/clk/tegra/Kconfig
+++ b/drivers/clk/tegra/Kconfig
@@ -7,3 +7,6 @@ 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