Re: regulator node names and unit-addresses? (Re: [PATCH v2 1/5] ARM: shmobile: kzm9d: Remove spurious regulator base addresses)
From: Geert Uytterhoeven <hidden>
Date: 2014-09-24 08:21:12
Hi Mark, On Wed, Sep 24, 2014 at 10:14 AM, Mark Brown [off-list ref] wrote:
On Wed, Sep 24, 2014 at 09:02:23AM +0200, Geert Uytterhoeven wrote:quoted
On Wed, Sep 24, 2014 at 3:13 AM, Simon Horman [off-list ref] wrote:quoted
quoted
What should we call the nodes?quoted
"regulator0" and "regulator1"? "regulator1v8" and "regulator3v3"?quoted
Documentation/devicetree/bindings/regulator/regulator.txt doesn't mention node names or (presence/lack of) unit-adresses, but the examples do have unit-addresses.quoted
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 at 0" and "regulator at 1"?
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.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