]> www.infradead.org Git - users/willy/linux.git/commit
ARM: dts: sti: add thermal-zones support on stih418
authorRaphael Gallais-Pou <rgallaispou@gmail.com>
Tue, 25 Jun 2024 21:32:42 +0000 (23:32 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 28 Jun 2024 08:17:22 +0000 (10:17 +0200)
commitb664f6f7a77a41b0e8da7e12534debc94c9d23db
tree19715364de0c34c81dbc3120ee12c448eb2f3b8d
parente00d100a94a15531eec0caf2dddfeec439690097
ARM: dts: sti: add thermal-zones support on stih418

Add a 'thermal-zones' node for stih418.

A thermal-zone needs three components:
  - thermal sensors, described in an earlier commit[1]
  - cooling devices, specified for each CPU
  - a thermal zone, describing the overall behavior.

The thermal zone needs references to both CPUs and thermal sensors,
which phandle are also added. The thermal management will then be
achieved on CPUs using the cpufreq framework.

[1] https://lore.kernel.org/lkml/20240320-thermal-v3-2-700296694c4a@gmail.com/

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/boot/dts/st/stih407-family.dtsi
arch/arm/boot/dts/st/stih418.dtsi