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


Groups > linux.kernel > #1248721 > unrolled thread

[PATCH v3 0/3] Add Palmas iio gpadc

Started by"H. Nikolaus Schaller" <hns@goldelico.com>
First post2015-10-16 15:00 +0200
Last post2015-10-16 15:00 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v3 0/3] Add Palmas iio gpadc "H. Nikolaus Schaller" <hns@goldelico.com> - 2015-10-16 15:00 +0200
    [PATCH v3 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas "H. Nikolaus Schaller" <hns@goldelico.com> - 2015-10-16 15:00 +0200

#1248721 — [PATCH v3 0/3] Add Palmas iio gpadc

From"H. Nikolaus Schaller" <hns@goldelico.com>
Date2015-10-16 15:00 +0200
Subject[PATCH v3 0/3] Add Palmas iio gpadc
Message-ID<qkcM2-6LS-3@gated-at.bofh.it>
H. Nikolaus Schaller (2):
  iio:adc: add iio driver for Palmas (twl6035/7) gpadc
  ARM: dts: omap5-uevm: enable iio gpadc for Palmas

Marek Belisko (1):
  iio:adc:palmas: add DT support

 .../devicetree/bindings/iio/adc/palmas-gpadc.txt   |  48 ++
 arch/arm/boot/dts/omap5-uevm.dts                   |  10 +
 drivers/iio/adc/Kconfig                            |   8 +
 drivers/iio/adc/Makefile                           |   1 +
 drivers/iio/adc/palmas_gpadc.c                     | 859 +++++++++++++++++++++
 include/linux/mfd/palmas.h                         |  75 +-
 6 files changed, 977 insertions(+), 24 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/palmas-gpadc.txt
 create mode 100644 drivers/iio/adc/palmas_gpadc.c

-- 
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/

[toc] | [next] | [standalone]


#1248723 — [PATCH v3 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas

From"H. Nikolaus Schaller" <hns@goldelico.com>
Date2015-10-16 15:00 +0200
Subject[PATCH v3 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas
Message-ID<qkcM3-6LS-29@gated-at.bofh.it>
In reply to#1248721
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 arch/arm/boot/dts/omap5-uevm.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
index 0e8128b..63f81bb 100644
--- a/arch/arm/boot/dts/omap5-uevm.dts
+++ b/arch/arm/boot/dts/omap5-uevm.dts
@@ -342,6 +342,16 @@
 
 			ti,ldo6-vibrator;
 
+			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>;
+			};
+
 			regulators {
 				smps123_reg: smps123 {
 					/* VDD_OPP_MPU */
-- 
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web