All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* /aliases node and valid property names
@ 2017-03-18  1:19 Tom Rini
  2017-03-20  5:27 ` David Gibson
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2017-03-18  1:19 UTC (permalink / raw
  To: devicetree-spec-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

Hey all,

I found out about https://github.com/raspberrypi/firmware/issues/613 and
in digging a little harder, this is not the first case where 'ethernet'
has been added rather than 'ethernet0'.  Looking at the spec, it's
implied (by all the examples) that property names end in a number but
it's certainly allowable by the way things are worded to not.  Is it
worth adding any further words here, another example, or just leaving
everything alone?  Thanks!

-- 
Tom

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: /aliases node and valid property names
  2017-03-18  1:19 /aliases node and valid property names Tom Rini
@ 2017-03-20  5:27 ` David Gibson
       [not found]   ` <20170320052705.GB29814-K0bRW+63XPQe6aEkudXLsA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: David Gibson @ 2017-03-20  5:27 UTC (permalink / raw
  To: Tom Rini; +Cc: devicetree-spec-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

On Fri, Mar 17, 2017 at 09:19:06PM -0400, Tom Rini wrote:
> Hey all,
> 
> I found out about https://github.com/raspberrypi/firmware/issues/613 and
> in digging a little harder, this is not the first case where 'ethernet'
> has been added rather than 'ethernet0'.  Looking at the spec, it's
> implied (by all the examples) that property names end in a number but
> it's certainly allowable by the way things are worded to not.  Is it
> worth adding any further words here, another example, or just leaving
> everything alone?  Thanks!

Numbers shouldn't be required.  Certainly on old OF-era machines,
aliases called simply 'net' or 'disk' were both common and useful.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: /aliases node and valid property names
       [not found]   ` <20170320052705.GB29814-K0bRW+63XPQe6aEkudXLsA@public.gmane.org>
@ 2017-03-20 11:21     ` Tom Rini
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Rini @ 2017-03-20 11:21 UTC (permalink / raw
  To: David Gibson; +Cc: devicetree-spec-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

On Mon, Mar 20, 2017 at 04:27:05PM +1100, David Gibson wrote:
> On Fri, Mar 17, 2017 at 09:19:06PM -0400, Tom Rini wrote:
> > Hey all,
> > 
> > I found out about https://github.com/raspberrypi/firmware/issues/613 and
> > in digging a little harder, this is not the first case where 'ethernet'
> > has been added rather than 'ethernet0'.  Looking at the spec, it's
> > implied (by all the examples) that property names end in a number but
> > it's certainly allowable by the way things are worded to not.  Is it
> > worth adding any further words here, another example, or just leaving
> > everything alone?  Thanks!
> 
> Numbers shouldn't be required.  Certainly on old OF-era machines,
> aliases called simply 'net' or 'disk' were both common and useful.

OK.  So leave things alone, or add a sentence / example without (and
assume that this thread will be enough for anyone in the future who sees
the occasional alias without a number and wonders if that's valid) ?
Thanks!

-- 
Tom

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-20 11:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-18  1:19 /aliases node and valid property names Tom Rini
2017-03-20  5:27 ` David Gibson
     [not found]   ` <20170320052705.GB29814-K0bRW+63XPQe6aEkudXLsA@public.gmane.org>
2017-03-20 11:21     ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.