]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
dwc3: Handle optional clocks
authorEmmanuel Vadot <manu@FreeBSD.org>
Tue, 15 Nov 2022 08:58:30 +0000 (09:58 +0100)
committerEmmanuel Vadot <manu@FreeBSD.org>
Wed, 16 Nov 2022 10:58:31 +0000 (11:58 +0100)
commit0a5f342aa5a0ddd5d173bdfc856c6a81d1c12c6c
tree8605a45b067187ea671deac27da9e50c77af0ddd
parentbd4f986644b3804e19b92d39f1f90ffabff83e14
dwc3: Handle optional clocks

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.

Reviewed by: andrew
Differential Revision: https://reviews.freebsd.org/D37392
Sponsored by: Beckhoff Automation GmbH & Co. KG
sys/dev/usb/controller/dwc3.c