Skip to content

RFC USB core changes for supporting OTG on MSM SoC

Pavankumar Kondeti linux-arm-msm 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest4 patches 6 repliesIn review
  2. v1 RFC5 patches 23 repliesSuperseded

Changes in v2 from the cover letter

1. Removed unnecessary #ifdef CONFIG_USB_OTG references
2. OTG Kconfig change is removed from this patch series
3. Implemented Alan Stern's suggestions in hnp_polling_work a. reschedule work when kmalloc fails
b. clear do_remote_wakeup flag before suspending

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4USB: core: OTG Supplement Revision 2.0 updatesdrivers/usb/core/driver.c drivers/usb/core/hcd.c drivers/usb/core/hub.c +3 more+129 -122 replies
2/4USB: gadget: OTG supplement revision 2.0 updatesDocumentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget drivers/usb/gadget/composite.c drivers/usb/gadget/zero.c +1 more+61 -00 replies
3/4USB: EHCI: Notify HCD about HNP enabled port suspenddrivers/usb/host/ehci-hub.c drivers/usb/host/ehci.h+13 -00 replies
4/4USB: Eliminate delays involved in root hub initialization during HNPdrivers/usb/core/hcd.c drivers/usb/core/hub.c+11 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC v2 0/4] USB core changes for supporting OTG on MSM SoC

This patch series adds OTG 2.0 enhancements and misc changes required for supporting SRP & HNP in MSM OTG driver. As these patches modify the USB core code, I would like to receive feedback before posting driver patches. The driver patches are available at
https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commitdiff;h=05535a995e9eb34c3c41d874d09955a443008cd5

Change log from V1
1. Removed unnecessary #ifdef CONFIG_USB_OTG references
2. OTG Kconfig change is removed from this patch series
3. Implemented Alan Stern's suggestions in hnp_polling_work a. reschedule work when kmalloc fails
b. clear do_remote_wakeup flag before suspending

Pavankumar Kondeti (4):
USB: core: OTG Supplement Revision 2.0 updates
USB: gadget: OTG supplement revision 2.0 updates
USB: EHCI: Notify HCD about HNP enabled port suspend
USB: Eliminate delays involved in root hub initialization during HNP

 .../testing/sysfs-devices-platform-_UDC_-gadget    |   14 ++++
 drivers/usb/core/driver.c                          |   53 ++++++++++++++
 drivers/usb/core/hcd.c                             |    3 +
 drivers/usb/core/hub.c                             |   75 +++++++++++++++++---
 drivers/usb/core/usb.h                             |    8 ++
 drivers/usb/gadget/composite.c                     |   23 ++++++
 drivers/usb/gadget/zero.c                          |    3 +
 drivers/usb/host/ehci-hub.c                        |   11 +++
 drivers/usb/host/ehci.h                            |    2 +
 include/linux/usb.h                                |    2 +
 include/linux/usb/ch9.h                            |   11 +++-
 include/linux/usb/gadget.h                         |   21 ++++++
 12 files changed, 214 insertions(+), 12 deletions(-)

--
Sent by a consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.