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 <alexandre.belloni@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
Alexandre Belloni 2013-12-18 19:50:55 +01:00 committed by Shawn Guo
parent e3da3d2142
commit f92dfb0296

View File

@ -1182,4 +1182,9 @@
status = "disabled";
};
};
iio_hwmon {
compatible = "iio-hwmon";
io-channels = <&lradc 8>;
};
};