From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pawel Moll Subject: Re: [PATCH v3 2/5] ARM: dts: add reference voltage property for MXS LRADC Date: Thu, 22 Aug 2013 17:50:24 +0100 Message-ID: <1377190224.2626.7.camel@hornet> References: <1374501843-19651-1-git-send-email-hector.palacios@digi.com> <1374501843-19651-3-git-send-email-hector.palacios@digi.com> <520AA3CD.1040008@kernel.org> <1376491467.18617.41.camel@hornet> <52153B8E.7050309@free-electrons.com> <5215C64D.3040004@digi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <5215C64D.3040004-i7dp0qKlBMg@public.gmane.org> Sender: linux-iio-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Hector Palacios Cc: Alexandre Belloni , Jonathan Cameron , "linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , "lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org" , "fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org" , "marex-ynQEQJNshbs@public.gmane.org" , "rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org" , Mark Rutland , Stephen Warren , Ian Campbell List-Id: devicetree@vger.kernel.org On Thu, 2013-08-22 at 09:05 +0100, Hector Palacios wrote: > This was what I originally submitted but it then looked like it would= better fit in=20 > the DeviceTree. The spear-adc seemed to use a similar approach: I'm not sure if it's the best example... I much more prefer the AD7303'= s way: Documentation/devicetree/bindings/iio/dac/ad7303.txt Optional properties: - REF-supply: Phandle to the external reference voltage supply.= This should only be set if there is an external reference voltage connect= ed to the REF pin. If the property is not set Vdd/2 is used as the referenc= e voltage. Pawe=C5=82