[PATCH 1/9] ARM: tegra: Tegra114 needs CPU_FREQ_TABLE

Arnd Bergmann arnd at arndb.de
Fri May 3 07:20:07 EDT 2013


On Friday 03 May 2013 10:27:17 Viresh Kumar wrote:
> > diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
> > index 597e76b..9878503 100644
> > --- a/arch/arm/mach-tegra/Kconfig
> > +++ b/arch/arm/mach-tegra/Kconfig
> > @@ -63,6 +63,7 @@ config ARCH_TEGRA_114_SOC
> >         select ARM_ARCH_TIMER
> >         select ARM_GIC
> >         select ARM_L1_CACHE_SHIFT_6
> > +       select CPU_FREQ_TABLE if CPU_FREQ
> >         select CPU_V7
> >         select PINCTRL
> >         select PINCTRL_TEGRA114
> 
> I doubt which is the best place for doing this? This one or
> cpufreq/Kconfig.arm with select CPU_FREQ_TABLE for
> tegra?

It would be much better IMHO to have an entry for TEGRA_CPUFREQ
in drivers/cpufreq/Kcofnig.arm and move the select there. However,
creating that entry has some (small) regression potential and I
didn't want to do that now but instead just made sure that all
three Tegra SoCs do the same thing for now.

	Arnd



More information about the linux-arm-kernel mailing list