Page MenuHomeFreeBSD

dwc3: Handle optional clocks
ClosedPublic

Authored by manu on Nov 15 2022, 12:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 17 2024, 5:11 AM
Unknown Object (File)
Mar 17 2024, 5:11 AM
Unknown Object (File)
Mar 17 2024, 5:10 AM
Unknown Object (File)
Mar 14 2024, 12:08 PM
Unknown Object (File)
Jan 18 2024, 7:51 AM
Unknown Object (File)
Jan 12 2024, 3:06 AM
Unknown Object (File)
Dec 20 2023, 8:05 AM
Unknown Object (File)
Oct 4 2023, 1:10 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 Not Applicable
Unit
Tests Not Applicable

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.