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 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 (2): usb: otg: utils: rename function name in OTG utils usb: otg: support for multiple transceivers by a single controller 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 | 118 +++++++++++++++++++++++++++++------- drivers/usb/otg/twl4030-usb.c | 2 +- drivers/usb/otg/twl6030-usb.c | 2 +- include/linux/usb/otg.h | 33 +++++++++-- 29 files changed, 181 insertions(+), 86 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