Skip to content

Dynamic power model from device tree

Punit Agrawal linux-devicetree linux-pm lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 4 repliesIn review
  2. v43 patches 6 repliesSuperseded
  3. v33 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v210 patches11 repliesSuperseded
v19 patches7 repliesSuperseded

Changes in v5 from the cover letter

Updated tags across the patches
arm_big_little: Do not register cooling devices when in IKS

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3devicetree: bindings: Add optional dynamic-power-coefficient propertyDocumentation/devicetree/bindings/arm/cpus.txt+17 -00 replies
2/3cpufreq-dt: Supply power coefficient when registering cooling devicesdrivers/cpufreq/cpufreq-dt.c+7 -20 replies
3/3cpufreq: arm_big_little: Add support to register a cpufreq cooling devicedrivers/cpufreq/Kconfig.arm drivers/cpufreq/arm_big_little.c+43 -04 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRob HerringViresh KumarJavi Merino
1/3A-b R-b
2/3A-b R-b
3/3A-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 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/3] Dynamic power model from device tree

Hi,

This patchset adds support to build a single-coefficient dynamic power model for a CPU. The model is used by the CPU cooling device to provide an estimate of power consumption and also translate allocated power to performance cap.

Changes from previous posting -
v4 -> v5
Updated tags across the patches
arm_big_little: Do not register cooling devices when in IKS

v3 -> v4:
arm_big_little: Migrated to using static arrays
arm_big_little: Updated Kconfig to support building thermal as module

Patch 1 extends the CPU nodes binding to provide an optional dynamic power coefficient which can be used to create a dynamic power model for the CPUs. This model is used to constrain device power consumption (using power_allocator governor) when the system is thermally constrained.

Patches 2-3 extends the cpufreq-dt and arm_big_little driver to register cpu cooling devices with the dynamic coefficient when provided.

The patches were previously posted at [0][1][2][3]. Mediatek platform 8173 builds on these bindings to build a power model.

Thanks,
Punit

[0] http://thread.gmane.org/gmane.linux.kernel/2002152
[1] http://thread.gmane.org/gmane.linux.kernel/2011466
[2] http://marc.info/?l=linux-kernel&m=144709020014884&w=2
[3] http://marc.info/?l=linux-pm&m=144770224915315&w=2

Punit Agrawal (3):
devicetree: bindings: Add optional dynamic-power-coefficient property
cpufreq-dt: Supply power coefficient when registering cooling devices
cpufreq: arm_big_little: Add support to register a cpufreq cooling
device

 Documentation/devicetree/bindings/arm/cpus.txt | 17 +++++++++++
 drivers/cpufreq/Kconfig.arm                    |  2 ++
 drivers/cpufreq/arm_big_little.c               | 41 ++++++++++++++++++++++++++
 drivers/cpufreq/cpufreq-dt.c                   |  9 ++++--
 4 files changed, 67 insertions(+), 2 deletions(-)
Signature · 6 lines
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html