From: Martin Blumenstingl Date: Fri, 18 Jan 2019 22:52:26 +0000 (+0100) Subject: ARM: dts: meson8b: odroidc1: add iio-hwmon for the chip temperature X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a6c94928261a307002c4f8f3c0875c4a655a3a50;p=linux.git ARM: dts: meson8b: odroidc1: 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-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index 58669abda2594..9251dc102fccc 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -118,6 +118,11 @@ 1800000 1>; }; + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&saradc 8>; + }; + vcc_1v8: regulator-vcc-1v8 { /* * RICHTEK RT9179 configured for a fixed output voltage of