Skip to contentSkip to conversation

ARM: dts: imx6ul-pico-hobbit: add adc081c support

PATCH Superseded Winter Wang 2 participants 2 messages Aug 31, 2016

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6ul-pico-hobbit: add adc081c support

enable ADC081C on pico-hobbit

Change-Id Ib1575b50dcf32b74abe0ab618ddc55999d19ee47
---
 arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/imx6ul-pico-hobbit.dts +6 -0
index c72ee8b..b400582 100644
@@ -220,6 +220,12 @@
 			};
 		};
 	};
+
+	adc: adc081c {
+		compatible = "ti,adc081c";
+		reg = <0x50>;
+		vref-supply = <&reg_3p3v>;
+	};
 };
 
 &i2c2 {
Signature · 6 lines
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
reviewer
#1 lore raw

PATCH 1/1 ARM: dts: imx6ul-pico-hobbit: add adc081c support

Hi Winter,

Quoted 3 lines · Winter Wang

enable ADC081C on pico-hobbit

Change-Id: Ib1575b50dcf32b74abe0ab618ddc55999d19ee47

Please remove this line.

Quoted 10 lines
---
 arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/imx6ul-pico-hobbit.dts +0 -0
index c72ee8b..b400582 100644

arch/arm/boot/dts/imx6ul-pico-hobbit.dts line 228

Quoted 9 lines
arch/arm/boot/dts/imx6ul-pico-hobbit.dts +6 -0
@@ -220,6 +220,12 @@
                        };
                };
        };
+
+       adc: adc081c {
+               compatible = "ti,adc081c";
+               reg = <0x50>;
+               vref-supply = <&reg_3p3v>;
+       };

You missed the @50:

adc: adc081 at 50