From: Martin Blumenstingl Date: Thu, 13 Sep 2018 20:29:18 +0000 (+0200) Subject: ARM: dts: meson8b: odroidc1: enable the SAR ADC X-Git-Tag: v4.20-rc1~66^2~35^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fd6643142a0c5ab4d423ed7173a0be414d509214;p=users%2Fjedix%2Flinux-maple.git ARM: dts: meson8b: odroidc1: enable the SAR ADC Odroid-C1 exposes ADC channels 0 and 1 on the GPIO headers. NOTE: Due to the SoC design these are limited to 1.8V (instead of 3.3V like all other pins). Enable the SAR ADC to enable voltage measurements on these pins. Signed-off-by: Martin Blumenstingl Signed-off-by: Kevin Hilman --- diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index a08dccccdb5e1..7c1225658567c 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -246,6 +246,11 @@ pinctrl-names = "default"; }; +&saradc { + status = "okay"; + vref-supply = <&vcc_1v8>; +}; + &sdio { status = "okay";