usb: multi-phy support Patch series modifies the otg library to add support for multiple phys and to get a phy by type. This was initally developed to add support for omap5 which has both usb2 phy and usb3 phy. It also does some cleanup like renaming _transceiver with _phy and usb_set_transceiver is replaced with usb_add_phy to make it similar to other usb standard function names like usb_add_hcd. Changes from v3: Rebased on http://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next commit f8f5701bdaf9134b1f90e5044a82c66324d2073f Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Date: Sat Jun 2 18:29:26 2012 -0700 Linux 3.5-rc1 Changes from v2: Added a patch to introduce devm_usb_(get|put)_phy() API's in order to associate a device with usb_phy while get of the phy and removing the association while put of the phy(devm_usb_put_phy). With this the driver need not care about releasing the phy during driver detach. Changes from v1: Added an internal function called __usb_find_phy() that finds and returns the phy as suggested by Felipe on v1 patch series. Changes from RFC: Rebased on http://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next Tested on OMAP4 panda. Kishon Vijay Abraham I (3): usb: otg: utils: rename function name in OTG utils usb: otg: support for multiple transceivers by a single controller usb: otg: utils: devres: Add API's to associate a device with the phy drivers/power/isp1704_charger.c | 6 +- drivers/power/pda_power.c | 6 +- drivers/power/twl4030_charger.c | 6 +- drivers/usb/gadget/fsl_udc_core.c | 2 +- drivers/usb/gadget/omap_udc.c | 6 +- drivers/usb/gadget/pxa25x_udc.c | 6 +- drivers/usb/gadget/pxa27x_udc.c | 4 +- drivers/usb/host/ehci-fsl.c | 2 +- drivers/usb/host/ehci-msm.c | 6 +- drivers/usb/host/ehci-tegra.c | 6 +- drivers/usb/host/ohci-omap.c | 2 +- drivers/usb/musb/am35x.c | 4 +- drivers/usb/musb/blackfin.c | 4 +- drivers/usb/musb/da8xx.c | 4 +- drivers/usb/musb/davinci.c | 6 +- drivers/usb/musb/musb_core.c | 2 +- drivers/usb/musb/omap2430.c | 4 +- drivers/usb/musb/tusb6010.c | 6 +- drivers/usb/musb/ux500.c | 4 +- drivers/usb/otg/ab8500-usb.c | 4 +- drivers/usb/otg/fsl_otg.c | 6 +- drivers/usb/otg/gpio_vbus.c | 4 +- drivers/usb/otg/isp1301_omap.c | 4 +- drivers/usb/otg/msm_otg.c | 4 +- drivers/usb/otg/nop-usb-xceiv.c | 4 +- drivers/usb/otg/otg.c | 176 ++++++++++++++++++++++++++++++++----- drivers/usb/otg/twl4030-usb.c | 2 +- drivers/usb/otg/twl6030-usb.c | 2 +- include/linux/usb/otg.h | 46 +++++++++- 29 files changed, 253 insertions(+), 85 deletions(-) -- 1.7.5.4 -- 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