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 d1a28c2..bb87b25 100644 (file)
        };
 };
 
+&saradc {
+       compatible = "amlogic,meson8m2-saradc", "amlogic,meson-saradc";
+};
+
 &wdt {
        compatible = "amlogic,meson8m2-wdt", "amlogic,meson8b-wdt";
 };