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-Tag: next-20140106~108^2~27 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=efd2a64e46f15fc1d43e5efd9b780b9d87d75d10;p=karo-tx-linux.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 8a2a70d24d14..40176f44b513 100644 --- a/arch/arm/boot/dts/imx28.dtsi +++ b/arch/arm/boot/dts/imx28.dtsi @@ -1181,4 +1181,9 @@ status = "disabled"; }; }; + + iio_hwmon { + compatible = "iio-hwmon"; + io-channels = <&lradc 8>; + }; };