Page MenuHomeFreeBSD

dwc3: Handle optional clocks
ClosedPublic

Authored by manu on Nov 15 2022, 12:58 PM.
Tags
None
Referenced Files
F103074453: D37392.diff
Wed, Nov 20, 2:37 PM
Unknown Object (File)
Sun, Nov 17, 12:20 AM
Unknown Object (File)
Wed, Nov 13, 5:11 AM
Unknown Object (File)
Tue, Nov 12, 12:52 PM
Unknown Object (File)
Sat, Nov 9, 4:45 PM
Unknown Object (File)
Sat, Nov 9, 9:13 AM
Unknown Object (File)
Fri, Nov 8, 11:53 AM
Unknown Object (File)
Thu, Nov 7, 6:34 PM
Subscribers

Details

Summary

Usually dwc3 needs a glue node that contain the SoC specific clocks/resets.
For some reason the RK3328 DTS doesn't have this glue node and the clocks
are specified in the dwc3 node directly.
The bindings says that it is allowed but doesn't specified some strict names
for them.
Add a specific case for RK3328 based on the compatible string.

Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 48359
Build 45245: arc lint + arc unit

Event Timeline

manu requested review of this revision.Nov 15 2022, 12:58 PM
andrew added inline comments.
sys/dev/usb/controller/dwc3.c
405

Is there a reason to put this here rather than using a subclass?

sys/dev/usb/controller/dwc3.c
405

Because this is the only difference and other rockchip SoC (haven't looked) will have the same clock name (other socs too).
So it's easier.

This revision is now accepted and ready to land.Nov 15 2022, 3:27 PM
This revision was automatically updated to reflect the committed changes.