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. -- Best regards, Lukasz Majewski Samsung Poland R&D Center Platform Group -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html