From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Subject: Re: [PATCH v2 2/5] ARM: dts: add reference voltage property for MXS LRADC Date: Fri, 19 Jul 2013 15:58:16 +0200 Message-ID: <201307191558.17158.marex@denx.de> References: <1374225208-28940-1-git-send-email-hector.palacios@digi.com> <1374225208-28940-3-git-send-email-hector.palacios@digi.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1374225208-28940-3-git-send-email-hector.palacios-i7dp0qKlBMg@public.gmane.org> Sender: linux-iio-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Hector Palacios Cc: linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org, fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org List-Id: devicetree@vger.kernel.org Dear Hector Palacios, > Some LRADC channels have fixed pre-dividers so they can measure > different voltages at full scale. The reference voltage allows to > expose a scaling attribute through the IIO sysfs so that a user can > compute the real voltage out of a measured sample value. > > Signed-off-by: Hector Palacios > --- > Documentation/devicetree/bindings/staging/iio/adc/mxs-lradc.txt | 9 > ++++++++- arch/arm/boot/dts/imx23.dtsi > | 4 ++++ arch/arm/boot/dts/imx28.dtsi | > 4 ++++ 3 files changed, 16 insertions(+), 1 deletion(-) > > diff --git > a/Documentation/devicetree/bindings/staging/iio/adc/mxs-lradc.txt > b/Documentation/devicetree/bindings/staging/iio/adc/mxs-lradc.txt index > 4688205..6ec485c 100644 > --- a/Documentation/devicetree/bindings/staging/iio/adc/mxs-lradc.txt > +++ b/Documentation/devicetree/bindings/staging/iio/adc/mxs-lradc.txt > @@ -1,9 +1,12 @@ > * Freescale i.MX28 LRADC device driver > > Required properties: > -- compatible: Should be "fsl,imx28-lradc" > +- compatible: "fsl,imx28-lradc", "fsl,imx23-lradc" This is a separate fix, but I think it's not that important to rework the whole patchset because of it. Acked-by: Marek Vasut Best regards, Marek Vasut