[PATCH] sunxi: a10-lime: add regulator nodes

Mark Brown broonie at kernel.org
Sat Apr 4 11:54:01 PDT 2015


On Sat, Apr 04, 2015 at 03:05:44PM +0200, Hans de Goede wrote:
> On 04-04-15 14:56, Maxime Ripard wrote:

> >What I do see though, is that if we drop the DTSI, all our
> >boards will have to define all the PMIC regulators, even if they're
> >not used at all on the board, just to have the right behaviour. And
> >that's clearly a no-go for me.

> Right the advantage of the dtsi is that it lasts ALL regulators,
> so that unused ones actually get turned off, where as a dts not using
> the dtsi and only containing those it actually uses will result in
> the unused regulators being untouched (since they are not listed)
> rather then turned off.

Like I said in reply to Maxim a .dtsi does not seem the place to do this
- if it's safe to do it we should be doing it in the core code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150404/0006e92a/attachment.sig>


More information about the linux-arm-kernel mailing list