Skip to content

Commit

Permalink
ARM: dts: mxs: Add iio-hwmon to mx28 soc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Belloni authored and Shawn Guo committed Feb 9, 2014
1 parent e3da3d2 commit f92dfb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/imx28.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1182,4 +1182,9 @@
status = "disabled";
};
};

iio_hwmon {
compatible = "iio-hwmon";
io-channels = <&lradc 8>;
};
};

0 comments on commit f92dfb0

Please sign in to comment.