Skip to content

dwc3: omap: adapt dwc3 to use extcon framework

Kishon Vijay Abraham I linux-devicetree linux-omap lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 5 patches 6 repliesIn review

4 of 5 patches are in this archive. The cover letter announces 5.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5extcon: Add an API to get extcon device from dt nodedrivers/extcon/extcon-class.c include/linux/extcon.h+48 -09 replies
2/5extcon: Kconfig: Make extcon config type as booldrivers/extcon/Kconfig+1 -10 replies
3/5extcon: add EXPORT_SYMBOL_GPL for exported functionsdrivers/extcon/extcon-class.c+2 -00 replies
4/5usb: dwc3: omap: improve error handling of dwc3_omap_probedrivers/usb/dwc3/dwc3-omap.c+14 -30 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchFelipe BalbiChanwoo Choi
SeriesA-b A-b A-b A-b A-b
1/5
2/5
3/5
4/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] dwc3: omap: adapt dwc3 to use extcon framework

The first three patches deals with cleanup of extcon inorder to get through compilation without any issues. It also adds an API to get extcon device from dt node which I felt was missing.

The next two patches deals with adapt dwc3 to use extcon framework. The 4th patch (usb: dwc3: omap: improve error handling of dwc3_omap_probe) should have ideally been sent to Felipe, however since
there will be merge conflicts with the 5th patch
(usb: dwc3: use extcon fwrk to receive connect/disconnect)
in this series, I've sent in the same series.

Once this patch series get merged, dwc3 in omap would be functional in device mode. However there is still some discussion on modelling SMPS10 regulator. Once that gets finalized, dwc3 should be functional in host mode as well.

Kishon Vijay Abraham I (5):
extcon: Add an API to get extcon device from dt node
extcon: Kconfig: Make extcon config type as bool
extcon: add EXPORT_SYMBOL_GPL for exported functions
usb: dwc3: omap: improve error handling of dwc3_omap_probe
usb: dwc3: use extcon fwrk to receive connect/disconnect

 Documentation/devicetree/bindings/usb/omap-usb.txt |    5 +
 drivers/extcon/Kconfig                             |    2 +-
 drivers/extcon/extcon-class.c                      |   42 +++++++
 drivers/usb/dwc3/dwc3-omap.c                       |  133 ++++++++++++++++----
 include/linux/extcon.h                             |    8 ++
 include/linux/usb/dwc3-omap.h                      |   30 -----
 6 files changed, 168 insertions(+), 52 deletions(-)
 delete mode 100644 include/linux/usb/dwc3-omap.h
Signature · 1 line
1.7.10.4