-
Couldn't load subscription status.
- Fork 8.1k
Add Power Management support to RTC counter driver for TI cc23x0 SoC #91611
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
Add Power Management support to RTC counter driver for TI cc23x0 SoC #91611
Conversation
eceb29a to
420167a
Compare
|
|
Hi , @andyross @nordic-krch @teburd @vaishnavachath @vanti can you review when you have time ? |
|
adding DNM label since apparently "This PR depends on : #91401" |
|
Main Power Management PR is been merged - #91401 |
Add PM support for RTC to cc23x0 SoC. Signed-off-by: Stoyan Bogdanov <[email protected]>
420167a to
0c0c033
Compare
|
| static int rtc_cc23x0_pm_action(const struct device *dev, enum pm_device_action action) | ||
| { | ||
| switch (action) { | ||
| case PM_DEVICE_ACTION_SUSPEND: | ||
| return 0; | ||
| case PM_DEVICE_ACTION_RESUME: | ||
| counter_cc23x0_get_pending_int(dev); | ||
| return 0; | ||
| default: | ||
| return -ENOTSUP; | ||
| } | ||
| } |
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 could use a little more detail on how this is adding PM support?
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.
RTC is part of AON domain , so it kept active during sleep and is used for wakeup from sleep. Once recover from sleep is pulling missed interrupt while reconfigured to normal.



This series adds Power Management support to RTC for TI cc23x0 SoC.
Datasheet: https://www.ti.com/lit/ds/symlink/cc2340r5.pdf
This PR depends on : #91401