Re: [dtc RFC PATCH] Enforce node name unit-address presence/absence

2013-09-19 Thread David Gibson
On Wed, Sep 18, 2013 at 05:02:20PM -0600, Stephen Warren wrote: > On 09/18/2013 02:41 PM, Olof Johansson wrote: > > On Wed, Sep 18, 2013 at 1:23 PM, Stephen Warren > > wrote: > >> From: Stephen Warren > >> > >> ePAPR 1.1 section 2.2.1.1 "Node Name Requirements" specifies that any > >> node that

Re: [dtc RFC PATCH] Enforce node name unit-address presence/absence

2013-09-19 Thread David Gibson
On Wed, Sep 18, 2013 at 02:23:56PM -0600, Stephen Warren wrote: > From: Stephen Warren > > ePAPR 1.1 section 2.2.1.1 "Node Name Requirements" specifies that any > node that has a reg property must include a unit address in its name > with value matching the first entry in its reg property. Conver

Re: [dtc RFC PATCH] Enforce node name unit-address presence/absence

2013-09-19 Thread David Gibson
On Wed, Sep 18, 2013 at 01:41:16PM -0700, Olof Johansson wrote: > On Wed, Sep 18, 2013 at 1:23 PM, Stephen Warren wrote: > > From: Stephen Warren > > > > ePAPR 1.1 section 2.2.1.1 "Node Name Requirements" specifies that any > > node that has a reg property must include a unit address in its name

Re: [dtc RFC PATCH] Enforce node name unit-address presence/absence

2013-09-19 Thread Benjamin Herrenschmidt
On Wed, 2013-09-18 at 13:41 -0700, Olof Johansson wrote: > Also, maybe warn for @0x, which is another unpreferred syntax, it > should just be @ (with foo being in hex). It can also bee @foo,bar, it doesn *have* to match the exact content of the reg property first entry. In fact it's not uncommon t

Re: [dtc RFC PATCH] Enforce node name unit-address presence/absence

2013-09-18 Thread Stephen Warren
On 09/18/2013 02:41 PM, Olof Johansson wrote: > On Wed, Sep 18, 2013 at 1:23 PM, Stephen Warren wrote: >> From: Stephen Warren >> >> ePAPR 1.1 section 2.2.1.1 "Node Name Requirements" specifies that any >> node that has a reg property must include a unit address in its name >> with value matching

Re: [dtc RFC PATCH] Enforce node name unit-address presence/absence

2013-09-18 Thread Olof Johansson
On Wed, Sep 18, 2013 at 1:23 PM, Stephen Warren wrote: > From: Stephen Warren > > ePAPR 1.1 section 2.2.1.1 "Node Name Requirements" specifies that any > node that has a reg property must include a unit address in its name > with value matching the first entry in its reg property. Conversely, if

[dtc RFC PATCH] Enforce node name unit-address presence/absence

2013-09-18 Thread Stephen Warren
From: Stephen Warren ePAPR 1.1 section 2.2.1.1 "Node Name Requirements" specifies that any node that has a reg property must include a unit address in its name with value matching the first entry in its reg property. Conversely, if a node does not have a reg property, the node name must not inclu