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 v6: * Rebased on git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git xceiv commit 6b03b13336ee5d8da7bda8799c9ed990e3daedcc Author: Felipe Balbi <balbi@xxxxxx> Date: Thu Jun 14 13:24:42 2012 +0300 usb: otg: twl: add missing IRQF_ONESHOT Changes from v5: * Rebased on http://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next commit 7e54e97812ccf59e71e002f9bd6d12bf4ab448b8 Author: Du, ChangbinX <changbinx.du@xxxxxxxxx> Date: Wed May 23 02:43:05 2012 +0000 testusb: expose looping forever option "l" to user * Fixed few things which got missed in the previous versions. Changes from v4: * Rebased on http://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next commit cfaf025112d3856637ff34a767ef785ef5cf2ca9 Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Date: Fri Jun 8 18:40:09 2012 -0700 Linux 3.5-rc2 * added chipidea driver to this patch. * Fixed felipe's comments on devres patch. 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 and OMAP3 beagle. 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/ab8500_charger.c | 6 +- drivers/power/isp1704_charger.c | 6 +- drivers/power/pda_power.c | 6 +- drivers/power/twl4030_charger.c | 6 +- drivers/usb/chipidea/udc.c | 8 +- drivers/usb/gadget/fsl_udc_core.c | 2 +- drivers/usb/gadget/mv_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/gadget/s3c-hsudc.c | 4 +- drivers/usb/host/ehci-fsl.c | 6 +- drivers/usb/host/ehci-msm.c | 6 +- drivers/usb/host/ehci-mv.c | 6 +- drivers/usb/host/ehci-tegra.c | 6 +- drivers/usb/host/ohci-omap.c | 6 +- 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/musb_dsps.c | 6 +- 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 | 6 +- drivers/usb/otg/mv_otg.c | 6 +- drivers/usb/otg/nop-usb-xceiv.c | 4 +- drivers/usb/otg/otg.c | 180 ++++++++++++++++++++++++++++++++----- drivers/usb/otg/twl4030-usb.c | 2 +- drivers/usb/otg/twl6030-usb.c | 2 +- include/linux/usb/otg.h | 46 +++++++++- 36 files changed, 280 insertions(+), 110 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