Page MenuHomeFreeBSD

aw_usbphy: add support for device mode operation
ClosedPublic

Authored by avg on Sep 7 2020, 7:03 AM.

Details

Summary

OTG mode is not supported still.
It's easy to do it as a one-off detection, but the proper support requires
continuous monitoring and communicating the current state to the USB layer.

Also, fix phy0_route setting for H3.
Remove duplicate register definitions.

Test Plan

Tested on Orange Pi PC Plus with dr_mode="peripheral" using
hw.usb.template=3
umodem_load="YES"

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.