[PATCH v2 0/2] usb: dwc3-generic: improve DT parsing and support qcom flat DT

Casey Connolly casey.connolly at linaro.org
Fri Jan 16 18:09:43 CET 2026


Add support for the new flat DT format being adopted by Qualcomm boards,
this merges the dwc3 and glue nodes together.

Support the usb-role-switch and role-switch-default-mode properties so
that boards can express a preference when OTG is supported.

---
Changes in v2:
- Remove leftover LOG_DEBUG from testing
- Fix qscratch base address being wrong with flat DT
- Drop default dr_mode patch since another version is already on the
  list: https://lore.kernel.org/all/20260108-usb-dwc3-exynos7870-v3-1-343fa1e81e48@disroot.org/
- Link to v1: https://patch.msgid.link/20260114-casey-usb-role-switch-v1-0-fb7a626466b9@linaro.org

---
Casey Connolly (2):
      usb: dwc3-generic: support Qualcomm flattened DT
      usb: dwc3-generic: respect role-switch-default-mode

 drivers/usb/dwc3/dwc3-generic.c | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)
---
base-commit: 03c01c69806d4265070f14e7a7cbf617fcbb8f6a

// Casey (she/they)



More information about the U-Boot mailing list