mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02: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
|
|
@ -1182,4 +1182,9 @@ etn_switch: switch@800f8000 {
|
|||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
iio_hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&lradc 8>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user