[PATCH v2 0/2] USB: dwc3: get extcon device by OF graph bindings

From: Andrzej Hajda
Date: Tue May 15 2018 - 13:37:50 EST


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

More details and proposition of generic solution in first patch

- 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


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(-)