On Tue, Feb 14, 2012 at 12:07:43PM +0100, Lukasz Majewski wrote: > On Tue, 14 Feb 2012 11:40:16 +0200 > Felipe Balbi <balbi@xxxxxx> wrote: > > > this too, should you do runtime detection ? If this is indeed a > > synopsys dwc usb2 core, > Yes, indeed. > > >there might be some read-only registers where > > you can check if device-only, host-only or OTG modes are enabled. > Yes, those registers are available. > > > > BTW, you have a OTG core, at least judging by the filename. > > Yes, the file name is a bit misleading :-). > > The HSOTG driver has been tested with device mode in mind. > I think that a device mode is a good starting point for the dwc2 driver. makes sense to me. Can't wait to see the result you guys come up with ;-) -- balbi
Attachment:
signature.asc
Description: Digital signature