From: Martin Blumenstingl Date: Fri, 18 Jan 2019 22:52:27 +0000 (+0100) Subject: ARM: dts: meson8m2: mxiii-plus: add iio-hwmon for the chip temperature X-Git-Tag: v5.15~6897^2~24^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7e871b50f80145d37d13e8fbdc73a7dd52c4d88;p=platform%2Fkernel%2Flinux-starfive.git ARM: dts: meson8m2: mxiii-plus: 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/meson8m2-mxiii-plus.dts b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts index f585361..d1d3c82 100644 --- a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts +++ b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts @@ -44,6 +44,11 @@ }; }; + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&saradc 8>; + }; + vcc_3v3: regulator-vcc3v3 { compatible = "regulator-fixed"; regulator-name = "VCC3V3";