Skip to content

PM / OPP v2 & cpufreq backports part 1

Chen-Yu Tsai (Moxa) cip-dev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest14 patches 1 replyIn review
  2. v2 posting 2/215 patches 0 repliesSuperseded
  3. v2 posting 1/215 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v115 patches2 repliesSuperseded

Changes since v1 from the cover letter

- Added missing SoB and upstream commit hash for "PM / OPP: Set

Patches in v3 No applies recorded yet

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

Reviews trailers per patch

12 of 14 patches have a Reviewed-by or Acked-by.

PatchStephen BoydRob HerringViresh KumarJavi MerinoPavel MachekLee JonesGeert Uytterhoeven
1/14R-b
2/14R-b A-b
3/14R-b
4/14R-b A-b
5/14R-b A-b
6/14R-b A-b
7/14T-b
8/14T-b
9/14A-b
10/14A-b A-b
11/14A-b R-b
12/14A-b R-b
13/14A-b
14/14A-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 v3 thread

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

Hi everyone,

This is v3 of the part 1 of MOXA's PM / OPP / cpufreq backport series. Changes since v2:

- Squashed "PM / OPP: Fix parsing of opp-microvolt and opp-microamp properties" into "PM / OPP: Parse 'opp-<prop>-<name>' bindings"

Changes since v1:

- Added missing SoB and upstream commit hash for "PM / OPP: Set

    cpu_dev->id in cpumask first"

Original cover letter:

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:

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 (#4773): https://lists.cip-project.org/g/cip-dev/message/4773
Mute This Topic: https://lists.cip-project.org/mt/74768055/4520388
Group Owner: [email protected]
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-