[PATCH v6 3/3] mfd: max14577: Add device tree bindings document

Mark Brown broonie at kernel.org
Wed Dec 4 07:49:29 EST 2013


On Wed, Dec 04, 2013 at 11:20:39AM +0000, Lee Jones wrote:

> > +		regulators {
> > +			compatible = "maxim,max14577-regulator";
> > +
> > +			safeout_reg: safeout at 1 {

> The name of the node (not the label:safeout_reg) usually depicts the
> type of device, so 'regulator at 0' and 'regulator at 1'. However, I'm
> unsure how this works when these nodes are encapsulated by an
> overarching 'regulators' parent node.

> Perhaps Mark can answer this?

The name there is meaningless, the DT convention is as you describe and
applies to any node but equally well it's just a convention and I
struggle to see the value it adds.  Having something that humans find
helpful is just as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131204/dbfbee7f/attachment-0001.sig>


More information about the linux-arm-kernel mailing list