cpufreq: qoriq: Make the driver usable on all QorIQ platforms
authorTang Yuantian <Yuantian.Tang@freescale.com>
Fri, 13 Mar 2015 04:39:01 +0000 (12:39 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Mar 2015 21:35:15 +0000 (22:35 +0100)
commita4f207428b53975069d12d49a509b440c707d691
tree0d8d3ad1a61076c8a9166c0543115211af5deded
parent06e5801b8cb3fc057d88cb4dc03c0b64b2744cda
cpufreq: qoriq: Make the driver usable on all QorIQ platforms

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@freescale.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/ppc-corenet-cpufreq.c