-
Notifications
You must be signed in to change notification settings - Fork 8.4k
drivers: usb: udc: support numaker m55m1x series soc #89874
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
Conversation
|
@ccli8 can you rebase? merge conflict |
49f271b to
31ebe90
Compare
|
Rebase on |
| }; | ||
| }; | ||
|
|
||
| gpio_keys { |
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.
split button changes to separate commit
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.
Fixed
This supports nuvoton numaker m55m1x series soc. Besides, it also has relevant modifications, including: 1. Fix failure to enable HICR48M, which is to clock usbd and phy 2. Support HWINFO for USB device serial number Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
Add BTN0/BTN1 buttons on numaker_m55m1 board for e.g. hid-mouse sample test Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
31ebe90 to
a358b8a
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
| NUMAKER_CLK_USBDIV_USBDIV(1)>; | ||
| dma-buffer-size = <1536>; | ||
| status = "disabled"; | ||
| num-bidir-endpoints = <25>; |
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.
How is it possible to have more than 16 bidir endpoints?
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.
It is hardware endpoint number in total. It will suppress to at most 16 for each IN/OUT.
This adds nuvoton numaker m55m1x series soc into usbd_next support. It involves relevant modifications, including:
HICR48M, which is to clock usbd and phyHWINFOfor USB device serial numberTest samples: