提交 1a4f28ab 编写于 作者: M Martin Blumenstingl 提交者: Kevin Hilman

ARM: dts: meson8b: ec100: add iio-hwmon for the chip temperature

SAR ADC enabled channel 8 can be used to measure the chip temperature.
This can be made available to the hwmon subsystem by using iio-hwmon.
Signed-off-by: NMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: NKevin Hilman <khilman@baylibre.com>
上级 bbbcf643
......@@ -64,6 +64,11 @@
timeout-ms = <20000>;
};
iio-hwmon {
compatible = "iio-hwmon";
io-channels = <&saradc 8>;
};
leds {
compatible = "gpio-leds";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册