Page MenuHomeFreeBSD

extres/phy: Add phy_set_mode method
AbandonedPublic

Authored by manu on Oct 29 2018, 3:08 PM.
Referenced Files
Unknown Object (File)
Dec 23 2023, 2:21 AM
Unknown Object (File)
Nov 10 2023, 11:32 PM
Unknown Object (File)
Oct 29 2023, 11:05 AM
Unknown Object (File)
Oct 9 2023, 10:32 PM
Unknown Object (File)
Sep 27 2023, 4:40 PM
Unknown Object (File)
Aug 26 2023, 1:49 PM
Subscribers

Details

Reviewers
mmel
Summary

Some phy driver can have different mode, add a method interface to switch between them.
For now only usb mode are defined.

Test Plan

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Manu,
can you, please, subclass phy to USB specialized variant (say phyusb or usbphy)? You can use clk (clkdiv, clkmux ...) as template. We should implement lots of USB OTG related function here. VBUS voltage and over-current detection, ID pin status change interrupt, OTG state machine and I thing that should use proper layering from beginning.
If you too busy for this, I can implement (empty) subclass in next 2-3 days.

In D17750#379506, @mmel wrote:

Manu,
can you, please, subclass phy to USB specialized variant (say phyusb or usbphy)? You can use clk (clkdiv, clkmux ...) as template. We should implement lots of USB OTG related function here. VBUS voltage and over-current detection, ID pin status change interrupt, OTG state machine and I thing that should use proper layering from beginning.
If you too busy for this, I can implement (empty) subclass in next 2-3 days.

Sure, I see what you mean.
I'll do that but probably more next week, won't have time this week.
Thanks