Skip to content

dt: thermal: Fix broken cooling-maps

Viresh Kumar linux-arm-kernel linux-devicetree linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: thermal: Allow multiple devices to share cooling mapDocumentation/devicetree/bindings/thermal/thermal.txt+3 -82 replies
2/2arm64: dts: hi6220: Add all CPUs in cooling mapsarch/arm64/boot/dts/hisilicon/hi6220.dtsi+8 -11 reply

Reviews trailers per patch

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

PatchDaniel LezcanoRob Herring
1/2R-b
2/2A-b

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

Read the v1 thread

Cover letter [PATCH 0/2] dt: thermal: Fix broken cooling-maps

Hi,

This is an attempt to fix the broken or partially defined DT bindings for cooling-maps. We should list every device that participates in cooling down at a certain trip point, instead of just the first in the list as that depends on certain ordering of events to work properly.

The first patch extends the binding to allow a list of phandles in "cooling-device" property and the second patch fixes one of the platform's DT.

This will be followed up by fixing all platform DT bindings that have these issues after this set is accepted.

The kernel also requires some changes to handle the phandle list, but wouldn't break with these changes as it reads the first phandle in the list for now. We can update that separately.

--
viresh

Viresh Kumar (2):
dt-bindings: thermal: Allow multiple devices to share cooling map
arm64: dts: hi6220: Add all CPUs in cooling maps

 Documentation/devicetree/bindings/thermal/thermal.txt | 11 +++--------
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi             |  9 ++++++++-
 2 files changed, 11 insertions(+), 9 deletions(-)
Signature · 1 line
2.18.0.rc1.242.g61856ae69a2c