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-20131220~106^2^2~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=413d4e051808932dddbfa8f749e963ae6fb7db6c;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>; + }; };