mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-24 19:40:21 +09:00
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
This commit is contained in:
committed by
Kevin Hilman
parent
5c8fe583cc
commit
e9ced25e41
@@ -11,6 +11,11 @@
|
||||
#size-cells = <1>;
|
||||
interrupt-parent = <&gic>;
|
||||
|
||||
iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&saradc 8>;
|
||||
};
|
||||
|
||||
soc {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
|
||||
@@ -70,11 +70,6 @@
|
||||
timeout-ms = <20000>;
|
||||
};
|
||||
|
||||
iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&saradc 8>;
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
|
||||
@@ -27,11 +27,6 @@
|
||||
reg = <0x40000000 0x40000000>;
|
||||
};
|
||||
|
||||
iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&saradc 8>;
|
||||
};
|
||||
|
||||
vcck: regulator-vcck {
|
||||
compatible = "pwm-regulator";
|
||||
|
||||
|
||||
@@ -85,11 +85,6 @@
|
||||
1800000 1>;
|
||||
};
|
||||
|
||||
iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&saradc 8>;
|
||||
};
|
||||
|
||||
rtc32k_xtal: rtc32k-xtal-clk {
|
||||
/* X3 in the schematics */
|
||||
compatible = "fixed-clock";
|
||||
|
||||
@@ -45,11 +45,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&saradc 8>;
|
||||
};
|
||||
|
||||
vcc_3v3: regulator-vcc3v3 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "VCC3V3";
|
||||
|
||||
Reference in New Issue
Block a user