[PATCH v3 1/2] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

Viresh Kumar viresh.kumar at linaro.org
Fri Nov 21 20:22:05 AEDT 2014


On 21 November 2014 14:48, Tang Yuantian <Yuantian.Tang at freescale.com> wrote:
> Freescale introduced new ARM core-based SoCs which support dynamic
> frequency switch feature. DFS on new SoCs are compatible with current
> PowerPC CoreNet platforms. In order to support those new platforms,
> this driver needs to be updated. The main changes include:
>
> 1. Changed the names of functions in driver.
> 2. Added two new functions get_cpu_physical_id() and get_bus_freq().
> 3. Used a new way to get the CPU mask which share clock wire.
>
> Signed-off-by: Tang Yuantian <Yuantian.Tang at freescale.com>
> ---
> v3:
>         - put the menu entries into Kconfig
> v2:
>         - split the name change into a separete patch
>         - use policy->driver_data instead of per_cpu variable
>
>  drivers/cpufreq/Kconfig               |   8 ++
>  drivers/cpufreq/Kconfig.powerpc       |   9 --
>  drivers/cpufreq/ppc-corenet-cpufreq.c | 160 +++++++++++++++++++++-------------
>  3 files changed, 107 insertions(+), 70 deletions(-)

For both patches:

Acked-by: Viresh Kumar <viresh.kumar at linaro.org>


More information about the Linuxppc-dev mailing list