[PATCH V3 3/3] regulator: dt: add policy to have property "regulator-compatible"

Stephen Warren swarren at wwwdotorg.org
Thu Jun 21 04:52:28 EST 2012


On 06/20/2012 06:23 AM, Laxman Dewangan wrote:
> Add the policy for regulator DT such that if device have multiple
> regulator and its binding contains a child node that describes each
> regulator then each regulator child node must have the property
> "regulator-compatible" which matches with regulator name of their
> hardware counterparts.
> Modify the DT documentation of regulator devices to reflect this
> policy.
> 
> Signed-off-by: Laxman Dewangan <ldewangan at nvidia.com>

I'm personally OK with this change as-is, so
Acked-by: Stephen Warren <swarren at wwwdotorg.org>

I suspect Mark may want the wording in regulators.txt modified a little
to allow each regulator binding to choose whether they want the
regulator child nodes identified using the new regulator-compatible
property, or whether they want each instantiated as an actual device,
using regular device instantiation techniques. That could always be a
later patch though, and I'll leave this aspect up to Mark.


More information about the devicetree-discuss mailing list