[linux-yocto] dwc3 pm enabling backport for standard/intel/base

Bruce Ashfield bruce.ashfield at windriver.com
Thu Jul 21 10:12:25 PDT 2016


On 2016-07-20 06:34 PM, Ernst, Eric wrote:
> Please consider pull-request listed below.  We tested on Grosse Tete and verify
> proper PM for USB after applying the set.  This was rebased onto latest of
> bxt-rebase, but I think we should consider also for standard/intel/base.
>

They looked clean enough to me, so I went for the standard/intel/base
option.

These are now pushed to the repo, let me know if there are any build or
runtime issues. The merge was clean for all branches, so I don't expect
anything.

Bruce

> Let me know if you have questions/issues.
>
> -Eric
>
>
> The following changes since commit 256385e1e85055afb8432ecf0aeee65e2590d142:
>
>    usb: typec: add PD sink port support for Intel Whiskey Cove PMIC USB Type-C PHY driver (2016-07-15 11:05:09 -0400)
>
> are available in the git repository at:
>
>    https://github.com/egernst/linux-yocto-4.4.git bxt-dwc3-pm-backport
>
> for you to fetch changes up to f6d09c801315b8d90681eff66668b90c19cb0e51:
>
>    UPSTREAM: usb: Add USB 3.1 Precision time measurement capability descriptor support (2016-07-19 16:34:20 -0700)
>
> ----------------------------------------------------------------
> Dan Carpenter (1):
>        UPSTREAM: usb: dwc3: gadget: fix mask and shift order in DWC3_DCFG_NUMP()
>
> Du, Changbin (1):
>        UPSTREAM: usb: dwc3: make dwc3_debugfs_init return value be void
>
> Felipe Balbi (50):
>        UPSTREAM: usb: dwc3: drop FIFO resizing logic
>        UPSTREAM: usb: dwc3: gadget: always enable CSP
>        UPSTREAM: usb: dwc3: gadget: purge dev_dbg() calls
>        UPSTREAM: usb: dwc3: gadget: pass a condition to dev_WARN_ONCE()
>        UPSTREAM: usb: dwc3: core: purge dev_dbg() calls
>        UPSTREAM: usb: dwc3: core: improve reset sequence
>        UPSTREAM: usb: dwc3: gadget: fix endpoint renaming
>        UPSTREAM: usb: dwc3: core: fix PHY handling during suspend
>        UPSTREAM: usb: dwc3: better name for our request management lists
>        UPSTREAM: usb: dwc3: remove num_event_buffers
>        UPSTREAM: usb: dwc3: drop ev_buffs array
>        UPSTREAM: usb: dwc3: gadget: pass ev_buff as cookie to irq handler
>        UPSTREAM: usb: dwc3: gadget: combine return points into a single one
>        UPSTREAM: usb: dwc3: gadget: clear SUSPHY bit before ep cmds
>        UPSTREAM: usb: dwc3: gadget: extract unlocked dwc3_gadget_wakeup()
>        UPSTREAM: usb: dwc3: gadget: put link to U0 before Start Transfer
>        UPSTREAM: usb: dwc3: gadget: rename busy/free_slot to trb_enqueue/dequeue
>        UPSTREAM: usb: dwc3: increase maximum number of TRBs per endpoint
>        UPSTREAM: usb: dwc3: core: document struct dwc3_request
>        UPSTREAM: usb: dwc3: switch trb enqueue/dequeue and first_trb_index to u8
>        UPSTREAM: usb: dwc3: get rid of DWC3_TRB_MASK
>        UPSTREAM: usb: dwc3: gadget: add trb enqueue/dequeue helpers
>        UPSTREAM: usb: dwc3: gadget: move % operation to increment helpers
>        UPSTREAM: usb: dwc3: gadget: use link TRB for all endpoint types
>        UPSTREAM: usb: dwc3: gadget: remove newline from trace
>        UPSTREAM: usb: dwc3: gadget: don't interrupt when chained
>        UPSTREAM: usb: dwc3: core: add fifo space helper
>        UPSTREAM: usb: dwc3: core: add helper to extract trb type
>        UPSTREAM: usb: dwc3: gadget: update DCFG.NumP to max burst size
>        UPSTREAM: usb: dwc3: gadget: disable automatic calculation of ACK TP NUMP
>        FROMLIST: usb: dwc3: gadget: re-factor ->udc_start and ->udc_stop
>        FROMLIST: usb: dwc3: gadget: fix gadget suspend/resume
>        FROMLIST: usb: dwc3: core: get rid of DWC3_PM_OPS macro
>        FROMLIST: usb: dwc3: gadget: prepare TRBs on update transfers too
>        FROMLIST: usb: dwc3: gadget: simplify __dwc3_gadget_kick_transfer()
>        FROMLIST: usb: dwc3: gadget: rely on sg_is_last() and list_is_last()
>        FROMLIST: usb: dwc3: gadget: remove udelay(1) when sending ep cmds
>        FROMLIST: usb: dwc3: gadget: return 0 if we try to Wakeup in superspeed
>        FROMLIST: usb: dwc3: gadget: split __dwc3_gadget_kick_transfer()
>        FROMLIST: usb: dwc3: gadget: initialize NUMP based on RxFIFO Size
>        FROMLIST: usb: dwc3: gadget: pass dep as argument to endpoint command
>        FROMLIST: usb: dwc3: gadget: add a pointer to endpoint registers
>        FROMLIST: usb: dwc3: core: move fladj to dwc3 structure
>        FROMLIST: usb: dwc3: core: re-factor init and exit paths
>        FROMLIST: usb: dwc3: core: simplify suspend/resume operations
>        FROMLIST: usb: dwc3: gadget: hold gadget IRQ in dwc->irq_gadget
>        FROMLIST: usb: dwc3: gadget: only resume USB2 PHY in <=HIGHSPEED
>        FROMLIST: usb: dwc3: gadget: fix for possible endpoint disable race
>        FROMLIST: usb: dwc3: implement runtime PM
>        FROMLIST: usb: dwc3: pci: add Power Management dummy hooks
>
> Heikki Krogerus (2):
>        UPSTREAM: usb: dwc3: pci: make build-in device properties available
>        UPSTREAM: usb: dwc3: pci: pass the platform device as a parameter to dwc3_pci_quirks()
>
> Jiebing Li (1):
>        UPSTREAM: usb: dwc3: gadget: release spin lock during gadget resume
>
> John Youn (7):
>        UPSTREAM: usb: dwc3: Update speed checks for SuperSpeedPlus
>        UPSTREAM: usb: dwc3: Enable SuperSpeedPlus
>        UPSTREAM: usb: dwc3: Update maximum_speed for SuperSpeedPlus
>        UPSTREAM: usb: dwc3: Validate the maximum_speed parameter
>        UPSTREAM: usb: dwc3: Set the ClearPendIN bit on Clear Stall EP command
>        UPSTREAM: usb: dwc3: DWC_usb31 controller check
>        UPSTREAM: usb: dwc3: Update register fields for SuperSpeedPlus
>
> Konrad Leszczynski (2):
>        UPSTREAM: usb: dwc3: gadget: give better command return code
>        FROMLIST: usb: dwc3: fix for the isoc transfer EP_BUSY flag
>
> Mathias Nyman (3):
>        UPSTREAM: usb: define USB_SPEED_SUPER_PLUS speed for SuperSpeedPlus USB3.1 devices
>        UPSTREAM: usb: Add USB3.1 SuperSpeedPlus Isoc Endpoint Companion descriptor
>        UPSTREAM: usb: Add USB 3.1 Precision time measurement capability descriptor support
>
> Rajesh Bhagat (1):
>        UPSTREAM: usb: dwc3: add disable receiver detection in P3 quirk
>
> Roger Quadros (1):
>        UPSTREAM: usb: dwc3: gadget: Fix suspend/resume during device mode
>
>   Documentation/devicetree/bindings/usb/dwc3.txt     |   4 +-
>   .../devicetree/bindings/usb/qcom,dwc3.txt          |   1 -
>   drivers/usb/common/common.c                        |   1 +
>   drivers/usb/core/config.c                          |   6 +-
>   drivers/usb/core/devices.c                         |  10 +-
>   drivers/usb/core/hcd-pci.c                         |   2 +-
>   drivers/usb/core/hcd.c                             |   6 +-
>   drivers/usb/core/hub.c                             |  26 +-
>   drivers/usb/core/urb.c                             |   3 +-
>   drivers/usb/core/usb.h                             |   2 +-
>   drivers/usb/dwc3/core.c                            | 501 ++++++-----
>   drivers/usb/dwc3/core.h                            | 146 ++-
>   drivers/usb/dwc3/debug.h                           |   6 +-
>   drivers/usb/dwc3/debugfs.c                         | 245 ++---
>   drivers/usb/dwc3/dwc3-pci.c                        |  57 +-
>   drivers/usb/dwc3/ep0.c                             |  47 +-
>   drivers/usb/dwc3/gadget.c                          | 990 +++++++++++----------
>   drivers/usb/dwc3/gadget.h                          |  10 +-
>   drivers/usb/dwc3/io.h                              |   7 +-
>   drivers/usb/dwc3/platform_data.h                   |   2 +-
>   include/linux/usb.h                                |   1 +
>   include/uapi/linux/usb/ch9.h                       |  29 +
>   22 files changed, 1167 insertions(+), 935 deletions(-)
>
>



More information about the linux-yocto mailing list