Skip to content

Conversation

@bogdanovs
Copy link
Contributor

@bogdanovs bogdanovs commented Jun 13, 2025

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

@github-actions github-actions bot added area: Timer Timer platform: TI SimpleLink Texas Instruments SimpleLink MCU area: Counter labels Jun 13, 2025
@nashif nashif assigned vaishnavachath and unassigned andyross Jun 13, 2025
@bogdanovs bogdanovs force-pushed the sbogdanov/upstream-cc23x0-pm-rtc branch from eceb29a to 420167a Compare July 4, 2025 08:38
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 4, 2025

@bogdanovs bogdanovs changed the title Add Power Management support to RTC for TI cc23x0 SoC Add Power Management support to RTC counter driver for TI cc23x0 SoC Jul 4, 2025
@bogdanovs
Copy link
Contributor Author

Hi , @andyross @nordic-krch @teburd @vaishnavachath @vanti can you review when you have time ?

@kartben kartben added the DNM This PR should not be merged (Do Not Merge) label Sep 17, 2025
@kartben
Copy link
Contributor

kartben commented Sep 17, 2025

adding DNM label since apparently "This PR depends on : #91401"

@bogdanovs
Copy link
Contributor Author

Main Power Management PR is been merged - #91401
We can move this forward and remove DNM

@bogdanovs
Copy link
Contributor Author

@kartben Could you remove DNM tag as #91401 was merged

@andyross @nordic-krch @vanti @teburd Can you review when you have time ?

@kartben kartben removed the DNM This PR should not be merged (Do Not Merge) label Oct 20, 2025
Add PM support for RTC to cc23x0 SoC.

Signed-off-by: Stoyan Bogdanov <[email protected]>
@bogdanovs bogdanovs force-pushed the sbogdanov/upstream-cc23x0-pm-rtc branch from 420167a to 0c0c033 Compare October 20, 2025 12:44
@sonarqubecloud
Copy link

@henrikbrixandersen henrikbrixandersen added this to the v4.3.0 milestone Oct 22, 2025
Comment on lines +159 to +170
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;
}
}
Copy link
Member

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?

Copy link
Contributor Author

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.

@cfriedt cfriedt merged commit 2b646bf into zephyrproject-rtos:main Oct 22, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Counter area: Timer Timer platform: TI SimpleLink Texas Instruments SimpleLink MCU

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants