forked from Minki/linux
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 @@
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
iio_hwmon {
|
||||||
|
compatible = "iio-hwmon";
|
||||||
|
io-channels = <&lradc 8>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user