Some phy driver can have different mode, add a method interface to switch between them.
For now only usb mode are defined.
Details
Details
- Reviewers
mmel
Part of a bigger patch : https://github.com/evadot/freebsd/tree/pinebook
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
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.
Comment Actions
Sure, I see what you mean.
I'll do that but probably more next week, won't have time this week.
Thanks