diff mbox

ARM64: dts: meson-gxbb-odroidc2: Enable SARADC node

Message ID c8ffa8db-2bfd-ee28-a210-4fa752b5ff43@gmail.com (mailing list archive)
State Accepted
Headers show

Commit Message

Heiner Kallweit Feb. 14, 2017, 9:18 p.m. UTC
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(+)

Comments

Kevin Hilman March 1, 2017, 6:04 p.m. UTC | #1
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
Heiner Kallweit April 2, 2017, 8:13 a.m. UTC | #2
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
>
Kevin Hilman April 3, 2017, 3:56 p.m. UTC | #3
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 mbox

Patch

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";