Skip to content

Add Power Management support to TI cc23x0 SoC #91401

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

bogdanovs
Copy link
Contributor

@bogdanovs bogdanovs commented Jun 11, 2025

This series adds Power Management support to TI cc23x0 SoC.

Datasheet: https://www.ti.com/lit/ds/symlink/cc2340r5.pdf

bogdanovs and others added 10 commits June 23, 2025 17:57
Add support for RTC as timer for cc23x0 SoC.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
Add choice menu where could be selected between RTC or SYSTIM for
system timer.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
In case RTC is used for system timer, it should not be used
as counter device. Dependency restricts counter driver to work
only with SYSTIM.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
Add conditonal definition for RTC and SYSTIM with different
values for both of them respecting clock speed and ticks
per minute.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
External 32.768 kHz crystal oscillator (LFXT) connected across
the X32P input and X32N output pins.

Signed-off-by: Julien Panis <jpanis@baylibre.com>
Enable external 32 kHz crystal oscillator.

Signed-off-by: Julien Panis <jpanis@baylibre.com>
Add power management capabilities for cc23x0:
- runtime-idle
- standby
- soft-off

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
In power management, add conditions to handle the case where
RTC is used as main timer.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
In power management, add support to take into account the alarms
set in RTC. Alarm from RTC is processed like any other from SYSTIM.
This prevents from missing interrupts.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
Add support for PM to cc23x0 SoC.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
Signed-off-by: Julien Panis <jpanis@baylibre.com>
@bogdanovs bogdanovs force-pushed the sbogdanov/upstream-cc23x0-pm-base branch from f6397be to b7b48d6 Compare June 23, 2025 15:01
Copy link

@jpanisbl
Copy link
Contributor

jpanisbl commented Jul 7, 2025

Hello @andyross @nordic-krch @vaishnavachath Would you mind reviewing this PR please when you are available ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants