From: Martin Blumenstingl Date: Fri, 18 Jan 2019 22:52:25 +0000 (+0100) Subject: ARM: dts: meson8b: ec100: add iio-hwmon for the chip temperature X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~3432^2~24^2~5 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=1a4f28ab2556deacd34b925bf419432a59670af6;p=mirror_ubuntu-focal-kernel.git 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: Martin Blumenstingl Signed-off-by: Kevin Hilman --- diff --git a/arch/arm/boot/dts/meson8b-ec100.dts b/arch/arm/boot/dts/meson8b-ec100.dts index 0872f6e3abf5..0cebe849a920 100644 --- a/arch/arm/boot/dts/meson8b-ec100.dts +++ b/arch/arm/boot/dts/meson8b-ec100.dts @@ -64,6 +64,11 @@ timeout-ms = <20000>; }; + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&saradc 8>; + }; + leds { compatible = "gpio-leds";