Hi, On Thu, May 10, 2012 at 3:57 PM, Marek Vasut <marex@xxxxxxx> wrote: > Dear Peter Chen, > >> Hi All, >> >> I would like to go on Heikki Krogerus's generic USB PHY Layer work. >> Below is my initial plan: >> >> 1. Move phy related define from >> include/linux/usb/otg.h to include/linux/usb/phy.h >> and move implementation from >> drivers/usb/otg/otg.c to drivers/usb/phy/phy.c. >> >> It may need to eliminate some relationship between struct usb_otg >> and struct usb_phy, such as delete struct usb_otg *otg from >> struct usb_phy, and change controller drivers to adapt for >> this change. > > Fine with me, sounds good. > >> 2. Implement real generic PHY layer who supports multi-phy and usb >> charger >> It needs to consider some compatibility issues, like current >> usb_get_transceiver has no parameter, but in future it will have >> parameter for phy user. > > I think adapting the drivers to a slightly different API won't be so hard, so I > won't be bothered by that. I have a version of patch specifically to deal with multi-phy. It think I'll post to the list and get some comments. Thanks Kishon -- 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