Skip to content

USB: dwc3: get extcon device by OF graph bindings

Andrzej Hajda linux-devicetree linux-samsung-soc linux-usb lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- rebased on latest linux-next,
- since recently dwc3 fallbacks to ID detection using internal OTG block if extcon property is not present, added code allowing to fallback to OTG block also in case of graph is not present

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2USB: dwc3: get extcon device by OF graph bindingsdrivers/usb/dwc3/drd.c+28 -60 replies
2/2arm64: dts: exynos: add OF graph between USB-PHY and MUICarch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi+18 -15 replies

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/2] USB: dwc3: get extcon device by OF graph bindings

Hi,

This small patchset tries to address issue with broken DT extcon property in case of USB controller - DWC3. It exposes similar problem as in proposed USB connector bindings[1] - extcon device is required by devices not always connected directly to extcon device. Here we have:
DWC3 -> USB-PHY -> MUIC -> USB-connector

                               ^

MHL-bridge---------------------^

More details and proposition of generic solution in first patch

v2:
- rebased on latest linux-next,
- since recently dwc3 fallbacks to ID detection using internal OTG block if extcon property is not present, added code allowing to fallback to OTG block also in case of graph is not present

[1]: https://marc.info/?i=20180131134435.12216-1-a.hajda%40samsung.com

Regards
Andrzej

Andrzej Hajda (2):
USB: dwc3: get extcon device by OF graph bindings
arm64: dts: exynos: add OF graph between USB-PHY and MUIC

 .../dts/exynos/exynos5433-tm2-common.dtsi     | 19 ++++++++++-
 drivers/usb/dwc3/drd.c                        | 34 +++++++++++++++----
 2 files changed, 46 insertions(+), 7 deletions(-)
Signature · 1 line
2.17.0