ARM: dts: meson: move iio-hwmon for the SoC temperature to meson.dtsi
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 21 Dec 2020 18:13:02 +0000 (19:13 +0100)
committerKevin Hilman <khilman@baylibre.com>
Mon, 25 Jan 2021 17:46:43 +0000 (09:46 -0800)
commite9ced25e41588a2ff95280b4d3dabf3a0865513b
tree77ec781969c13424d8d83c59576100b6aaae05ec
parent5c8fe583cce542aa0b84adc939ce85293de36e5e
ARM: dts: meson: move iio-hwmon for the SoC temperature to meson.dtsi

The SoC temperature can be retrieved from ADC channel 8 on all 32-bit
SoCs (Meson6, Meson8, Meson8b and Meson8m2). Move the iio-hwmon instance
to meson.dtsi instead of duplicating it in all board.dts.
If the temperature sensor calibration data is missing for a board then
iio-hwmon will simply not probe.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20201221181306.904272-2-martin.blumenstingl@googlemail.com
arch/arm/boot/dts/meson.dtsi
arch/arm/boot/dts/meson8b-ec100.dts
arch/arm/boot/dts/meson8b-mxq.dts
arch/arm/boot/dts/meson8b-odroidc1.dts
arch/arm/boot/dts/meson8m2-mxiii-plus.dts