[PATCH] of: support an enumerated-bus compatible value
Arnd Bergmann
arnd at arndb.de
Wed Jul 25 04:48:53 EST 2012
On Tuesday 24 July 2012, Stephen Warren wrote:
>
> That makes the child nodes' reg property slightly more complex since I
> don't get to elide the size cell, but does mean that we don't have to
> change anything (code or bindings) at all to make it work. I guess the
> lack of any ranges property within the top-level regulators node makes
> it clear enough that the bus/child address space is not part of the
> parent CPU's address space.
One would think that, but the of_address handling code actually treats
empty ranges the same as missing ranges, in violation of the spec,
and as a workaround to deal with some powermac machines that required
this.
I'd rather fix the code to deal with this correctly.
Arnd
More information about the devicetree-discuss
mailing list