-
Notifications
You must be signed in to change notification settings - Fork 8.2k
drivers: can: numaker: support m333x series #99482
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
Add support for Nuvoton's M3331 series SoC Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
drivers/can/can_numaker.c
Outdated
| case (CLK_CANFDSEL_CANFD0SEL_HIRC48M_DIV4 >> CLK_CANFDSEL_CANFD0SEL_Pos): | ||
| *rate = (__HIRC48M / 4) / clkdiv_divider; | ||
| break; | ||
| #elif defined(CONFIG_SOC_SERIES_M333X) |
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's same with M46X's, just merge as:
#if defined(CONFIG_SOC_SERIES_M46X) || defined(CONFIG_SOC_SERIES_M333X)
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.
Merged it
Add support for Nuvoton NuMaker-M3334KI board This target has only 4 MPU regions, so disable userspace test. Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
25f31d4 to
70b5a92
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.
Disabling userspace individual test suites doesn't scale well.
I assume this is due to a low number of MPU regions? If so, there are ways to handle this at the SoC/board level (take a look at the twr_ke18f board).
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.
This needs to be defined at the board level, not in an individual test suite.
If this board does not support CAN on the board level, it should not have a CAN test suite overlay.



This adds support for Nuvoton NuMaker M3331 series SoC CAN-FD driver.