arm64: dts: msm8916: thermal: Fixup HW ids for cpu sensors
authorAmit Kucheria <amit.kucheria@linaro.org>
Mon, 21 Oct 2019 10:35:25 +0000 (16:05 +0530)
committerAndy Gross <agross@kernel.org>
Sun, 27 Oct 2019 05:05:49 +0000 (00:05 -0500)
msm8916 uses sensors 0, 1, 2, 4 and 5. Sensor 3 is NOT used. Fixup the
device tree so that the correct sensor ID is used and as a result we can
actually check the temperature for the cpu2_3 sensor.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Andy Gross <agross@kernel.org>
arch/arm64/boot/dts/qcom/msm8916.dtsi

index 5ea9fb8f2f87dfc9fcdc2876094579e1f7b5a254..8686e101905cc0b7dd73d8512838aab51f2f4c24 100644 (file)
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
-                       thermal-sensors = <&tsens 4>;
+                       thermal-sensors = <&tsens 5>;
 
                        trips {
                                cpu0_1_alert0: trip-point@0 {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
-                       thermal-sensors = <&tsens 3>;
+                       thermal-sensors = <&tsens 4>;
 
                        trips {
                                cpu2_3_alert0: trip-point@0 {