Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1301476

[PATCH 2/3] ARM: dts: omap5-board-common: enable iio gpadc for Palmas

From "H. Nikolaus Schaller" <hns@goldelico.com>
Newsgroups linux.kernel
Subject [PATCH 2/3] ARM: dts: omap5-board-common: enable iio gpadc for Palmas
Date 2016-01-05 13:10 +0100
Message-ID <qNyB6-2yO-51@gated-at.bofh.it> (permalink)
References <qNyB4-2yO-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


tested on OMP5432 EVM

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 arch/arm/boot/dts/omap5-board-common.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi
index 30c0d3b..56429ce 100644
--- a/arch/arm/boot/dts/omap5-board-common.dtsi
+++ b/arch/arm/boot/dts/omap5-board-common.dtsi
@@ -366,6 +366,16 @@
 			ti,backup-battery-charge-high-current;
 		};
 
+		gpadc {
+			compatible = "ti,palmas-gpadc";
+			interrupts = <18 0
+				      16 0
+				      17 0>;
+			#io-channel-cells = <1>;
+			ti,channel0-current-microamp = <5>;
+			ti,channel3-current-microamp = <10>;
+		};
+
 		palmas_pmic {
 			compatible = "ti,palmas-pmic";
 			interrupt-parent = <&palmas>;
-- 
2.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] Enable twl603x-GPADC for some OMAP4/OMAP5 boards and Palmas-RTC for OMAP5 "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-01-05 13:10 +0100
  [PATCH 2/3] ARM: dts: omap5-board-common: enable iio gpadc for Palmas "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-01-05 13:10 +0100
  [PATCH 3/3] ARM: dts: twl6030: add gpadc "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-01-05 13:10 +0100

csiph-web