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 DMA support to TI cc23x0 SoC #84519

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

Conversation

jpanisbl
Copy link
Contributor

@jpanisbl jpanisbl commented Jan 24, 2025

This series adds DMA 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 "upstream-cc23x0-base-support" PR, 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:02
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 8-channel configurable DMA controller. The driver
supports the following features:
- memory to peripheral (ch0 to ch5)
- peripheral to memory (ch0 to ch5)
- memory to memory (ch6 and ch7)

Each DMA channel is multiplexed between two or more trigger sources:
- ch0 -> SPI0_TX or UART0_RX
- ch1 -> SPI0_RX or UART0_TX
- ch2 -> LRFD or UART0_TX
- ch3 -> ADC0 or UART0_RX
- ch4 -> AES_A or LRFD
- ch5 -> AES_B or ADC0
- ch6 -> Software Event Channel 0
- ch7 -> Software Event Channel 1

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

Signed-off-by: Julien Panis <[email protected]>
Enable DMA.

Signed-off-by: Julien Panis <[email protected]>
@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.

4 participants