mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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:
parent
e3da3d2142
commit
f92dfb0296
1 changed files with 5 additions and 0 deletions
|
|
@ -1182,4 +1182,9 @@
|
|||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
iio_hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&lradc 8>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue