Message ID | c8ffa8db-2bfd-ee28-a210-4fa752b5ff43@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Heiner Kallweit <hkallweit1@gmail.com> writes: > Now that 3adbf3427330 "iio: adc: add a driver for the SAR ADC found in > Amlogic Meson SoCs" has added support for the ADC, let's enable it > on Odroid C2. > > Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Applied to v4.11/dt64 Thanks, Kevin
Am 01.03.2017 um 19:04 schrieb Kevin Hilman: > Heiner Kallweit <hkallweit1@gmail.com> writes: > >> Now that 3adbf3427330 "iio: adc: add a driver for the SAR ADC found in >> Amlogic Meson SoCs" has added support for the ADC, let's enable it >> on Odroid C2. >> >> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> > > Applied to v4.11/dt64 > Kevin, this didn't show up in mainline yet. Has it been lost somewhere? Heiner > Thanks, > > Kevin >
Heiner Kallweit <hkallweit1@gmail.com> writes: > Am 01.03.2017 um 19:04 schrieb Kevin Hilman: >> Heiner Kallweit <hkallweit1@gmail.com> writes: >> >>> Now that 3adbf3427330 "iio: adc: add a driver for the SAR ADC found in >>> Amlogic Meson SoCs" has added support for the ADC, let's enable it >>> on Odroid C2. >>> >>> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> >> >> Applied to v4.11/dt64 >> > Kevin, this didn't show up in mainline yet. > Has it been lost somewhere? Hmm, indeed it has fallen through the cracks somehow. I've applied it to v4.12/dt64 now. Kevin
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index 714ec145..3877dda6 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -194,6 +194,11 @@ status = "okay"; }; +&saradc { + status = "okay"; + vref-supply = <&vcc1v8>; +}; + /* SD */ &sd_emmc_b { status = "okay";
Now that 3adbf3427330 "iio: adc: add a driver for the SAR ADC found in Amlogic Meson SoCs" has added support for the ADC, let's enable it on Odroid C2. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 5 +++++ 1 file changed, 5 insertions(+)