On Thu, May 17, 2012 at 09:00:14AM +0000, Chen Peter-B29397 wrote: > > > > > > > So, just to make it really clear: > > > > > > OTG State machine (where applicable), OTG Timers, HNP polling... all of > > > that *MUST* be done generically under drivers/usb/core. The way the > > > underlying HW implements the OTG specification is meaningless to the SW > > > side. > > > > > > The point is that it doesn't which PHY/Link we're using, the OTG > > > specification is always the same, so all those timers and HNP polling > > > and whatnot, can be done generically. > > > > > OK, now, I have understood you, do you think below are correct? > > > > - drivers/usb/otg renames to drivers/usb/phy > > - Both USB PHY driver (PHY function supplier) and USB PHY User (like > > msm_otg.c, > > fsl_otg.c, mv_otg.c, twl6030-usb.c) will be at drivers/usb/phy. > > - msm_otg.c, fsl_otg.c mv_otg.c renames to msm_usb.c, fsl_usb.c, and > > mv_usb.c. > > - otg_fsm.c and otg_fsm.h will be refined and be more generic, and move > > to drivers/usb/core > > > I have found there is already drivers/usb/phy at greg's usb.git (usb-next branch) then let's move other drivers there for v3.6 merge window. -- balbi
Attachment:
signature.asc
Description: Digital signature