@@ -270,7 +270,7 @@ cpu_thermal: cpu-thermal {
polling-delay-passive = <1000>; /* milliseconds */
polling-delay = <1000>; /* milliseconds */
- thermal-sensors = <&thermal>;
+ thermal-sensors = <&thermal 0>;
sustainable-power = <1500>; /* milliwatts */
trips {
@@ -766,7 +766,7 @@ spi: spi@1100a000 {
};
thermal: thermal@1100b000 {
- #thermal-sensor-cells = <0>;
+ #thermal-sensor-cells = <1>;
compatible = "mediatek,mt8173-thermal";
reg = <0 0x1100b000 0 0x1000>;
interrupts = <0 70 IRQ_TYPE_LEVEL_LOW>;