[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1300488849.22236.1296.camel@pasglop>
Date: Sat, 19 Mar 2011 09:54:09 +1100
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: andy.green@...aro.org
Cc: Greg KH <greg@...ah.com>, Arnd Bergmann <arnd@...db.de>,
Grant Likely <grant.likely@...retlab.ca>,
devicetree-discuss@...ts.ozlabs.org,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Nicolas Pitre <nicolas.pitre@...aro.org>,
Linux USB list <linux-usb@...r.kernel.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: RFC: Platform data for onboard USB assets
On Fri, 2011-03-18 at 07:42 +0000, Andy Green wrote:
>
> No, if you read Arnd's post you will find Device Tree does not support
> targeting USB devices yet, and if you further read the 1998 document he
> points to as the basis of actually implementing it, it seems to me at
> least it'll be a little project yet to do that on Linux side.
You are getting seriously full of sh*t here. Read again what Arnd said
rather than twisting it to try to make your point.
The age of the OF binding document for USB has no relevance. The fact
that it's a very simple binding however does. As Arnd mention, nobody
says that somebody/something has to generate a full and complete
representation of USB for your board, that would be beyond the scope.
However, it should be trivial to layout in the fixed part of the board
device-tree nodes representing on-board (fixed) devices with the right
amount of properties for allowing the linkage to happen between those
nodes and the Linux usb_device object.
Basically it boils down to one property afaik, "reg". That's about it
(oh and possibly #address-cells and compatible for hubs that are on the
way to the device if any). About 15mn of work if you are familiar with
the .dts syntax, maybe twice as much if you are not.
Cheers,
Ben.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists