From: Oleksij Rempel Date: Tue, 19 Apr 2022 04:48:24 +0000 (+0200) Subject: ARM: dts: imx6qdl-vicut1.dtsi: add thermal zone and attach tmp103 to it. X-Git-Tag: v6.6.17~7444^2~11^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7912bda4f60dbb86c5aaa41fc1d36e639780ac90;p=platform%2Fkernel%2Flinux-rpi.git ARM: dts: imx6qdl-vicut1.dtsi: add thermal zone and attach tmp103 to it. Latest version of ti,tmp103 driver supports thermal zone. So make use of it. Signed-off-by: Oleksij Rempel Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx6qdl-vicut1.dtsi b/arch/arm/boot/dts/imx6qdl-vicut1.dtsi index c928bd8..a1676b5 100644 --- a/arch/arm/boot/dts/imx6qdl-vicut1.dtsi +++ b/arch/arm/boot/dts/imx6qdl-vicut1.dtsi @@ -153,6 +153,14 @@ frame-master; }; }; + + thermal-zones { + chassis-thermal { + polling-delay = <20000>; + polling-delay-passive = <0>; + thermal-sensors = <&tsens0>; + }; + }; }; &audmux { @@ -323,9 +331,10 @@ reg = <0x51>; }; - temperature-sensor@70 { + tsens0: temperature-sensor@70 { compatible = "ti,tmp103"; reg = <0x70>; + #thermal-sensor-cells = <0>; }; };