[PATCH v2] ARM: dts: imx6ul-pico-hobbit: add adc081c support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




enable ADC081C on pico-hobbit

Signed-off-by: Winter Wang <wente.wang@xxxxxxx>
---
Changes from v1 to v2:
	Add unit address for adc081
	Remove Chang-ID in commit message

 arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts
index c72ee8b..cefef49 100644
--- a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts
+++ b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts
@@ -220,6 +220,12 @@
 			};
 		};
 	};
+
+	adc: adc081c@50 {
+		compatible = "ti,adc081c";
+		reg = <0x50>;
+		vref-supply = <&reg_3p3v>;
+	};
 };
 
 &i2c2 {
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux