Re: [PATCH 1/2] regulator: core: Allow use of "status = disabled" in regulator dts nodes
From: Maxime Ripard
Date: Wed Apr 27 2016 - 11:50:26 EST
Hi Mark,
On Wed, Apr 27, 2016 at 04:01:08PM +0100, Mark Brown wrote:
> On Wed, Apr 27, 2016 at 04:40:05PM +0200, Hans de Goede wrote:
>
> > Or, since regulator_of_get_init_data uses for_each_available_child_of_node
> > which checks the "status" value we can actually already use
> > "status=disabled" cool. So this simply already works :)
>
> To repeat you really shouldn't have *any* DT nodes for regulators that
> aren't in use, there should be nothing to put in their nodes. If
> there's anything there that's a sign that your DT has problems.
How should we deal with regulators that are on by default but are not
used in the system then?
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Attachment:
signature.asc
Description: PGP signature