SVNews r330554

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-03-06 22:45:45 - r330554 by kevans (kevans)

Complete list of files affected by revision r330554:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/arm/allwinner/aw_usbphy.c  

Commit message:

aw_usbphy: Move later to SUPPORTDEV pass

vbus-supply properties may be specified for each PHY. These properties
reference a regulator that we must turn on/off as we turn the PHY on/off.
However, if the usbphy comes up before the regulator in question (as is the
case with GPIO-controlled regulators), then we will fail to grab a handle to
the regulator and control it as the PHY power state changes.

Fix it by just attaching the usbphy driver later. We don't really need it at
RESOURCE, we just need it to be before DEFAULT when ehci/ohci attach. In
particular, this fixes the USB NIC on a board that we don't yet supported-
without this, it will not power on and if_ure cannot attach.

Tested on: various boards [manu]
Tested on: OrangePi R1 [Rap2 (irc)]
Reported by: Rap2 (irc, "Cannot find USB NIC")


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 7 ms, 1 file printed. Current time is 2018-03-22 11:38:45. All times are in UTC/GMT.