Message ID | 20181218091232.23532-11-josephl@nvidia.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Tegra210 DFLL support | expand |
Quoting Joseph Lo (2018-12-18 01:12:22) > diff --git a/drivers/clk/tegra/Kconfig b/drivers/clk/tegra/Kconfig > index 7ddacae5d0b1..57902ab43f4a 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) Nitpick: Drop the parenthesis please. > + select PM_OPP > + def_bool y
On 12/19/18 2:00 AM, Stephen Boyd wrote: > Quoting Joseph Lo (2018-12-18 01:12:22) >> diff --git a/drivers/clk/tegra/Kconfig b/drivers/clk/tegra/Kconfig >> index 7ddacae5d0b1..57902ab43f4a 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) > > Nitpick: Drop the parenthesis please. Hi Stephen, Thanks for reviewing. Will fix that. Joseph > >> + select PM_OPP >> + def_bool y > > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel >
diff --git a/drivers/clk/tegra/Kconfig b/drivers/clk/tegra/Kconfig index 7ddacae5d0b1..57902ab43f4a 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 diff --git a/drivers/clk/tegra/Makefile b/drivers/clk/tegra/Makefile index 6507acc843c7..4812e45c2214 100644 --- a/drivers/clk/tegra/Makefile +++ b/drivers/clk/tegra/Makefile @@ -20,7 +20,7 @@ obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += clk-tegra20.o obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += clk-tegra30.o obj-$(CONFIG_ARCH_TEGRA_114_SOC) += clk-tegra114.o obj-$(CONFIG_ARCH_TEGRA_124_SOC) += clk-tegra124.o -obj-$(CONFIG_ARCH_TEGRA_124_SOC) += clk-tegra124-dfll-fcpu.o +obj-$(CONFIG_TEGRA_CLK_DFLL) += clk-tegra124-dfll-fcpu.o obj-$(CONFIG_ARCH_TEGRA_132_SOC) += clk-tegra124.o obj-y += cvb.o obj-$(CONFIG_ARCH_TEGRA_210_SOC) += clk-tegra210.o