do actual init of the phy itself when needed.
authordlg <dlg@openbsd.org>
Mon, 3 Apr 2023 01:21:31 +0000 (01:21 +0000)
committerdlg <dlg@openbsd.org>
Mon, 3 Apr 2023 01:21:31 +0000 (01:21 +0000)
commit5b0e326912cc07e732fad29c972eb9a012d18c34
tree94bdc3544d87a31db745969877e92217c2bf392e
parent2137d3d7e6d6c7d63479ee572aaf6f862e03bc86
do actual init of the phy itself when needed.

turn the phy clock on and take the port out of suspend when something
(eg, xhci or ehci) wants to use the port.

before this the code just enabled power on the phy port regulators.

ok kettenis@
sys/dev/fdt/rkusbphy.c