-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Raspberry Pi Pico RTC Driver #52312
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
Raspberry Pi Pico RTC Driver #52312
Conversation
fb89f0a to
394bf9a
Compare
|
This would be a good candidate for using #41287 |
Yes, but for now I think that this implementation using the counter interface is good for users. I don't know when the RTC interface will be upstreamed and it seems that it is not merged with the main branch to start an implementation using it. |
7ce4236 to
08c5265
Compare
|
@yonsch Hi! Can you take a look at this driver? |
|
This looks good generally, but if there's an RTC API change coming soon I think we should wait. I'll see what I can do with that other PR. |
Okay, thank you! :) |
|
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
|
Marking this as draft until Zephyr gets an RTC driver |
|
@andrei-edward-popa |
|
@andrei-edward-popa any plans to rework this using the RTC API? |
|
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
Enabled RTC sources and includes Signed-off-by: Andrei-Edward Popa <[email protected]>
Added RTC node into device tree Signed-off-by: Andrei-Edward Popa <[email protected]>
Added RTC device tree bindings for Raspberry Pi Pico platform Signed-off-by: Andrei-Edward Popa <[email protected]>
Added RTC driver for Raspberry Pi Pico platform Signed-off-by: Andrei-Edward Popa <[email protected]>
Added Raspberry Pi Pico to be supported by rtc_api test Signed-off-by: Andrei-Edward Popa <[email protected]>
Added RTC in supported hardware features Signed-off-by: Andrei-Edward Popa <[email protected]>
08c5265 to
c215c24
Compare
Yes, I will start to work on it soon. |
I would like to have the Stale label removed. |
|
For now this is a draft, when it will be ready to be reviewed I will ping all the people that are responsible for RTC and Raspberry Pi Pico. |
|
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
I have added driver support for RTC for Raspberry Pi Pico. Driver was tested using samples/drivers/counter/alarm sample and all tests from tests/drivers/counter/counter_basic_api passed.