diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2019-01-18 23:52:27 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2019-02-11 21:52:26 +0100 |
commit | e7e871b50f80145d37d13e8fbdc73a7dd52c4d88 (patch) | |
tree | d9f53380e9bd299654460795b7122c50b10aaf37 /arch/arm/boot/dts/meson8m2-mxiii-plus.dts | |
parent | ARM: dts: meson8b: odroidc1: add iio-hwmon for the chip temperature (diff) | |
download | linux-e7e871b50f80145d37d13e8fbdc73a7dd52c4d88.tar.xz linux-e7e871b50f80145d37d13e8fbdc73a7dd52c4d88.zip |
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 <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm/boot/dts/meson8m2-mxiii-plus.dts')
-rw-r--r-- | arch/arm/boot/dts/meson8m2-mxiii-plus.dts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts index f5853610b20b..d1d3c828c039 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"; |