From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH v2 1/4] mfd: mc13xxx: add device tree probe support Date: Mon, 5 Dec 2011 19:09:47 +0000 Message-ID: <20111205190946.GD7467@opensource.wolfsonmicro.com> References: <1322731268-12158-1-git-send-email-shawn.guo@linaro.org> <1322731268-12158-2-git-send-email-shawn.guo@linaro.org> <20111202153637.GY8245@opensource.wolfsonmicro.com> <20111205064124.GC2980@S2100-06.ap.freescale.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20111205064124.GC2980-+NayF8gZjK2ctlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Shawn Guo Cc: Sascha Hauer , Samuel Ortiz , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Liam Girdwood , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org On Mon, Dec 05, 2011 at 02:41:24PM +0800, Shawn Guo wrote: > On Fri, Dec 02, 2011 at 03:36:38PM +0000, Mark Brown wrote: > > On Thu, Dec 01, 2011 at 05:21:05PM +0800, Shawn Guo wrote: > > > +Sub-nodes: > > > +- regulators : Contain the regulator nodes. The bindings details of individual > > > + regulator node can be found in: > > > + Documentation/devicetree/bindings/regulator/regulator.txt > > How does the driver figure out which regulators map onto which subnodes? > There should only be one sub-node named 'regulators', otherwise, DTC > will report ERROR (duplicate_node_names). That doesn't answer the question - I've still no idea how the binding is supposed to map the nodes contained within regulators onto the physical regulators.