Page MenuHomeFreeBSD

aw_usbphy: add support for device mode operation
ClosedPublic

Authored by avg on Sep 7 2020, 7:03 AM.
Tags
None
Referenced Files
F157330314: D26348.id76728.diff
Wed, May 20, 9:33 AM
Unknown Object (File)
Sun, May 10, 1:26 PM
Unknown Object (File)
Sun, May 10, 1:25 PM
Unknown Object (File)
Sun, May 10, 10:25 AM
Unknown Object (File)
Sun, May 10, 10:24 AM
Unknown Object (File)
Mon, May 4, 4:23 PM
Unknown Object (File)
Thu, Apr 30, 9:06 AM
Unknown Object (File)
Mon, Apr 27, 1:18 PM
Subscribers

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 - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33426
Build 30716: arc lint + arc unit