lkml.org 
[lkml]   [2013]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 3/3] mfd: max14577: Add device tree bindings document
On Wed, Dec 04, 2013 at 11:20:39AM +0000, Lee Jones wrote:

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

> The name of the node (not the label:safeout_reg) usually depicts the
> type of device, so 'regulator@0' and 'regulator@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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-12-04 14:41    [W:0.093 / U:1.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site