Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <o.rempel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Oleksij Rempel and committed by
Shawn Guo
7912bda4 b456aed0

+10 -1
+10 -1
arch/arm/boot/dts/imx6qdl-vicut1.dtsi
··· 153 153 frame-master; 154 154 }; 155 155 }; 156 + 157 + thermal-zones { 158 + chassis-thermal { 159 + polling-delay = <20000>; 160 + polling-delay-passive = <0>; 161 + thermal-sensors = <&tsens0>; 162 + }; 163 + }; 156 164 }; 157 165 158 166 &audmux { ··· 331 323 reg = <0x51>; 332 324 }; 333 325 334 - temperature-sensor@70 { 326 + tsens0: temperature-sensor@70 { 335 327 compatible = "ti,tmp103"; 336 328 reg = <0x70>; 329 + #thermal-sensor-cells = <0>; 337 330 }; 338 331 }; 339 332