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

From: Stephen Warren
Date: Wed Jun 20 2012 - 14:52:27 EST


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@xxxxxxxxxx>

I'm personally OK with this change as-is, so
Acked-by: Stephen Warren <swarren@xxxxxxxxxxxxx>

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/