[GIT PULL v2] USB changes for v3.18 merge window

From: Felipe Balbi
Date: Thu Sep 18 2014 - 10:46:17 EST


Hi Greg,

Here you go. This one should be good to go. Sorry for the last minute
change but it was better to revert those patches than having a broken
v3.17 final. Let me know if you want any changes.

cheers

The following changes since commit 9e82bf014195d6f0054982c463575cdce24292be:

Linux 3.17-rc5 (2014-09-14 17:50:12 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/usb-for-v3.18

for you to fetch changes up to 72a65a0d19c16de36e970ca6981732b5e8f7f4c4:

Revert "usb: gadget: composite: dequeue cdev->req before free its buffer" (2014-09-18 09:42:49 -0500)

----------------------------------------------------------------
usb: changes for v3.18 merge window

Quite big pull request this time. Audio and UVC gadgets
can now be used with our configfs-based binding. We have
three PHY drivers being removed because a new one has been
added using new PHY framework.

Gadget framework got a new ->reset callback preparing for
some other changes to come on next merge window.

A few new drivers came in as well; among those we have a
new UDC driver from Xilinx and two new glue layers for
DWC3 (ST and Qualcomm).

DWC3 also learned about tracepoints which will help debugging
quite a bit.

Other than that, a big series of non-critical fixes and
cleanups.

All patches have been on linux-next for quite a bit of time
and I boot tested these changes on platforms I have access
to and work with mainline.

Signed-of-by: Felipe Balbi <balbi@xxxxxx>

----------------------------------------------------------------
Amit Virdi (3):
usb: gadget: zero: Add support for interrupt EP
usbtest: Add interrupt EP testcases
usb: gadget: zero: Fix warning generated by kbuild

Andreas Larsson (2):
usb: gadget: udc_core: Use right kobj when calling sysfs_notify
usb: gadget: gr_udc: Add bounce buffer to handle odd sized OUT requests

Andrzej Pietrasiewicz (23):
usb: gadget: audio: Use container_of to free audio_dev
usb: gadget: f_uac2: convert to new function interface with backward compatibility
usb: gadget: audio: convert to new interface of f_uac2
usb: gadget: f_uac2: remove compatibility layer
usb: gadget: f_uac2: use usb_gstrings_attach
usb: gadget: f_uac2: use defined constants as defaults
usb: gadget: f_uac2: add configfs support
usb: gadget: f_uac1: add function strings
usb: gadget: f_uac1: prepare for separate compilation
usb: gadget: f_uac1: convert to new function interface with backward compatibility
usb: gadget: audio: convert to new interface of f_uac1
usb: gadget: f_uac1: remove compatibility layer
usb: gadget: f_uac1: use usb_gstrings_attach
usb: gadget: f_uac1: use defined constants as defaults
usb: gadget: f_uac1: add configfs support
usb: gadget: f_uvc: fix potential memory leak
usb: gadget: uvc: move module parameters from f_uvc
usb: gadget: uvc: rename functions to avoid conflicts with host uvc
usb: gadget: uvc: separately compile some components of f_uvc
usb: gadget: f_uvc: convert f_uvc to new function interface
usb: gadget: webcam: convert webcam to new interface of f_uvc
usb: gadget: f_uvc: remove compatibility layer
usb: gadget: f_uvc: use usb_gstrings_attach

Bartlomiej Zolnierkiewicz (3):
usb: phy: samsung: remove old USB 2.0 PHY driver
usb: phy: samsung: remove old USB 3.0 PHY driver
usb: phy: samsung: remove old common USB PHY code

Dan Carpenter (1):
usb: gadget: f_fs: signedness bug in __ffs_func_bind_do_descs()

Daniel Mack (6):
usb: gadget: f_uac2: restructure some code in afunc_set_alt()
usb: gadget: f_uac2: add short-hand for 'dev'
usb: gadget: f_uac2: introduce agdev_to_uac2_opts
usb: gadget: f_uac2: handle partial dma area wrap
usb: gadget: f_uac2: send reasonably sized packets
usb: musb: cppi41: tweak hrtimer values

Felipe Balbi (9):
usb: phy: msm: mark msm_otg_mode_fops static
usb: dwc3: move all string helper functions to debug.h
usb: dwc3: debug: add dwc3_gadget_event_type_string
usb: dwc3: gadget: cmd argument should always be unsigned
usb: dwc3: add tracepoints to aid debugging
Merge tag 'v3.17-rc4' into next
Merge tag 'v3.17-rc5' into next
usb: musb: dsps: kill OTG timer on suspend
Revert "usb: gadget: composite: dequeue cdev->req before free its buffer"

Fengguang Wu (1):
usb: gadget: uvc: uvc_alloc() can be static

Geert Uytterhoeven (1):
usb: gadget: USB_RENESAS_USBHS_UDC should depend on HAS_DMA

Himangi Saraogi (1):
usb: gadget: udc: use USB API functions rather than constants

Ivan T. Ivanov (2):
usb: dwc3: qcom: Add device tree binding
usb: dwc3: Add Qualcomm DWC3 glue layer driver

Jingoo Han (2):
usb: dwc3: remove unnecessary OOM messages
usb: phy: samsung: Remove unnecessary lines of register bit definitions

Laurent Pinchart (4):
usb: gadget: f_uvc: Store EP0 control request state during setup stage
usb: gadget: f_uvc: Move to video_ioctl2
usb: gadget: uvc: Fix endianness mismatches
usb: gadget: uvc: Simplify uvcg_video_pump by using local variable

Li Jun (1):
usb: gadget: composite: dequeue cdev->req before free its buffer

Michael Grzeschik (2):
usb: gadget: uvc: Change KERN_INFO to KERN_DEBUG on request shutdown
usb: gadget: uvc: remove DRIVER_VERSION{,_NUMBER}

Michal Nazarewicz (5):
usb: gadget: f_fs: add usb_functionfs_descs_head_v2 structure
tools: ffs-test: convert to new descriptor format
tools: ffs-test: add compatibility code for old kernels
usb: gadget: f_mass_storage: simplify start_transfer slightly
usb: f_fs: replace BUG in dead-code with less serious WARN_ON

Paul Zimmerman (1):
usb: gadget: document a usb_ep_dequeue() requirement

Peter Chen (6):
usb: gadget: add reset API at usb_gadget_driver
usb: gadget: composite: add reset API at usb_gadget_driver
usb: gadget: configfs: add reset API at usb_gadget_driver
usb: gadget: gadgetfs: add reset API at usb_gadget_driver
usb: gadget: dbgp: add reset API at usb_gadget_driver
usb: gadget: udc-core: add utility for bus reset

Peter Griffin (3):
usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC
usb: dwc3: dwc3-st: Add st-dwc3 devicetree bindings documentation
MAINTAINERS: Add dwc3-st.c file to ARCH/STI architecture

Philipp Zabel (1):
usb: gadget: uvc: Add support for DMABUF importing

Richard Leitner (2):
usb: gadget: serial: replace {V,}DBG macro with dev_{v,}dbg
usb: gadget: serial: remove PREFIX macro

Robert Baldyga (2):
usb: gadget: f_fs: add ioctl returning ep descriptor
usb: gadget: f_fs: virtual endpoint address mapping

Srinivas Kandagatla (1):
usb: phy: msm: Make phy_reset clk and reset line optional.

Stefan Agner (1):
usb: phy: mxs: Add VF610 USB PHY support

Subbaraya Sundeep Bhatta (2):
usb: doc: udc-xilinx: Add devicetree bindings
usb: gadget: Add xilinx usb2 device support

Tony Lindgren (1):
usb: phy: twl6030-usb: Remove unused irq_enabled

Wei Yongjun (1):
usb: gadget: Remove redundant dev_err call in r8a66597_sudmac_ioremap()

Yegor Yefremov (1):
usb: gadget: use $(srctree) instead of $(PWD) for includes

Yoshihiro Shimoda (2):
usb: renesas_usbhs: Add device tree bindings documentation
usb: renesas_usbhs: Add device tree support for R-Car H2 and M2

Documentation/ABI/testing/configfs-usb-gadget-uac1 | 12 +
Documentation/ABI/testing/configfs-usb-gadget-uac2 | 12 +
.../devicetree/bindings/phy/qcom-dwc3-usb-phy.txt | 39 +
Documentation/devicetree/bindings/usb/dwc3-st.txt | 68 +
Documentation/devicetree/bindings/usb/mxs-phy.txt | 1 +
.../devicetree/bindings/usb/qcom,dwc3.txt | 66 +
.../devicetree/bindings/usb/renesas_usbhs.txt | 24 +
.../devicetree/bindings/usb/udc-xilinx.txt | 18 +
MAINTAINERS | 3 +-
drivers/usb/dwc3/Kconfig | 17 +
drivers/usb/dwc3/Makefile | 7 +-
drivers/usb/dwc3/core.c | 9 +-
drivers/usb/dwc3/core.h | 4 +-
drivers/usb/dwc3/debug.c | 32 +
drivers/usb/dwc3/debug.h | 200 +-
drivers/usb/dwc3/dwc3-exynos.c | 4 +-
drivers/usb/dwc3/dwc3-omap.c | 4 +-
drivers/usb/dwc3/dwc3-pci.c | 4 +-
drivers/usb/dwc3/dwc3-qcom.c | 131 ++
drivers/usb/dwc3/dwc3-st.c | 367 ++++
drivers/usb/dwc3/ep0.c | 65 +-
drivers/usb/dwc3/gadget.c | 138 +-
drivers/usb/dwc3/gadget.h | 56 -
drivers/usb/dwc3/io.h | 30 +-
drivers/usb/dwc3/trace.c | 19 +
drivers/usb/dwc3/trace.h | 220 ++
drivers/usb/gadget/Kconfig | 9 +
drivers/usb/gadget/Makefile | 2 +-
drivers/usb/gadget/composite.c | 1 +
drivers/usb/gadget/configfs.c | 1 +
drivers/usb/gadget/function/Makefile | 10 +-
drivers/usb/gadget/function/f_acm.c | 49 +-
drivers/usb/gadget/function/f_fs.c | 52 +-
drivers/usb/gadget/function/f_loopback.c | 3 +-
drivers/usb/gadget/function/f_mass_storage.c | 27 +-
drivers/usb/gadget/function/f_obex.c | 28 +-
drivers/usb/gadget/function/f_serial.c | 19 +-
drivers/usb/gadget/function/f_sourcesink.c | 511 ++++-
drivers/usb/gadget/function/f_uac1.c | 337 ++-
drivers/usb/gadget/function/f_uac2.c | 520 +++--
drivers/usb/gadget/function/f_uvc.c | 274 ++-
drivers/usb/gadget/function/f_uvc.h | 13 +-
drivers/usb/gadget/function/g_zero.h | 13 +-
drivers/usb/gadget/function/u_fs.h | 2 +
drivers/usb/gadget/function/u_serial.c | 30 +-
drivers/usb/gadget/function/u_uac1.c | 38 +-
drivers/usb/gadget/function/u_uac1.h | 31 +-
drivers/usb/gadget/function/u_uac2.h | 42 +
drivers/usb/gadget/function/u_uvc.h | 39 +
drivers/usb/gadget/function/uvc.h | 4 +-
drivers/usb/gadget/function/uvc_queue.c | 46 +-
drivers/usb/gadget/function/uvc_queue.h | 33 +
drivers/usb/gadget/function/uvc_v4l2.c | 327 +--
drivers/usb/gadget/function/uvc_v4l2.h | 22 +
drivers/usb/gadget/function/uvc_video.c | 48 +-
drivers/usb/gadget/function/uvc_video.h | 24 +
drivers/usb/gadget/legacy/Kconfig | 3 +
drivers/usb/gadget/legacy/Makefile | 6 +-
drivers/usb/gadget/legacy/audio.c | 149 +-
drivers/usb/gadget/legacy/dbgp.c | 1 +
drivers/usb/gadget/legacy/inode.c | 1 +
drivers/usb/gadget/legacy/webcam.c | 75 +-
drivers/usb/gadget/legacy/zero.c | 21 +
drivers/usb/gadget/udc/Kconfig | 17 +-
drivers/usb/gadget/udc/Makefile | 1 +
drivers/usb/gadget/udc/gr_udc.c | 81 +-
drivers/usb/gadget/udc/gr_udc.h | 7 +
drivers/usb/gadget/udc/r8a66597-udc.c | 10 +-
drivers/usb/gadget/udc/udc-core.c | 31 +-
drivers/usb/gadget/udc/udc-xilinx.c | 2180 ++++++++++++++++++++
drivers/usb/misc/usbtest.c | 113 +-
drivers/usb/musb/musb_cppi41.c | 4 +-
drivers/usb/musb/musb_dsps.c | 2 +
drivers/usb/phy/Kconfig | 16 -
drivers/usb/phy/Makefile | 2 -
drivers/usb/phy/phy-msm-usb.c | 15 +-
drivers/usb/phy/phy-mxs-usb.c | 6 +
drivers/usb/phy/phy-samsung-usb.c | 241 ---
drivers/usb/phy/phy-samsung-usb.h | 349 ----
drivers/usb/phy/phy-samsung-usb2.c | 541 -----
drivers/usb/phy/phy-samsung-usb3.c | 350 ----
drivers/usb/phy/phy-twl6030-usb.c | 2 -
drivers/usb/renesas_usbhs/common.c | 44 +
include/linux/platform_data/samsung-usbphy.h | 27 -
include/linux/usb/gadget.h | 18 +-
include/uapi/linux/usb/functionfs.h | 19 +-
tools/usb/ffs-test.c | 126 +-
87 files changed, 5998 insertions(+), 2565 deletions(-)
create mode 100644 Documentation/ABI/testing/configfs-usb-gadget-uac1
create mode 100644 Documentation/ABI/testing/configfs-usb-gadget-uac2
create mode 100644 Documentation/devicetree/bindings/phy/qcom-dwc3-usb-phy.txt
create mode 100644 Documentation/devicetree/bindings/usb/dwc3-st.txt
create mode 100644 Documentation/devicetree/bindings/usb/qcom,dwc3.txt
create mode 100644 Documentation/devicetree/bindings/usb/renesas_usbhs.txt
create mode 100644 Documentation/devicetree/bindings/usb/udc-xilinx.txt
create mode 100644 drivers/usb/dwc3/debug.c
create mode 100644 drivers/usb/dwc3/dwc3-qcom.c
create mode 100644 drivers/usb/dwc3/dwc3-st.c
create mode 100644 drivers/usb/dwc3/trace.c
create mode 100644 drivers/usb/dwc3/trace.h
create mode 100644 drivers/usb/gadget/function/u_uac2.h
create mode 100644 drivers/usb/gadget/function/u_uvc.h
create mode 100644 drivers/usb/gadget/function/uvc_v4l2.h
create mode 100644 drivers/usb/gadget/function/uvc_video.h
create mode 100644 drivers/usb/gadget/udc/udc-xilinx.c
delete mode 100644 drivers/usb/phy/phy-samsung-usb.c
delete mode 100644 drivers/usb/phy/phy-samsung-usb.h
delete mode 100644 drivers/usb/phy/phy-samsung-usb2.c
delete mode 100644 drivers/usb/phy/phy-samsung-usb3.c
delete mode 100644 include/linux/platform_data/samsung-usbphy.h

--
balbi

Attachment: signature.asc
Description: Digital signature