[PATCH 1/3] cpufreq: kirkwood: Add a cpufreq driver for Marvell Kirkwood SoCs

Peter Korsgaard jacmet at sunsite.dk
Fri Jan 18 09:39:56 EST 2013


>>>>> "Andrew" == Andrew Lunn <andrew at lunn.ch> writes:

 Andrew> The Marvell Kirkwood SoCs have simple cpufreq support in hardware. The
 Andrew> CPU can either use the a high speed cpu clock, or the slower DDR
 Andrew> clock. Add a driver to swap between these two clock sources.

 Andrew> Signed-off-by: Andrew Lunn <andrew at lunn.ch>
 Andrew> ---
 Andrew>  drivers/clk/mvebu/clk-gating-ctrl.c |    1 +
 Andrew>  drivers/cpufreq/Kconfig.arm         |    6 +
 Andrew>  drivers/cpufreq/Makefile            |    1 +
 Andrew>  drivers/cpufreq/kirkwood-cpufreq.c  |  273 +++++++++++++++++++++++++++++++++++
 Andrew>  4 files changed, 281 insertions(+)
 Andrew>  create mode 100644 drivers/cpufreq/kirkwood-cpufreq.c

 Andrew> +++ b/drivers/cpufreq/Kconfig.arm
 Andrew> @@ -77,6 +77,12 @@ config ARM_EXYNOS5250_CPUFREQ
 Andrew>  	  This adds the CPUFreq driver for Samsung EXYNOS5250
 Andrew>  	  SoC.
 
 Andrew> +config ARM_KIRKWOOD_CPUFREQ
 Andrew> +        def_bool ARCH_KIRKWOOD && OF
 Andrew> +	help

The def_bool should be indented with a <tab>

Otherwise looks good.

-- 
Bye, Peter Korsgaard



More information about the linux-arm-kernel mailing list