Skip to content

CPUFreq: cpufreq-cpu0 updates for 3.{17|18 ?}

Viresh Kumar linux-arm-msm linux-pm 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 11 repliesIn review
  2. v12 patches 16 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10cpufreq: Add support for per-policy driver datainclude/linux/cpufreq.h+3 -00 replies
2/10cpufreq: cpu0: Update Module Authordrivers/cpufreq/cpufreq-cpu0.c+4 -00 replies
3/10cpufreq: cpu0: don't validate clock on clk_put()drivers/cpufreq/cpufreq-cpu0.c+1 -20 replies
4/10cpufreq: cpu0: print relevant error when we defer probedrivers/cpufreq/cpufreq-cpu0.c+10 -10 replies
5/10cpufreq: cpu0: use dev_{err|warn|dbg} instead of pr_{err|warn|debug}drivers/cpufreq/cpufreq-cpu0.c+18 -140 replies
6/10cpufreq: cpu0: Move per-cluster initialization code to ->init()drivers/cpufreq/cpufreq-cpu0.c+136 -530 replies
7/10cpufreq: cpu0: try regulators with name "cpu-supply"drivers/cpufreq/cpufreq-cpu0.c+13 -10 replies
8/10cpufreq: cpu0: Make allocate_resources() work for any CPUdrivers/cpufreq/cpufreq-cpu0.c+17 -130 replies
9/10cpufreq: cpu0: rename driver and internals to 'cpufreq_generic'Documentation/devicetree/bindings/cpufreq/cpufreq-generic.txt drivers/cpufreq/Kconfig drivers/cpufreq/Kconfig.arm +2 more+29 -299 replies
10/10cpufreq: generic: set platform_{driver|device} '.name' to 'cpufreq-generic'arch/arm/mach-imx/imx27-dt.c arch/arm/mach-imx/mach-imx51.c arch/arm/mach-omap2/pm.c +10 more+16 -160 replies

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchStephen BoydSantosh Shilimkar
1/10T-b
2/10T-b
3/10T-b A-b
4/10T-b
5/10T-b A-b
6/10T-b
7/10T-b
8/10T-b
9/10T-b
10/10T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 00/10] CPUFreq: cpufreq-cpu0 updates for 3.{17|18 ?}

Hi Rafael,

I am sending this again, but without the controversial part this time. I have dropped last two patches which were about detecting clock sharing among CPUs. Would fix up that later once other Maintainers get in sync about the bindings.

So, what's left here ? These are mostly updates/reorders which can be applied the patches which I have dropped now. These are all well reviewed and tested by others. Getting them in shouldn't break anything, I believe. Its better people start using the updates we already have, otherwise they will keep on sending fixes they get (The way Pramod Gurav tried it today).

Can we please get them in 3.17 if its still allowed? Or -next otherwise.

V2: https://lkml.org/lkml/2014/7/1/358

Rebased over: 3.17-rc2

git://git.linaro.org/people/viresh.kumar/linux.git cpufreq/cpu0-updates-v3

V2->V3: Dropped few patches, nothing much.

--
Thanks
Viresh

Viresh Kumar (10):
cpufreq: Add support for per-policy driver data
cpufreq: cpu0: Update Module Author
cpufreq: cpu0: don't validate clock on clk_put()
cpufreq: cpu0: print relevant error when we defer probe
cpufreq: cpu0: use dev_{err|warn|dbg} instead of pr_{err|warn|debug}
cpufreq: cpu0: Move per-cluster initialization code to ->init()
cpufreq: cpu0: try regulators with name "cpu-supply"
cpufreq: cpu0: Make allocate_resources() work for any CPU
cpufreq: cpu0: rename driver and internals to 'cpufreq_generic'
cpufreq: generic: set platform_{driver|device} '.name' to
'cpufreq-generic'

 .../{cpufreq-cpu0.txt => cpufreq-generic.txt}      |   8 +-
 arch/arm/mach-imx/imx27-dt.c                       |   2 +-
 arch/arm/mach-imx/mach-imx51.c                     |   2 +-
 arch/arm/mach-omap2/pm.c                           |   2 +-
 arch/arm/mach-shmobile/board-ape6evm-reference.c   |   2 +-
 arch/arm/mach-shmobile/cpufreq.c                   |   2 +-
 arch/arm/mach-shmobile/setup-sh73a0.c              |   4 +-
 arch/arm/mach-zynq/common.c                        |   2 +-
 drivers/cpufreq/Kconfig                            |  10 +-
 drivers/cpufreq/Kconfig.arm                        |   2 +-
 drivers/cpufreq/Makefile                           |   2 +-
 drivers/cpufreq/cpufreq-cpu0.c                     | 248 --------------
 drivers/cpufreq/cpufreq-generic.c                  | 363 +++++++++++++++++++++
 drivers/cpufreq/exynos4210-cpufreq.c               |   2 +-
 drivers/cpufreq/exynos4x12-cpufreq.c               |   2 +-
 drivers/cpufreq/exynos5250-cpufreq.c               |   2 +-
 drivers/cpufreq/highbank-cpufreq.c                 |   6 +-
 drivers/cpufreq/s5pv210-cpufreq.c                  |   2 +-
 include/linux/cpufreq.h                            |   3 +
 19 files changed, 392 insertions(+), 274 deletions(-)
 rename Documentation/devicetree/bindings/cpufreq/{cpufreq-cpu0.txt => cpufreq-generic.txt} (85%)
 delete mode 100644 drivers/cpufreq/cpufreq-cpu0.c
 create mode 100644 drivers/cpufreq/cpufreq-generic.c
Signature · 1 line
2.0.3.693.g996b0fd