From: Alexandre Belloni Date: Wed, 18 Dec 2013 18:50:55 +0000 (+0100) Subject: ARM: dts: mxs: Add iio-hwmon to mx28 soc X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f92dfb02961ed196571870599ebe46aa80b86f44;p=linux-beck.git ARM: dts: mxs: Add iio-hwmon to mx28 soc This allows to read the SoC on-die temperature sensor available on the LRADC by using: cat /sys/class/hwmon/hwmon0/device/temp1_input Signed-off-by: Alexandre Belloni Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi index 2575dd834224..f60ed820b40a 100644 --- a/arch/arm/boot/dts/imx28.dtsi +++ b/arch/arm/boot/dts/imx28.dtsi @@ -1182,4 +1182,9 @@ status = "disabled"; }; }; + + iio_hwmon { + compatible = "iio-hwmon"; + io-channels = <&lradc 8>; + }; };