Skip to content

PM / OPP v2 & cpufreq backports part 1

Chen-Yu Tsai (Moxa) cip-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15PM / OPP: Add debugfs supportdrivers/base/power/opp/Makefile drivers/base/power/opp/core.c drivers/base/power/opp/debugfs.c +1 more+281 -20 replies
2/15PM / OPP: Add "opp-supported-hw" bindingDocumentation/devicetree/bindings/opp/opp.txt+65 -00 replies
3/15PM / OPP: Add {opp-microvolt|opp-microamp}-<name> bindingDocumentation/devicetree/bindings/opp/opp.txt+47 -02 replies
4/15PM / OPP: Remove 'operating-points-names' bindingDocumentation/devicetree/bindings/opp/opp.txt+2 -600 replies
5/15PM / OPP: Rename OPP nodes as opp@<opp-hz>Documentation/devicetree/bindings/opp/opp.txt+19 -190 replies
6/15PM / OPP: Add missing doc commentsdrivers/base/power/opp/opp.h+3 -10 replies
7/15PM / OPP: Parse 'opp-supported-hw' bindingdrivers/base/power/opp/core.c drivers/base/power/opp/opp.h include/linux/pm_opp.h+166 -00 replies
8/15PM / OPP: Parse 'opp-<prop>-<name>' bindingsdrivers/base/power/opp/core.c drivers/base/power/opp/opp.h include/linux/pm_opp.h+161 -153 replies
9/15PM / OPP: Fix parsing of opp-microvolt and opp-microamp propertiesdrivers/base/power/opp/core.c+2 -20 replies
10/15PM / OPP: Set cpu_dev->id in cpumask firstdrivers/base/power/opp/cpu.c+2 -12 replies
11/15PM / OPP: Use snprintf() instead of sprintf()drivers/base/power/opp/core.c+4 -20 replies
12/15devicetree: bindings: Add optional dynamic-power-coefficient propertyDocumentation/devicetree/bindings/arm/cpus.txt+17 -00 replies
13/15cpufreq-dt: Supply power coefficient when registering cooling devicesdrivers/cpufreq/cpufreq-dt.c+7 -20 replies
14/15cpufreq-dt: fix handling regulator_get_voltage() resultdrivers/cpufreq/cpufreq-dt.c+3 -20 replies
15/15cpufreq: cpufreq-dt: avoid uninitialized variable warnings:drivers/cpufreq/cpufreq-dt.c+7 -80 replies

Reviews trailers per patch

13 of 15 patches have a Reviewed-by or Acked-by.

PatchStephen BoydViresh KumarRob HerringJavi MerinoPavel MachekLee JonesGeert Uytterhoeven
1/15R-b
2/15R-b A-b
3/15R-b
4/15R-b A-b
5/15R-b A-b
6/15R-b A-b
7/15T-b
8/15T-b
9/15A-b
10/15A-b
11/15A-b A-b
12/15R-b A-b
13/15A-b R-b
14/15A-b
15/15A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v1 thread

Cover letter [cip-dev] [PATCH RESEND 4.4.y-cip 00/15] PM / OPP v2 & cpufreq backports part 1

Hi everyone,

This is part 1 of MOXA's PM / OPP / cpufreq backport series. The whole series aims to backport patches related to PM / OPPv2 and cpufreq which were included in the v4.4 kernel from TI's SDK. The end goal is to include cpufreq-ti and convert am33xx to using it and OPPv2.

Part 1 here includes patches from the v4.5 cycle, listed in topological order:

deaa51465105 PM / OPP: Add debugfs support
1c4d12de2719 PM / OPP: Add "opp-supported-hw" binding
ffdb8cc7a27c PM / OPP: Add {opp-microvolt|opp-microamp}-<name> binding af87a39a5f7c PM / OPP: Remove 'operating-points-names' binding 754dcf35f346 PM / OPP: Rename OPP nodes as opp@<opp-hz>
dc4e7b1fa20a PM / OPP: Add missing doc comments
7de36b0aa51a PM / OPP: Parse 'opp-supported-hw' binding
01fb4d3c39d3 PM / OPP: Parse 'opp-<prop>-<name>' bindings fd8d8e63467c PM / OPP: Fix parsing of opp-microvolt and opp-microamp properties d9de19b1cc01 PM / OPP: Set cpu_dev->id in cpumask first
5ff24d601092 PM / OPP: Use snprintf() instead of sprintf() 3be3f8f36e73 devicetree: bindings: Add optional dynamic-power-coefficient property f8fa8ae06b8c cpufreq-dt: Supply power coefficient when registering cooling devices 929ca89c305a cpufreq-dt: fix handling regulator_get_voltage() result b331bc20d928 cpufreq: cpufreq-dt: avoid uninitialized variable warnings:

Of these,

dc4e7b1fa20a PM / OPP: Add missing doc comments

was identified as a patch dependency, but otherwise serves no purpose. And

    d9de19b1cc01 PM / OPP: Set cpu_dev->id in cpumask first

was found while looking through git logs. Last,

3be3f8f36e73 devicetree: bindings: Add optional dynamic-power-coefficient property

is related to

f8fa8ae06b8c cpufreq-dt: Supply power coefficient when registering cooling devices

All other patches were included from TI's SDK.

The patches apply cleanly on top of linux-4.4.y-cip. Please have a look.

Regards
ChenYu

Andrzej Hajda (1):
cpufreq-dt: fix handling regulator_get_voltage() result

Arnd Bergmann (1):
cpufreq: cpufreq-dt: avoid uninitialized variable warnings:

Bartlomiej Zolnierkiewicz (1):
PM / OPP: Fix parsing of opp-microvolt and opp-microamp properties

Pi-Cheng Chen (1):
PM / OPP: Set cpu_dev->id in cpumask first

Punit Agrawal (2):
devicetree: bindings: Add optional dynamic-power-coefficient property
cpufreq-dt: Supply power coefficient when registering cooling devices

Viresh Kumar (9):
PM / OPP: Add debugfs support
PM / OPP: Add "opp-supported-hw" binding
PM / OPP: Add {opp-microvolt|opp-microamp}-<name> binding PM / OPP: Remove 'operating-points-names' binding PM / OPP: Rename OPP nodes as opp@<opp-hz>
PM / OPP: Add missing doc comments
PM / OPP: Parse 'opp-supported-hw' binding
PM / OPP: Parse 'opp-<prop>-<name>' bindings
PM / OPP: Use snprintf() instead of sprintf()

 .../devicetree/bindings/arm/cpus.txt          |  17 +
 Documentation/devicetree/bindings/opp/opp.txt | 132 +++++--
 drivers/base/power/opp/Makefile               |   1 +
 drivers/base/power/opp/core.c                 | 336 +++++++++++++++++-
 drivers/base/power/opp/cpu.c                  |   3 +-
 drivers/base/power/opp/debugfs.c              | 219 ++++++++++++
 drivers/base/power/opp/opp.h                  |  53 ++-
 drivers/cpufreq/cpufreq-dt.c                  |  29 +-
 include/linux/pm_opp.h                        |  22 ++
 9 files changed, 742 insertions(+), 70 deletions(-)
 create mode 100644 drivers/base/power/opp/debugfs.c
Signature · 1 line
2.27.0.rc0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#4679): https://lists.cip-project.org/g/cip-dev/message/4679
Mute This Topic: https://lists.cip-project.org/mt/74665632/4520388
Group Owner: [email protected]
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-