Re: RFC: Platform data for onboard USB assets

From
Arnd Bergmann <hidden>
Date
2011-03-18 08:19:22
Also in
lkml
Reply to
Grant Likely, 2011-03-18
On Friday 18 March 2011, Grant Likely wrote:
On Thu, Mar 17, 2011 at 11:18:41PM +0000, Andy Green wrote:
quoted
On 03/17/2011 10:53 PM, Somebody in the thread at some point said:
quoted
quoted
Not tested!

Signed-off-by: Arnd Bergmann<redacted>
<snip>

Very nice.

Andy and Mark, would this patch work for you?
You do realize this untested patch depends on 13 year old vapour
definition of general usb device tagging in Device Tree that does
not exist yet?
IIRC, not vapour.  I believe this binding is currently used by Open
Firmware on existing PowerPC, SPARC and x86 machines.  Linux doesn't
use the binding because up to this point Linux hasn't cared about how
firmware initialized the usb bus.  It just reinitializes everything
anyway.
I'm not proposing to use the binding for the complete USB probing, that
would just duplicate the probing code that we already have. We could
howeve check some properties from the binding against what the Linux
drivers see.

Most importantly, we can assign the device_node pointer for each
hardwired USB device to the usb_device structure, that should be
really simple. The only reason why I pointed to the spec is to
make sure we don't put incompatible properties in the tree and
instead just do whatever we need according to the spec but leave
out all the optional parts.

	Arnd
Thread (32 messages) 32 messages, 7 authors, last reply 2011-03-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help