[PATCH 0/3] usb: dwc3: Let glue drivers override all dwc3 properties

Thinh Nguyen Thinh.Nguyen at synopsys.com
Tue Nov 24 14:59:13 PST 2026


struct dwc3_properties duplicates fields of struct dwc3, and glue
drivers can only set two of them. Define it from struct dwc3 with
struct_group_tagged() and replace the properties value in struct
dwc3_probe_data with a fixup_properties() hook. The hook runs after the
DT properties are read, so glue drivers can set properties that DT does
not provide, or override DT values.

I used AI tools to help review the code and polish the commit messages.


Thinh Nguyen (3):
  usb: dwc3: Group glue-overridable properties in struct dwc3
  usb: dwc3: Move sysdev selection and clamp out of dwc3_get_properties()
  usb: dwc3: Allow glue drivers to override all dwc3_properties

 drivers/usb/dwc3/core.c              |  37 +++---
 drivers/usb/dwc3/core.h              | 163 ++++++++++++++-------------
 drivers/usb/dwc3/dwc3-apple.c        |   1 -
 drivers/usb/dwc3/dwc3-generic-plat.c |  19 ++--
 drivers/usb/dwc3/dwc3-google.c       |   1 -
 drivers/usb/dwc3/dwc3-imx.c          |   9 +-
 drivers/usb/dwc3/dwc3-qcom.c         |   1 -
 drivers/usb/dwc3/glue.h              |  21 +---
 8 files changed, 120 insertions(+), 132 deletions(-)


base-commit: 90d6263e867be7089b3d3323bef8d2accd327c77
-- 
2.53.0


More information about the linux-arm-kernel mailing list