From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas Date: Wed, 23 Sep 2015 09:56:14 -0700 Message-ID: <20150923165613.GG23801@atomide.com> References: <1437657169.3419965.331206849.51D66A2E@webmail.messagingengine.com> <4254897D-374E-4122-A1A6-269A22C2D622@goldelico.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4254897D-374E-4122-A1A6-269A22C2D622@goldelico.com> Sender: linux-kernel-owner@vger.kernel.org To: "H. Nikolaus Schaller" Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , =?utf-8?Q?Beno=C3=AEt?= Cousson , Russell King , Marek Belisko , Pradeep Goudagunta , Laxman Dewangan , gg@slimlogic.co.uk, jic23@jic23.retrosnub.co.uk, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-iio@vger.kernel.org, notaz@openpandora.org List-Id: devicetree@vger.kernel.org * H. Nikolaus Schaller [150923 05:53]: Missing description? BTW, this I want to queue separately as I have patches in works to support omap5 variants with omap5-board-common.dtsi to avoid duplicating things as we get omap5 better supported for things like regulators. Regards, Tony > Signed-off-by: H. Nikolaus Schaller > --- > 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 >