Skip to contentSkip to conversation

USB patches for v4.2 merge window

GIT PULL Felipe Balbi 2 participants 2 messages Jun 1, 2015 – Jun 2, 2015

lore
Share & tools
lore
#0 lore raw

Hi Greg,

Here's my giant pull request for v4.2 merge window.

This time "only" 96 non-merge commits. The important stuff is listed below.

Let me know if you require any changes to the pull request.

cheers

The following changes since commit b787f68c36d49bb1d9236f403813641efa74a031:

Linux 4.1-rc1 (2015-04-26 17:59:10 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/usb-for-v4.2

for you to fetch changes up to e18b7975c885bc3a938b9a76daf32957ea0235fa:

usb: dwc3: gadget: don't clear EP_BUSY too early (2015-05-29 10:19:51 -0500)

----------------------------------------------------------------
usb: patches for v4.2 merge window

- dwc2 adds hibernation support
- preparation for sunxi glue to musb driver
- new ULPI bus
- new ULPI PHY driver for TUSB1210
- musb patches to support multiple DMA engines on same binary
- support for R-Car E2 on renesas_usbhs

----------------------------------------------------------------
Andrzej Pietrasiewicz (6):
usb: gadget: rndis: use rndis_params instead of configNr
usb: gadget: rndis: style correction
usb: gadget: rndis: remove the limit of available rndis connections
usb: gadget: rndis: change the value passed to rndis_signal_(dis)connect()
usb: gadget: rndis: don't duplicate the "i" variable
usb: gadget: rndis: use signed type for a signed value

Arnd Bergmann (2):
usb: renesas_usbhs: avoid uninitialized variable use
usb: phy: add static inline wrapper for devm_usb_get_phy_by_node

Bin Liu (2):
usb: musb: only set test mode once
usb: musb: add softconnect for host mode

Felipe Balbi (6):
usb: dwc2: hcd: fix build warning
usb: gadget: atmel: fix build warning
usb: musb: am35x: fix build warnings
usb: musb: ux500: fix build warnings
usb: gadget: atmel: fix build warnings
usb: dwc3: gadget: don't clear EP_BUSY too early

Geert Uytterhoeven (2):
usb: phy: Remove the phy-rcar-gen2-usb driver
usb: phy: Allow compile test of GPIO consumers if !GPIOLIB

Gregory Herrero (15):
usb: dwc2: add controller hibernation support
usb: dwc2: implement hibernation during bus suspend/resume
usb: dwc2: controller must update lx_state before releasing lock
usb: dwc2: add external_id_pin_ctl core parameter
usb: dwc2: gadget: use reset detect interrupt
usb: dwc2: gadget: ignore pm suspend/resume in L2
usb: dwc2: gadget: prevent new request submission during suspend
usb: dwc2: gadget: powerup controller if needed
usb: dwc2: gadget: enable otg flag in dual role configuration
usb: dwc2: host: add bus_suspend/bus_resume callback
usb: dwc2: host: resume root hub on port connect
usb: dwc2: host: spinlock urb_enqueue
usb: dwc2: host: don't use dma_alloc_coherent with irqs disabled
usb: dwc2: add hibernation core parameter
usb: dwc2: host: ensure qtb exists before dereferencing it

Hans de Goede (6):
usb: musb: Add pre and post root port reset end callbacks
usb: musb: Make musb_write_rxfun* and musb_write_rxhub* work like their tx versions
usb: musb: Make busctl_offset an io-op rather then a define
usb: musb: Do not use musb_read[b|w] / _write[b|w] wrappers in generic fifo functions
usb: musb: Fix platform code being unable to override ep access ops
phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect

Heikki Krogerus (12):
usb: add bus type for USB ULPI
usb: dwc3: USB2 PHY register access bits
usb: dwc3: ULPI or UTMI+ select
usb: dwc3: store driver data earlier
usb: dwc3: cache hwparams earlier
usb: dwc3: soft reset to it's own function
usb: dwc3: setup phys earlier
usb: dwc3: add hsphy_interface property
usb: dwc3: pci: add quirk for Baytrails
usb: dwc3: add ULPI interface support
phy: helpers for USB ULPI PHY registering
phy: add driver for TI TUSB1210 ULPI PHY

Ivan T. Ivanov (2):
usb: phy: msm: Use extcon framework for VBUS and ID detection
usb: phy: msm: Manual PHY and LINK controller VBUS change notification

Jingwu Lin (1):
usb: dwc2: host: implement test mode

Joe Perches (1):
usb: gadget: s3c2410_udc: Remove static char buffer, use vsprintf extension %pV

Johan Hovold (1):
usb: musb: fix inefficient copy of unaligned buffers

Krzysztof Kozlowski (1):
usb: phy-ab8500-usb: Constify platform_device_id

Kuninori Morimoto (1):
usb: renesas_usbhs: tidyup usbhs_for_each_dfifo macro

Mian Yousaf Kaukab (16):
usb: dwc2: move debugfs code to a separate file
usb: dwc2: debugfs: add support for complete register dump
usb: dwc2: set parameter values in probe function
usb: dwc2: gadget: remove s3c_hsotg_ep_disable_force
usb: dwc2: host: register handle to the phy
usb: dwc2: remove dwc2_platform.ko
usb: gadget: net2280: fix ep_cfg for defect7374
usb: gadget: net2280: reset sequence number on ep enable
usb: gadget: net2280: unconditionally reset dma in usb_reset
usb: gadget: net2280: don't set ep_cfg.direction bit
usb: gadget: net2280: set all byte enables on start
usb: gadget: net2280: check interrupts for all endpoints
usb: gadget: net2280: fix use of GPEP in both directions
usb: gadget: autoconf: net2280: match hardware and usb ep address
usb: gadget: net2280: physically disable endpoint on disable operation
usb: gadget: net2280: fix pullup handling

NeilBrown (2):
usb: phy: Add interface to get phy give of device_node.
power: twl4030_charger: find associated phy by more reliable means.

Nobuhiro Iwamatsu (1):
usb: renesas_usbhs: Add access control for INTSTS1 and INTENB1 register

Peter Chen (1):
usb: Documentation: gadget-testing: fix parameter for capture channel mask

Peter Griffin (1):
usb: dwc3: dwc3-st: Update the incorrect DT dwc3 example.

Rui Miguel Silva (1):
usb: gadget: f_fs: add extra check before unregister_gadget_item

Subbaraya Sundeep Bhatta (2):
usb: dwc3: gadget: return error if command sent to DGCMD register fails
usb: dwc3: gadget: return error if command sent to DEPCMD register fails

Tony Lindgren (10):
usb: musb: Fix up DMA related macros
usb: musb: Set up function pointers for DMA
usb: musb: Get rid of the DMA ifdefs for musb_core.c
usb: musb: Remove DMA ifdef for musb_gadget.c short_packet
usb: musb: Remove ifdefs for TX DMA for musb_host.c
usb: musb: Remove ifdefs for musb_host_rx in musb_host.c part1
usb: musb: Remove ifdefs for musb_host_rx in musb_host.c part2
usb: musb: Remove ifdefs for musb_host_rx in musb_host.c part3
usb: musb: Remove ifdefs for musb_host_rx in musb_host.c part4
usb: musb: Remove ifdefs for musb_host_rx in musb_host.c part5

Wei Yongjun (1):
usb: gadget: uvc: remove unused including <linux/version.h>

Yoshihiro Shimoda (3):
usb: renesas_usbhs: Revise the binding document about the dma-names
usb: renesas_usbhs: Change USBHS_TYPE_R8A779x to USBHS_TYPE_RCAR_GEN2
usb: renesas_usbhs: Add support for R-Car E2

 .../devicetree/bindings/power/twl-charger.txt      |  10 +
 Documentation/devicetree/bindings/usb/dwc3-st.txt  |   7 +-
 Documentation/devicetree/bindings/usb/dwc3.txt     |   2 +
 .../devicetree/bindings/usb/msm-hsusb.txt          |  11 +
 .../devicetree/bindings/usb/renesas_usbhs.txt      |   7 +-
 .../devicetree/bindings/usb/twlxxxx-usb.txt        |   3 +
 Documentation/usb/gadget-testing.txt               |   4 +-
 MAINTAINERS                                        |   7 +
 drivers/phy/Kconfig                                |   7 +
 drivers/phy/Makefile                               |   1 +
 drivers/phy/phy-sun4i-usb.c                        |   9 +
 drivers/phy/phy-tusb1210.c                         | 153 ++++
 drivers/phy/ulpi_phy.h                             |  31 +
 drivers/power/twl4030_charger.c                    |  21 +-
 drivers/usb/common/Makefile                        |   1 +
 drivers/usb/common/ulpi.c                          | 255 +++++++
 drivers/usb/core/Kconfig                           |  20 +
 drivers/usb/dwc2/Kconfig                           |   8 -
 drivers/usb/dwc2/Makefile                          |   9 +-
 drivers/usb/dwc2/core.c                            | 439 +++++++++++-
 drivers/usb/dwc2/core.h                            | 120 +++-
 drivers/usb/dwc2/core_intr.c                       |  45 +-
 drivers/usb/dwc2/debug.h                           |  27 +
 drivers/usb/dwc2/debugfs.c                         | 771 +++++++++++++++++++++
 drivers/usb/dwc2/gadget.c                          | 459 ++----------
 drivers/usb/dwc2/hcd.c                             | 100 +--
 drivers/usb/dwc2/hcd.h                             |   7 +-
 drivers/usb/dwc2/hcd_intr.c                        |  66 +-
 drivers/usb/dwc2/hcd_queue.c                       |  18 +-
 drivers/usb/dwc2/platform.c                        |  25 +-
 drivers/usb/dwc3/Kconfig                           |   7 +
 drivers/usb/dwc3/Makefile                          |   4 +
 drivers/usb/dwc3/core.c                            | 108 ++-
 drivers/usb/dwc3/core.h                            |  26 +
 drivers/usb/dwc3/dwc3-pci.c                        |  36 +
 drivers/usb/dwc3/gadget.c                          |  10 +-
 drivers/usb/dwc3/platform_data.h                   |   2 +
 drivers/usb/dwc3/ulpi.c                            |  91 +++
 drivers/usb/gadget/epautoconf.c                    |  24 +-
 drivers/usb/gadget/function/f_fs.c                 |  10 +-
 drivers/usb/gadget/function/f_rndis.c              |  60 +-
 drivers/usb/gadget/function/rndis.c                | 352 +++++-----
 drivers/usb/gadget/function/rndis.h                |  33 +-
 drivers/usb/gadget/function/u_rndis.h              |   2 -
 drivers/usb/gadget/function/uvc.h                  |   1 -
 drivers/usb/gadget/udc/atmel_usba_udc.c            |   6 +-
 drivers/usb/gadget/udc/net2280.c                   | 140 +++-
 drivers/usb/gadget/udc/s3c2410_udc.c               |  28 +-
 drivers/usb/musb/am35x.c                           |   8 +-
 drivers/usb/musb/blackfin.c                        |   5 +
 drivers/usb/musb/cppi_dma.c                        |   9 +-
 drivers/usb/musb/da8xx.c                           |   6 +-
 drivers/usb/musb/davinci.c                         |   7 +-
 drivers/usb/musb/jz4740.c                          |   6 +-
 drivers/usb/musb/musb_core.c                       |  89 ++-
 drivers/usb/musb/musb_core.h                       |  28 +-
 drivers/usb/musb/musb_cppi41.c                     |   8 +-
 drivers/usb/musb/musb_debugfs.c                    | 100 ++-
 drivers/usb/musb/musb_dma.h                        |  67 +-
 drivers/usb/musb/musb_dsps.c                       |   6 +-
 drivers/usb/musb/musb_gadget.c                     |  24 +-
 drivers/usb/musb/musb_host.c                       | 536 ++++++++------
 drivers/usb/musb/musb_io.h                         |   2 +
 drivers/usb/musb/musb_regs.h                       |  80 ++-
 drivers/usb/musb/musb_virthub.c                    |   2 +
 drivers/usb/musb/musbhsdma.c                       |   9 +-
 drivers/usb/musb/omap2430.c                        |   5 +
 drivers/usb/musb/tusb6010.c                        |   8 +-
 drivers/usb/musb/tusb6010.h                        |   6 -
 drivers/usb/musb/tusb6010_omap.c                   |   9 +-
 drivers/usb/musb/ux500.c                           |   8 +-
 drivers/usb/musb/ux500_dma.c                       |   8 +-
 drivers/usb/phy/Kconfig                            |  16 +-
 drivers/usb/phy/Makefile                           |   1 -
 drivers/usb/phy/phy-ab8500-usb.c                   |   2 +-
 drivers/usb/phy/phy-msm-usb.c                      | 110 +++
 drivers/usb/phy/phy-rcar-gen2-usb.c                | 246 -------
 drivers/usb/phy/phy.c                              |  97 ++-
 drivers/usb/renesas_usbhs/common.c                 |  19 +-
 drivers/usb/renesas_usbhs/fifo.c                   |  24 +-
 drivers/usb/renesas_usbhs/fifo.h                   |   9 +-
 drivers/usb/renesas_usbhs/mod.c                    |  63 +-
 include/linux/mod_devicetable.h                    |   6 +
 include/linux/phy/phy-sun4i-usb.h                  |  26 +
 include/linux/platform_data/usb-rcar-gen2-phy.h    |  22 -
 include/linux/ulpi/driver.h                        |  60 ++
 include/linux/ulpi/interface.h                     |  23 +
 include/linux/ulpi/regs.h                          | 130 ++++
 include/linux/usb/msm_hsusb.h                      |  22 +
 include/linux/usb/msm_hsusb_hw.h                   |   9 +
 include/linux/usb/net2280.h                        |   3 +
 include/linux/usb/phy.h                            |   8 +
 include/linux/usb/renesas_usbhs.h                  |   3 +-
 include/linux/usb/ulpi.h                           | 134 +---
 include/linux/usb/usb338x.h                        |   4 +
 scripts/mod/devicetable-offsets.c                  |   4 +
 scripts/mod/file2alias.c                           |  13 +
 97 files changed, 3966 insertions(+), 1707 deletions(-)
 create mode 100644 drivers/phy/phy-tusb1210.c
 create mode 100644 drivers/phy/ulpi_phy.h
 create mode 100644 drivers/usb/common/ulpi.c
 create mode 100644 drivers/usb/dwc2/debug.h
 create mode 100644 drivers/usb/dwc2/debugfs.c
 create mode 100644 drivers/usb/dwc3/ulpi.c
 delete mode 100644 drivers/usb/phy/phy-rcar-gen2-usb.c
 create mode 100644 include/linux/phy/phy-sun4i-usb.h
 delete mode 100644 include/linux/platform_data/usb-rcar-gen2-phy.h
 create mode 100644 include/linux/ulpi/driver.h
 create mode 100644 include/linux/ulpi/interface.h
 create mode 100644 include/linux/ulpi/regs.h
#1 lore raw
Quoted 11 lines · Felipe Balbi

Hi Greg,

Here's my giant pull request for v4.2 merge window.

This time "only" 96 non-merge commits. The important stuff is listed below.

Let me know if you require any changes to the pull request.

cheers

Quoted 7 lines

The following changes since commit b787f68c36d49bb1d9236f403813641efa74a031:

Linux 4.1-rc1 (2015-04-26 17:59:10 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/usb-for-v4.2

Pulled and pushed out, thanks.

greg k-h