Re: [PATCH 06/10] usb: musb: ux500: add device tree probing support

From: Arnd Bergmann
Date: Tue Apr 23 2013 - 11:27:18 EST


On Tuesday 23 April 2013, Felipe Balbi wrote:
> On Tue, Apr 23, 2013 at 05:14:06PM +0200, Arnd Bergmann wrote:
> > On Tuesday 23 April 2013, Lee Jones wrote:
> > > +Required properties:
> > > + - compatible : Should be "stericsson,db8500-musb"
> > > + - reg : Offset and length of registers
> > > + - interrupts : Interrupt; mode, number and trigger
> > > + - mode : One of; "host", "otg", or "peripheral"
> >
> > I think we don't have any precedent for this combination of "mode" property
> > and contents. You could either try to match ehci-omap.txt and do
>
> there is dr_mode which other folks are using. Let's use the same thing.

On that topic, should we support the same property in am35x.c and
musbhsdma.c? They currently use an integer rather than a string.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/