提交 f92dfb02 编写于 作者: A Alexandre Belloni 提交者: 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: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
上级 e3da3d21
...@@ -1182,4 +1182,9 @@ ...@@ -1182,4 +1182,9 @@
status = "disabled"; status = "disabled";
}; };
}; };
iio_hwmon {
compatible = "iio-hwmon";
io-channels = <&lradc 8>;
};
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册