diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2019-10-21 13:35:25 +0300 |
---|---|---|
committer | Andy Gross <agross@kernel.org> | 2019-10-27 08:05:49 +0300 |
commit | 15424f4fa9d733a6b62da3839cd9e71e056214d7 (patch) | |
tree | f2a864e6bfbdfc0cfa35ba50ddfd6f9e520ff717 | |
parent | 4fc5d78fda7a367f19163b725dbae1bb1796e30c (diff) | |
download | linux-15424f4fa9d733a6b62da3839cd9e71e056214d7.tar.xz |
arm64: dts: msm8916: thermal: Fixup HW ids for cpu sensors
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>
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 5ea9fb8f2f87..8686e101905c 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -179,7 +179,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens 4>; + thermal-sensors = <&tsens 5>; trips { cpu0_1_alert0: trip-point@0 { @@ -209,7 +209,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens 3>; + thermal-sensors = <&tsens 4>; trips { cpu2_3_alert0: trip-point@0 { |