Thread (1 message) 1 message, 1 author, 2012-07-24

Re: [PATCH] of: support an enumerated-bus compatible value

From: Arnd Bergmann <hidden>
Date: 2012-07-24 20:05:50

On Tuesday 24 July 2012, Stephen Warren wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help