Commit f92dfb02 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Shawn Guo

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: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent e3da3d21
......@@ -1182,4 +1182,9 @@ etn_switch: switch@800f8000 {
status = "disabled";
};
};
iio_hwmon {
compatible = "iio-hwmon";
io-channels = <&lradc 8>;
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment