Some device trees (such as Apple Silicon Macs) describe USB-C DWC3
controllers with dr_mode = "otg" and role-switch-default-mode = "host".
Accept that combination during probe so host mode works with unmodified
device trees instead of refusing to attach.
Details
Details
- Rebased cleanly on upstream main (056925e30639) and built native arm64 GENERIC kernel on FreeBSD 16.0-CURRENT with zero warnings on dwc3.c.
- Verified on bare-metal M1 MacBook Air (J313 / t8103) using the unmodified t8103-j313 device tree (dr_mode = "otg" with role-switch-default-mode = "host"): both USB-C DWC3 controllers probe and attach in host mode.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Rebased directly onto origin/main (056925e30639) so the full-context diff applies cleanly on its own without carrying context lines from the earlier D62184 v1. No functional change.