From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: regulator node names and unit-addresses? (Re: [PATCH v2 1/5] ARM: shmobile: kzm9d: Remove spurious regulator base addresses) Date: Wed, 24 Sep 2014 10:21:12 +0200 Message-ID: References: <20140924081455.GU4015@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <20140924081455.GU4015-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Mark Brown Cc: Simon Horman , Liam Girdwood , Linux-sh list , Ulrich Hecht , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , Magnus Damm , Olof Johansson , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: devicetree@vger.kernel.org Hi Mark, On Wed, Sep 24, 2014 at 10:14 AM, Mark Brown wrote: > On Wed, Sep 24, 2014 at 09:02:23AM +0200, Geert Uytterhoeven wrote: >> On Wed, Sep 24, 2014 at 3:13 AM, Simon Horman wrote: > >> > What should we call the nodes? > >> "regulator0" and "regulator1"? >> "regulator1v8" and "regulator3v3"? > >> Documentation/devicetree/bindings/regulator/regulator.txt doesn't mention >> node names or (presence/lack of) unit-adresses, but the examples do have >> unit-addresses. > >> Is this another case where we don't follow the "no reg, no unit-address" >> ePAPR rule? > > As far as the regulator API is concerned the node name is completly > immaterial and all this stuff is just verbiage we're forced to include. > As far as I can tell the requirement that node names be in the form > "regulator" or whatever is just another thing that wasn't terribly well > thought through in ePAPR, they were trying to do classes I think. So perhaps we should just keep "regulator@0" and "regulator@1"? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html