HomeFreeBSD

aw_usbphy: Convert to usbphy subclass

Description

aw_usbphy: Convert to usbphy subclass

Instead of routing the phy when enabling it, do the configuration
and routing in the phynode_usb_set_mode function.
While here, if we don't have a vbus detection method, enable the phy
if requested.

MFC after: 1 month

Details

Provenance
manuAuthored on Nov 23 2018, 7:44 PM
Parents
rGf9f020a4098e: Derive PHY class to new one specialized for USB PHY functions.
Branches
Unknown
Tags
Unknown

Event Timeline