mvebu: fix missing property in puzzle thermal
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 21 May 2024 13:37:14 +0000 (15:37 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 1 Jun 2024 15:40:10 +0000 (16:40 +0100)
Fix missing property in puzzle thermal. The thing was never supposed to
work.

Property #thermal-sensor-cells was missing from the puzzle hwmon, making
the entire thermal platform referencing that fail to probe with -EINVAL.

The puzzle hwmon expose 2 termistor but they probably use an userspace
downstream utility to configure and handle thermal. For this reason we
really don't know what they use the sensor for or when it's attached.

We use them to sensor if the Chassis gets too hot due to ambient
temperature and generic components getting too warm.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/mvebu/files-6.6/arch/arm64/boot/dts/marvell/cn9132-puzzle-m902.dts

index f1cae8e5e426316a1b06fbca0e82c3ee6fbcdc57..1394f2010a2aae92f97e2163fb64a720a5ea2eac 100644 (file)
                        compatible = "iei,wt61p803-puzzle-hwmon";
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       #thermal-sensor-cells = <1>;
 
                        chassis_fan_group0: fan-group@0 {
                                #cooling-cells = <2>;