lkml.org 
[lkml]   [2015]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/9] cpufreq: Introduce support for ST's cpufreq functionality
Date
This driver reads very platform specific information in from Device Tree
and translates it into frequency tables. The generic drivers then use the
tables to conduct frequency and voltage scaling in the normal way.

There are 'ARM' patches in the set which are not necessarily related to CPUFreq,
but are required to get it to work. Anyone who is not interested in general STi
DT changes can safely ignore these.

v1 => v2:
- CPUFreq is no longer it's own device in DT; instead:
- It is probed from the platform area
- Key properties have been moved into the CPU's node
- Driver is less generic [ST => STI]
- Documentation has been updated
- Point one (above) has been accounted for
- Example of bootloader supplied node has been provided
- GPL licensing has been updated to reflected the header
- Kconfig disparity has been rectified [bool => tristate]

Lee Jones (9):
ARM: STi: STiH407: Provide generic (safe) DVFS configuration
ARM: STi: STiH407: Provide CPU with clocking information
ARM: STi: STiH407: Link CPU with its voltage supply
ARM: STi: STiH407: Provide CPU with a means to look-up Major number
ARM: STi: Register CPUFreq device
ARM: STi: STiH407: Move PWM nodes STiH407 => STiH407-family
ARM: multi_v7_defconfig: Enable support for PWM Regulators
dt: cpufreq: st: Provide bindings for ST's CPUFreq implementation
cpufreq: st: Provide runtime initialised driver for ST's platforms

.../devicetree/bindings/cpufreq/cpufreq-st.txt | 72 ++++
arch/arm/boot/dts/stih407-family.dtsi | 45 +++
arch/arm/boot/dts/stih407.dtsi | 28 --
arch/arm/configs/multi_v7_defconfig | 1 +
arch/arm/mach-sti/Makefile | 2 +-
arch/arm/mach-sti/board-dt.c | 3 +-
arch/arm/mach-sti/{platsmp.c => cpu.c} | 17 +-
arch/arm/mach-sti/{smp.h => cpu.h} | 2 +
drivers/cpufreq/Kconfig.arm | 7 +
drivers/cpufreq/Makefile | 1 +
drivers/cpufreq/sti-cpufreq.c | 447 +++++++++++++++++++++
11 files changed, 593 insertions(+), 32 deletions(-)
create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-st.txt
rename arch/arm/mach-sti/{platsmp.c => cpu.c} (91%)
rename arch/arm/mach-sti/{smp.h => cpu.h} (92%)
create mode 100644 drivers/cpufreq/sti-cpufreq.c

--
1.9.1



\
 
 \ /
  Last update: 2015-06-24 16:21    [W:0.569 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site