summaryrefslogtreecommitdiff
path: root/drivers/clk/tegra/Kconfig
diff options
context:
space:
mode:
authorPeter De Schrijver <pdeschrijver@nvidia.com>2019-01-04 11:06:52 +0800
committerThierry Reding <treding@nvidia.com>2019-02-06 14:29:37 +0100
commit8bf9437a4e7f7c97909c6ace50cdd1177b907853 (patch)
tree96028e7148fb2f36f3b56d72b2a7ea3afedfe490 /drivers/clk/tegra/Kconfig
parent2b2dbc2f94e55c940e1eed70706f363aa94373b0 (diff)
clk: tegra: dfll: build clk-dfll.c for Tegra124 and Tegra210
Tegra210 has a DFLL as well and can share the majority of the code with the Tegra124 implementation. So build the same code for both platforms. Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com> Signed-off-by: Joseph Lo <josephl@nvidia.com> Acked-by: Jon Hunter <jonathanh@nvidia.com> Acked-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/clk/tegra/Kconfig')
-rw-r--r--drivers/clk/tegra/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/clk/tegra/Kconfig b/drivers/clk/tegra/Kconfig
index 7ddacae5d0b1..1adcccfa7829 100644
--- a/drivers/clk/tegra/Kconfig
+++ b/drivers/clk/tegra/Kconfig
@@ -5,3 +5,8 @@ config TEGRA_CLK_EMC
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