All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Nikolaus Schaller" <hns@goldelico.com>
To: "Rob Herring" <robh+dt@kernel.org>,
	"Pawel Moll" <pawel.moll@arm.com>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Ian Campbell" <ijc+devicetree@hellion.org.uk>,
	"Kumar Gala" <galak@codeaurora.org>,
	"Benoît Cousson" <bcousson@baylibre.com>,
	"Tony Lindgren" <tony@atomide.com>,
	"Russell King" <linux@arm.linux.org.uk>,
	"Marek Belisko" <marek@goldelico.com>,
	"Pradeep Goudagunta" <pgoudagunta@nvidia.com>,
	"Nikolaus Schaller" <hns@goldelico.com>,
	"Laxman Dewangan" <ldewangan@nvidia.com>,
	gg@slimlogic.co.uk, jic23@jic23.retrosnub.co.uk
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-omap@vger.kernel.org, linux-iio@vger.kernel.org,
	notaz@openpandora.org
Subject: [PATCH 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas
Date: Wed, 23 Sep 2015 14:49:16 +0200	[thread overview]
Message-ID: <4254897D-374E-4122-A1A6-269A22C2D622@goldelico.com> (raw)
In-Reply-To: <cover.1443012491.git.hns@goldelico.com>

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

diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
index 3b16e8f..0d4c8ff 100644
--- a/arch/arm/boot/dts/omap5-uevm.dts
+++ b/arch/arm/boot/dts/omap5-uevm.dts
@@ -342,6 +342,28 @@

			ti,ldo6-vibrator;

+			gpadc {
+				compatible = "ti,palmas-gpadc";
+				interrupts = <18 0
+					      16 0
+					      17 0>;
+				ti,channel0-current-microamp = <5>;
+				ti,channel3-current-microamp = <10>;
+				iio_map {
+					ch1 {
+						ti,adc-channel-number = <1>;
+						ti,adc-consumer-device = "generic-adc-thermal.0";
+						ti,adc-consumer-channel ="battery-temp-channel";
+					};
+
+					ch6 {
+						ti,adc-channel-number = <6>;
+						ti,adc-consumer-device = "palmas-battery";
+						ti,adc-consumer-channel ="vbat_channel";
+					};
+				};
+			};
+
			regulators {
				smps123_reg: smps123 {
					/* VDD_OPP_MPU */
-- 
2.5.1


  parent reply	other threads:[~2015-09-23 12:49 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-20  6:57 twl6030-gpadc support for twl6037 Belisko Marek
2015-07-20  6:57 ` Belisko Marek
     [not found] ` <CAAfyv354=J+iDgLcu9KRZSScGSzYrRsCMmUEc_tW84GfduSebw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-22 19:28   ` Belisko Marek
2015-07-22 19:28     ` Belisko Marek
     [not found]     ` <CAAfyv35bUMZKfMQDJYwD_uGRNOiqLqAB4UG=gREgCSWa8vhjdw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-22 19:33       ` Graeme Gregory
2015-07-22 19:33         ` Graeme Gregory
     [not found]         ` <1437593628.2381718.330572297.2F6F1C50-2RFepEojUI2N1INw9kWLP6GC3tUn3ZHUQQ4Iyu8u01E@public.gmane.org>
2015-07-22 19:41           ` Graeme Gregory
2015-07-22 19:41             ` Graeme Gregory
     [not found]             ` <1437594062.2382998.330577153.4CE28783-2RFepEojUI2N1INw9kWLP6GC3tUn3ZHUQQ4Iyu8u01E@public.gmane.org>
2015-07-22 20:12               ` Dr. H. Nikolaus Schaller
2015-07-22 20:12                 ` Dr. H. Nikolaus Schaller
2015-07-23 12:58               ` gpadc iio support for tlw6037/palmas [was: twl6030-gpadc support for twl6037] Dr. H. Nikolaus Schaller
2015-07-23 12:58                 ` Dr. H. Nikolaus Schaller
     [not found]                 ` <CB1BA4C2-51EC-493D-A290-E506DE974605-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>
2015-07-23 13:12                   ` Graeme Gregory
2015-07-23 13:12                     ` Graeme Gregory
     [not found]                     ` <1437657169.3419965.331206849.51D66A2E-2RFepEojUI2N1INw9kWLP6GC3tUn3ZHUQQ4Iyu8u01E@public.gmane.org>
2015-07-23 14:12                       ` jic23-tko9wxEg+fIOOJlXag/Snyp2UmYkHbXO
2015-07-23 14:12                         ` jic23
2015-09-23 12:48                     ` [PATCH 0/3] Add Palmas iio gpadc H. Nikolaus Schaller
2015-10-04 16:05                       ` [PATCH v2 " H. Nikolaus Schaller
2015-10-04 16:05                         ` H. Nikolaus Schaller
     [not found]                       ` <cover.1443973837.git.hns@goldelico.com>
2015-10-04 16:05                         ` [PATCH v2 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc H. Nikolaus Schaller
2015-10-04 16:05                         ` [PATCH v2 2/3] iio:adc:palmas: add DT support H. Nikolaus Schaller
2015-10-04 16:05                           ` H. Nikolaus Schaller
2015-10-05 11:17                           ` Mark Rutland
2015-10-05 11:17                             ` Mark Rutland
2015-10-05 14:26                             ` H. Nikolaus Schaller
2015-10-04 16:06                         ` [PATCH v2 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas H. Nikolaus Schaller
2015-10-04 16:06                           ` H. Nikolaus Schaller
2015-10-05  6:14                       ` [PATCH v2 0/3] Add Palmas iio gpadc H. Nikolaus Schaller
2015-10-05  6:14                         ` [PATCH v2 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc H. Nikolaus Schaller
2015-10-05  6:14                           ` H. Nikolaus Schaller
2015-10-05  6:54                           ` kbuild test robot
2015-10-05  6:54                             ` kbuild test robot
2015-10-05  6:54                           ` [PATCH] iio:adc: fix platform_no_drv_owner.cocci warnings kbuild test robot
2015-10-05  6:54                             ` kbuild test robot
2015-10-05 10:48                           ` [PATCH v2 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc Laxman Dewangan
2015-10-05 10:48                             ` Laxman Dewangan
2015-10-11 14:27                           ` Jonathan Cameron
2015-10-11 14:27                             ` Jonathan Cameron
2015-10-13  8:14                             ` Lee Jones
2015-10-13  8:14                               ` Lee Jones
2015-10-05  6:14                         ` [PATCH v2 2/3] iio:adc:palmas: add DT support H. Nikolaus Schaller
2015-10-05 10:53                           ` Laxman Dewangan
2015-10-05 10:53                             ` Laxman Dewangan
2015-10-05  6:14                         ` [PATCH v2 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas H. Nikolaus Schaller
     [not found]                     ` <cover.1443012491.git.hns@goldelico.com>
2015-09-23 12:48                       ` [PATCH 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc H. Nikolaus Schaller
2015-09-23 13:26                         ` Peter Meerwald
2015-09-23 13:26                           ` Peter Meerwald
2015-09-24  8:59                           ` H. Nikolaus Schaller
2015-09-24  8:59                             ` H. Nikolaus Schaller
2015-09-27 15:21                         ` Jonathan Cameron
2015-09-27 15:21                           ` Jonathan Cameron
2015-09-28 20:54                           ` H. Nikolaus Schaller
2015-09-28 20:54                             ` H. Nikolaus Schaller
2015-09-28 20:54                             ` H. Nikolaus Schaller
2015-10-04 16:04                           ` H. Nikolaus Schaller
2015-10-04 16:04                             ` H. Nikolaus Schaller
2015-10-11 14:33                             ` Jonathan Cameron
2015-10-11 14:33                               ` Jonathan Cameron
2015-09-23 12:49                       ` [PATCH 2/3] iio:adc:palmas: add DT support H. Nikolaus Schaller
2015-09-27 15:37                         ` Jonathan Cameron
2015-09-27 15:37                           ` Jonathan Cameron
2015-10-04 16:05                           ` H. Nikolaus Schaller
2015-10-04 16:05                             ` H. Nikolaus Schaller
2015-09-23 12:49                       ` H. Nikolaus Schaller [this message]
2015-09-23 16:56                         ` [PATCH 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas Tony Lindgren
2015-09-23 17:03                           ` H. Nikolaus Schaller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4254897D-374E-4122-A1A6-269A22C2D622@goldelico.com \
    --to=hns@goldelico.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=gg@slimlogic.co.uk \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jic23@jic23.retrosnub.co.uk \
    --cc=ldewangan@nvidia.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=marek@goldelico.com \
    --cc=mark.rutland@arm.com \
    --cc=notaz@openpandora.org \
    --cc=pawel.moll@arm.com \
    --cc=pgoudagunta@nvidia.com \
    --cc=robh+dt@kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.