-
Notifications
You must be signed in to change notification settings - Fork 8.1k
usb: usdc: BL61x Device HS USB #97750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
662579f
to
f771808
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wish to do another round of review when I get back home, also run USB3CV compliance tool which will be good at spotting bugs.
Though it sounds like ready for review to me.
Thank you!
Zephyr host not ready yet either... (>_<') |
Thanks for the review.
What would be the proper naming scheme? should I name this driver 'udc' instead of usb and the host one 'uhc'? |
I think you are right, to follow the UDC (USB Device Controller) acronym, |
da3285c
to
e7f5f3b
Compare
And one other caveat before this is ready, this will need to add a new board, because the current bl61x board ai-m62-12f has NO usb at all going out the module so it cant support USB. Liekly this will be sipeed m0s, but it could also be added to qcc744_evk if it's merged very fast |
Ah no wait it does have them... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thank you I did not find anything missing!
I added a few extra notes if wanting to anticipate the review of USB maintainers, not 100% sure this is going to be requested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure it's going to be enforced to have all of them marked as const
(not part of Zephyr coding style, just the style in USB), but in case you wanted a TODO list here we go.
I think the next step is basically wait that the maintainers' review queue clears out. If it takes long and "ping" don't help, the workaround is |
i didnt know about that and manually git fetched and cherry picked PR |
Adds a device mode driver for BL61x Signed-off-by: Camille BAUD <[email protected]>
Adds the binding to enable the USB controller Signed-off-by: Camille BAUD <[email protected]>
This is necessary to have a board testing the USB driver, however the board doesn't have a USB plug for it, but the pins are available Signed-off-by: Camille BAUD <[email protected]>
ok did all the ones that worked i think and a few more |
|
It does device at high-speed speeds.
Caveat: controller does host, this does not do host.