[PATCH 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

From: Bartlomiej Zolnierkiewicz
Date: Fri Apr 10 2015 - 14:00:15 EST


Hi,

This patch series removes the use of Exynos4x12 specific support
from cpufreq-exynos driver and enables the use of cpufreq-dt driver
for this platform.

In order to preserve support for Exynos4x12 'boost' mode cpufreq-dt
driver is made aware of 'boost' mode frequencies and boost-opps
binding is provided.

boost-opps binding is currently limited to cpufreq-dt but once there is
a need for cpufreq wide and/or generic Linux device support for 'boost'
mode cpufreq-dt can be updated to handle the new code without changing
the binding itself.

The decision to make 'boost' mode support limited to cpufreq-dt driver
for now was taken because 'boost' mode is currently a niche feature and
code needed for parsing boost-opps binding is minimal and simple. More
generic (i.e. separate 'boost' OPPs list in struct device and generic
cpufreq convertion of them to freq_table format) support would need far
more code and effort to make it work. Doing it without a demonstrated
real need would be on overengineering IMHO.

This patch series has been tested on Exynos4412 based Odroid-U3 and
Trats2 boards.

Depends on:
- next-20150330 branch of linux-next kernel tree
- "[PATCH 0/6] cpufreq: use generic cpufreq drivers for Exynos4210
platform" [1]

[1] http://www.kernelhub.org/?msg=721136&p=2

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics


Bartlomiej Zolnierkiewicz (6):
cpufreq / OPP: allow allocation of extra table entries in freq_table
cpufreq-dt: add 'boost' mode frequencies support
clk: samsung: exynos4x12: add cpu clock configuration data and
instantiate cpu clock
ARM: dts: Exynos4x12: add CPU OPP and regulator supply property
ARM: Exynos: switch to using generic cpufreq driver for Exynos4x12
cpufreq: exynos: remove Exynos4x12 specific cpufreq driver support

.../devicetree/bindings/cpufreq/cpufreq-dt.txt | 14 ++
arch/arm/boot/dts/exynos4212.dtsi | 22 ++
arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 4 +
arch/arm/boot/dts/exynos4412-origen.dts | 5 +
arch/arm/boot/dts/exynos4412-trats2.dts | 5 +
arch/arm/boot/dts/exynos4412.dtsi | 22 ++
arch/arm/mach-exynos/exynos.c | 14 ++
drivers/clk/samsung/clk-exynos4.c | 50 +++++
drivers/cpufreq/Kconfig.arm | 13 +-
drivers/cpufreq/Makefile | 1 -
drivers/cpufreq/cpufreq-dt.c | 114 ++++++++--
drivers/cpufreq/cpufreq_opp.c | 18 +-
drivers/cpufreq/exynos-cpufreq.c | 11 +-
drivers/cpufreq/exynos-cpufreq.h | 21 --
drivers/cpufreq/exynos4x12-cpufreq.c | 236 --------------------
include/linux/cpufreq-dt.h | 1 +
include/linux/cpufreq.h | 3 +
17 files changed, 257 insertions(+), 297 deletions(-)
delete mode 100644 drivers/cpufreq/exynos4x12-cpufreq.c

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/