[PATCH 2/2] arm64: dts: mt8173: Update thermal node

matthias.bgg at kernel.org matthias.bgg at kernel.org
Tue May 30 08:04:13 PDT 2023


From: Matthias Brugger <matthias.bgg at gmail.com>

Following the binding description, update to use
thermal-sensor-cells = 1

Signed-off-by: Matthias Brugger <matthias.bgg at gmail.com>

---

 arch/arm64/boot/dts/mediatek/mt8173.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index c47d7d900f28..44c553bddd46 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -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 at 1100a000 {
 		};
 
 		thermal: thermal at 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>;
-- 
2.40.1




More information about the Linux-mediatek mailing list