Page MenuHomeFreeBSD

dwc3: fix and add more quirks
AbandonedPublic

Authored by bz on Jun 14 2022, 5:03 PM.
Tags
None
Referenced Files
F132208328: D35484.id106915.diff
Tue, Oct 14, 7:25 PM
Unknown Object (File)
Sun, Oct 5, 12:50 AM
Unknown Object (File)
Wed, Sep 24, 3:17 AM
Unknown Object (File)
Wed, Sep 17, 12:03 PM
Unknown Object (File)
Wed, Sep 17, 4:47 AM
Unknown Object (File)
Sep 12 2025, 12:15 AM
Unknown Object (File)
Aug 31 2025, 8:14 AM
Unknown Object (File)
Aug 25 2025, 2:38 AM
Subscribers

Details

Reviewers
manu
mw
Summary

Fix snps,dis-del-phy-power-chg-quirk and add more quirks based on
hardware description or registers.
Enhance debug printing some more.

Obtained from: an old debugging patch and that is as much as I remember

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45975
Build 42863: arc lint + arc unit

Event Timeline

bz requested review of this revision.Jun 14 2022, 5:03 PM
mw requested changes to this revision.Jun 27 2022, 11:41 PM
mw added inline comments.
sys/dev/usb/controller/dwc3.c
235

This change is unconditional and is not described - as it changes behavior for all users of DWC3 driver, IMO it deserves to be put into a separate commit. (Actually I'd split to 3 or even 4 patches - this one, debug prints, snps,dis-del-phy-power-chg-quirk inversion and hwparams, but that's not a very hard demand :)).

This revision now requires changes to proceed.Jun 27 2022, 11:41 PM
sys/dev/usb/controller/dwc3.c
235

I'll try to split it up after a re-base into multiple parts again. I hope I can remember some of the glory details if I stare long enough at it ;-)

Went in as 4 separate commits ...