[PATCH] of: support an enumerated-bus compatible value
Arnd Bergmann
arnd at arndb.de
Wed Jul 25 06:05:50 EST 2012
On Tuesday 24 July 2012, Stephen Warren wrote:
> > 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.
>
> OK, so what is correctly then?
>
> Adding an explicit enumerated-bus compatible value/node-type/binding
> seems like "correctly" to me, but it seemed like others didn't agree.
I'm talking about the issue that you cannot currently have a bus
without a "ranges" property and #size-cells=<0> and expect Linux
to turn the devices on it into platform devices, because the
of_translate_address function fails on this.
Arnd
More information about the devicetree-discuss
mailing list