Skip to content
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 RTC support to TI cc23x0 SoC #84527

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

bogdanovs
Copy link
Contributor

This series adds RTC support to TI cc23x0 SoC.
Only the 3 top-level commits are part of this series. The previous commits are here because this series depends on the "base support" series, that has not been merged yet: #76441
Datasheet: https://www.ti.com/lit/ds/symlink/cc2340r5.pdf

jpanisbl and others added 21 commits January 24, 2025 16:01
Sync with simplelink_lpf3 support for cc23x0r5 SoC.

Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Product URL: https://www.ti.com/product/CC2340R5

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Datasheet: https://www.ti.com/lit/ds/symlink/cc2340r5.pdf
TRM: https://www.ti.com/lit/ug/swcu193/swcu193.pdf

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Product URL: https://www.ti.com/tool/LP-EM-CC2340R5
Quick Start Guide: https://www.ti.com/lit/ml/swru588a/swru588a.pdf

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Add support for flash to cc23x0 SoC. The driver interacts with VIMS
(Versatile Instruction Memory System) internal bus standing before NVM.

Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
This region is used for customer configuration options.

Signed-off-by: Julien Panis <[email protected]>
Add support for flash to cc23x0 SoC.

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Describe system flash setting.

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Add support for pinctrl to cc23x0 SoC. Like for other TI SoCs,
a node approach is implemented (no grouping approach).

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Add support for pinctrl to cc23x0 SoC.

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Add support for systim to cc23x0 SoC.

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Add support for GPIO to cc23x0 SoC.

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Add support for GPIO to cc23x0 SoC.

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Enable GPIO.

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Add support for LEDs and buttons.

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Add support for UART to cc23x0 SoC.

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Add support for UART to cc23x0 SoC.

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Enable UART.

Signed-off-by: Lars Thalian Morstad <[email protected]>
Signed-off-by: Vebjorn Myklebust <[email protected]>
Signed-off-by: Stoyan Bogdanov <[email protected]>
Signed-off-by: Julien Panis <[email protected]>
Add support for cc23x0 RTC driver in counter.
RTC is always ON after device boot. Timer is restared only
on POR, and is active during STANDBY and ACTIVE power states.

Signed-off-by: Stoyan Bogdanov <[email protected]>
Add support for RTC counter to cc23x0 SoC.

Signed-off-by: Stoyan Bogdanov <[email protected]>
Add overlay for lp_em_cc2340r5 to counter/alarm sample.

Signed-off-by: Stoyan Bogdanov <[email protected]>
@zephyrbot zephyrbot added platform: TI SimpleLink Texas Instruments SimpleLink MCU area: GPIO area: Timer Timer area: UART Universal Asynchronous Receiver-Transmitter area: Pinctrl area: Flash area: Counter area: Samples Samples labels Jan 24, 2025
@zephyrbot zephyrbot requested a review from andyross January 24, 2025 17:21
@zephyrbot
Copy link
Collaborator

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_ti zephyrproject-rtos/hal_ti@2e7b95a zephyrproject-rtos/hal_ti@258652a zephyrproject-rtos/[email protected]

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

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.

5 participants