Skip to content

usb: added palmas-usb driver and a few misc fixes

Kishon Vijay Abraham I linux-devicetree linux-omap lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v14 patches 9 repliesSuperseded

Changes in v2 from the cover letter

* set the dma_mask for dwc3_omap (instead of setting dma_mask for dwc3 core from dwc3-omap.c)
* return '0' from dwc3_omap_mailbox on success (instead of hacky IRQ_HANDLED) It is now handled using mailboxstat member in palmas_usb.
* Made compatible in palmas-usb to include *ti,twl6035-usb*

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4usb: dwc3: set dma_mask for dwc3_omap devicedrivers/usb/dwc3/core.c drivers/usb/dwc3/dwc3-omap.c+7 -00 replies
2/4usb: dwc3: dwc3-omap: return -EPROBE_DEFER if probe has not yet executeddrivers/usb/dwc3/dwc3-omap.c include/linux/usb/dwc3-omap.h+8 -50 replies
3/4USB: Palmas OTG Transceiver DriverDocumentation/devicetree/bindings/usb/twlxxxx-usb.txt drivers/usb/otg/Kconfig drivers/usb/otg/Makefile +2 more+424 -140 replies
4/4usb: musb: omap2430: replace *_* with *-* in property namesDocumentation/devicetree/bindings/usb/omap-usb.txt drivers/usb/musb/omap2430.c+9 -91 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] usb: added palmas-usb driver and a few misc fixes

Added palmas-usb driver which is mainly used as comparator driver to detect vbus/id events when a USB cable is connected and passes on the event information to omap glue (dwc3-omap.c)

The other fixes include setting dma_mask for dwc3 device since device tree doesn't fill dma_mask, returning EPROBE_DEFER if probe has not yet called and replace *_* with *-* in property names in musb glue since that is the usual convention followed.

Developed this patches on
git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing

Changes from v1:
* set the dma_mask for dwc3_omap (instead of setting dma_mask for dwc3 core from dwc3-omap.c)
* return '0' from dwc3_omap_mailbox on success (instead of hacky IRQ_HANDLED) It is now handled using mailboxstat member in palmas_usb.
* Made compatible in palmas-usb to include *ti,twl6035-usb*

Graeme Gregory (1):
USB: Palmas OTG Transceiver Driver

Kishon Vijay Abraham I (3):
usb: dwc3: set dma_mask for dwc3_omap device
usb: dwc3: dwc3-omap: return -EPROBE_DEFER if probe has not yet
executed
usb: musb: omap2430: replace *_* with *-* in property names

 Documentation/devicetree/bindings/usb/omap-usb.txt |   12 +-
 .../devicetree/bindings/usb/twlxxxx-usb.txt        |   15 +
 drivers/usb/dwc3/core.c                            |    4 +
 drivers/usb/dwc3/dwc3-omap.c                       |   10 +-
 drivers/usb/musb/omap2430.c                        |    6 +-
 drivers/usb/otg/Kconfig                            |    6 +
 drivers/usb/otg/Makefile                           |    1 +
 drivers/usb/otg/palmas-usb.c                       |  396 ++++++++++++++++++++
 include/linux/mfd/palmas.h                         |    7 +-
 include/linux/usb/dwc3-omap.h                      |    6 +-
 10 files changed, 448 insertions(+), 15 deletions(-)
 create mode 100644 drivers/usb/otg/palmas-usb.c
Signature · 1 line
1.7.10.4