]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: meson8m2: use the Meson8m2 specific SAR ADC compatible
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Fri, 18 Jan 2019 22:52:22 +0000 (23:52 +0100)
committerKevin Hilman <khilman@baylibre.com>
Mon, 11 Feb 2019 20:52:25 +0000 (12:52 -0800)
The SAR ADC on Meson8m2 is slightly different compared to Meson8. The
ADC functionality is identical but the calibration of the internal
thermal sensor is different.

Use the Meson8m2 specific compatible so the temperature sensor is
calibrated correctly on boards using the Meson8m2 SoC.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/meson8m2.dtsi

index d1a28c2adac5c0941a6140dbfff960ebc31f5deb..bb87b251e16de240a6ae1764e9552110e73832d5 100644 (file)
@@ -50,6 +50,10 @@ mux {
        };
 };
 
+&saradc {
+       compatible = "amlogic,meson8m2-saradc", "amlogic,meson-saradc";
+};
+
 &wdt {
        compatible = "amlogic,meson8m2-wdt", "amlogic,meson8b-wdt";
 };