-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Convert SAM SoC SERIAL drivers to DT macros #24110
Conversation
All checks passed. checkpatch (informational only, not a failure)
Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages. |
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 can see that we cannot use DT_INST_n
here because the SAM/SAM0 device tree does not fully incorporate device clock and I/O mappings, and DT_INST_n
does not necessarily match the UART_n
or SERCOM_n
definitions used to infer device clock and I/Os.
This should eventually be fixed, but I guess that is out of scope for this PR.
ece063e
to
d5d1639
Compare
rebase and add d5d1639 to fix sam3x. Now we need all nodes with index. |
d5d1639
to
ab192d4
Compare
Convert driver to use new device tree macros. see zephyrproject-rtos#23107 Signed-off-by: Gerson Fernando Budke <[email protected]>
Convert driver to use new device tree macros. see zephyrproject-rtos#23107 Signed-off-by: Gerson Fernando Budke <[email protected]>
Convert driver to use new device tree macros. see zephyrproject-rtos#23107 Signed-off-by: Gerson Fernando Budke <[email protected]>
The Atmel UART driver now uses new DT macros and need use NODELABEL to select proper node. The driver now needs search by name and index to find the right node. This rename SAM3X uart to uart0 to be compliant. Signed-off-by: Gerson Fernando Budke <[email protected]>
ab192d4
to
181534c
Compare
The SAM (not SAM0) part of this should now be handled by #24319 |
This convert Atmel SAM/SAM0 SERIAL drivers to use DT macros.
see #23107