Hi Greg, here's pull request for gadget changes. Please pull on your usb-next branch. The following changes since commit 66f75a5d028beaf67c931435fdc3e7823125730c: Linux 3.4-rc4 (2012-04-21 14:47:52 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/gadget-for-v3.5 for you to fetch changes up to 1d144c6732f6badd4be7a1383a4ae2adcc3f9386: usb:hsotg:samsung: err_irq: support for probe function (2012-05-04 15:53:18 +0300) ---------------------------------------------------------------- usb: gadget: patches for v3.5 This pull request is quite big, but mainly because there's a giant rework of the s3c_hsotg.c driver to make it friendlier for other users. Samsung Exynos platforms use the DesignWare Core USB2 IP from Synopsys so it's a bit unfair to have the driver work for Samsung platforms only. In short, the big rework is in preparation to make the driver more reusable. Another big rework in this pull request came from Ido, where he's removing the redundant pointer for the endpoint descriptor from the controller driver's own endpoint representation. The same pointer is available through the generic struct usb_ep structure. Also on this pull request is the conversion of a few extra controller drivers to the new style registration, which allows multiple controllers to be available on the same platform and helps remove global pointers from those drivers. Together with those big changes, there's the usual fixes and cleanups to gadget drivers. Nothing major. ---------------------------------------------------------------- Axel Lin (1): usb: gadget: use module_pci_driver Dan Carpenter (1): usb: gadget: add a sparse endian notation Fabio Estevam (1): usb: gadget: Include i.MX processors in the USB_FSL_USB2 help text Ido Shayevitz (18): usb: gadget: Update ci13xxx_udc to use usb_endpoint_descriptor inside the struct usb_ep usb: dwc3: Update dwc3 udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update amd5536udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update at91_udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update atmel_usba_udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update fsl_qe_udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update fsl_udc_core to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update fusb300_udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update goku_udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update langwell_udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update m66592-udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update mv_udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update omap_udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update pxa25x_udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update r8a66597-udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update s3c2410_udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update pch_udc to use usb_endpoint_descriptor inside the struct usb_ep usb: gadget: Update s3c-hsudc to use usb_endpoint_descriptor inside the struct usb_ep Lukasz Majewski (18): usb:hsotg:samsung: Remove platform dependency from s3c-hsotg usb:hsotg:samsung: Remove platform dependent functions from s3c-hsotg usb:hsotg:samsung: Wrappers for USB PHY methods usb:hsotg:samsung: Use of regulator_bulk_* functions for USB regulators usb:hsotg:samsung: NAK management for EP0 (Setup stage of control transfers) usb:hsotg:samsung: Sending ZLP packet for IN EP0 transfers usb:hsotg:samsung: Extract core initialization function usb:hsotg:samsung: Remove Disconnect Interrupt handler usb:hsotg:samsung: Rename s3c_hsotg_disconnect function usb:hsotg:samsung: Cable disconnection recovery code usb:hsotg:samsung: Determine number of EPs from HW configuration register usb:hsotg:samsung: Use new udc_start and udc_stop callbacks usb:hsotg:samsung: Comments reorganization and cleanup usb:hsotg:samsung: Remove our_hsotg global pointer usb:hsotg:samsung: Add release function for hsotg device usb:hsotg:samsung: Remove the S3C_ prefix from registers definition. usb:hsotg:samsung: Use clk_prepare_enable and clk_disable_unprepare usb:hsotg:samsung: err_irq: support for probe function Michal Nazarewicz (1): usb: gadget: f_mass_storage: remove deprecated fsg_add() Paul Zimmerman (1): usb: gadget: add isochronous support to gadget zero Peter Chen (1): usb: gadget: fsl_udc_core: dTD's next dtd pointer need to be updated once written Peter Korsgaard (1): f_fs: ffs_func_free: cleanup requests allocated by autoconfig Sebastian Andrzej Siewior (8): usb: gadget: at91_udc: convert to new style start/stop interface usb: gadget: atmel_usba_udc: convert to newstyle start/stop interface usb: gadget: fsl_qe_udc: convert to new style start/stop usb: gadget: fsl_qe_udc: remove not implemented callbacks usb: gadget: imx_udc: convert to new style start/stop usb: gadget: remove DUALSPEED from printer usb: gadget: make g_printer use composite usb: gadget: dummy_hcd: allow to free requests on disabled endpoints Shimoda, Yoshihiro (2): usb: renesas_usbhs: gadget: add support for set_selfpowered usb: gadget: r8a66597-udc: add support for set_selfpowered Yongsul Oh (1): usb: gadget: composite: prevent a memory leak when configuration bind fails arch/arm/mach-exynos/mach-nuri.c | 1 + arch/arm/mach-exynos/mach-universal_c210.c | 1 + arch/arm/mach-s3c64xx/mach-crag6410.c | 2 +- arch/arm/mach-s3c64xx/mach-smartq.c | 2 +- arch/arm/mach-s3c64xx/mach-smdk6410.c | 2 +- arch/arm/mach-s5pv210/mach-goni.c | 1 + arch/arm/plat-samsung/devs.c | 2 +- .../arm/plat-samsung/include/plat/regs-usb-hsotg.h | 379 ----- drivers/usb/dwc3/core.h | 1 - drivers/usb/dwc3/ep0.c | 2 +- drivers/usb/dwc3/gadget.c | 37 +- drivers/usb/gadget/Kconfig | 2 +- drivers/usb/gadget/amd5536udc.c | 27 +- drivers/usb/gadget/amd5536udc.h | 1 - drivers/usb/gadget/at91_udc.c | 75 +- drivers/usb/gadget/at91_udc.h | 3 - drivers/usb/gadget/atmel_usba_udc.c | 76 +- drivers/usb/gadget/atmel_usba_udc.h | 1 - drivers/usb/gadget/ci13xxx_pci.c | 22 +- drivers/usb/gadget/ci13xxx_udc.c | 15 +- drivers/usb/gadget/ci13xxx_udc.h | 1 - drivers/usb/gadget/composite.c | 15 +- drivers/usb/gadget/dummy_hcd.c | 8 +- drivers/usb/gadget/f_fs.c | 14 + drivers/usb/gadget/f_loopback.c | 4 +- drivers/usb/gadget/f_mass_storage.c | 7 - drivers/usb/gadget/f_sourcesink.c | 424 ++++- drivers/usb/gadget/fsl_qe_udc.c | 371 ++--- drivers/usb/gadget/fsl_qe_udc.h | 1 - drivers/usb/gadget/fsl_udc_core.c | 27 +- drivers/usb/gadget/fsl_usb2_udc.h | 1 - drivers/usb/gadget/fusb300_udc.c | 4 +- drivers/usb/gadget/fusb300_udc.h | 1 - drivers/usb/gadget/g_zero.h | 5 +- drivers/usb/gadget/goku_udc.c | 32 +- drivers/usb/gadget/goku_udc.h | 1 - drivers/usb/gadget/imx_udc.c | 53 +- drivers/usb/gadget/langwell_udc.c | 51 +- drivers/usb/gadget/langwell_udc.h | 1 - drivers/usb/gadget/m66592-udc.c | 10 +- drivers/usb/gadget/m66592-udc.h | 2 +- drivers/usb/gadget/mv_udc.h | 1 - drivers/usb/gadget/mv_udc_core.c | 19 +- drivers/usb/gadget/omap_udc.c | 19 +- drivers/usb/gadget/omap_udc.h | 1 - drivers/usb/gadget/pch_udc.c | 29 +- drivers/usb/gadget/printer.c | 470 ++---- drivers/usb/gadget/pxa25x_udc.c | 26 +- drivers/usb/gadget/pxa25x_udc.h | 1 - drivers/usb/gadget/r8a66597-udc.c | 29 +- drivers/usb/gadget/r8a66597-udc.h | 3 +- drivers/usb/gadget/s3c-hsotg.c | 1633 +++++++++++--------- drivers/usb/gadget/s3c-hsotg.h | 377 +++++ drivers/usb/gadget/s3c-hsudc.c | 9 +- drivers/usb/gadget/s3c2410_udc.c | 14 +- drivers/usb/gadget/s3c2410_udc.h | 1 - drivers/usb/gadget/zero.c | 19 +- drivers/usb/renesas_usbhs/mod_gadget.c | 19 +- .../linux/platform_data/s3c-hsotg.h | 5 +- 59 files changed, 2221 insertions(+), 2139 deletions(-) delete mode 100644 arch/arm/plat-samsung/include/plat/regs-usb-hsotg.h create mode 100644 drivers/usb/gadget/s3c-hsotg.h rename arch/arm/plat-samsung/include/plat/udc-hs.h => include/linux/platform_data/s3c-hsotg.h (90%) -- balbi
Attachment:
signature.asc
Description: Digital signature