Skip to content

Commit 697d879

Browse files
committed
drivers: serial: Add support for cc23x0 UART
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]>
1 parent ba374d7 commit 697d879

File tree

5 files changed

+440
-0
lines changed

5 files changed

+440
-0
lines changed

drivers/serial/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ zephyr_library_sources_ifdef(CONFIG_UART_TELINK_B91 uart_b91.c)
99
zephyr_library_sources_ifdef(CONFIG_UART_IMX uart_imx.c)
1010
zephyr_library_sources_ifdef(CONFIG_UART_ITE_IT8XXX2 uart_ite_it8xxx2.c)
1111
zephyr_library_sources_ifdef(CONFIG_UART_CC13XX_CC26XX uart_cc13xx_cc26xx.c)
12+
zephyr_library_sources_ifdef(CONFIG_UART_CC23X0 uart_cc23x0.c)
1213
zephyr_library_sources_ifdef(CONFIG_UART_CC32XX uart_cc32xx.c)
1314
zephyr_library_sources_ifdef(CONFIG_UART_CMSDK_APB uart_cmsdk_apb.c)
1415
zephyr_library_sources_ifdef(CONFIG_UART_ESP32 uart_esp32.c)

drivers/serial/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ rsource "Kconfig.cc13xx_cc26xx"
188188

189189
rsource "Kconfig.cc32xx"
190190

191+
rsource "Kconfig.cc23x0"
192+
191193
rsource "Kconfig.cmsdk_apb"
192194

193195
rsource "Kconfig.sifive"

drivers/serial/Kconfig.cc23x0

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (c) 2024 Texas Instruments Incorporated
2+
# Copyright (c) 2024 BayLibre, SAS
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
config UART_CC23X0
7+
bool "TI SimpleLink CC23x0 UART driver"
8+
default y
9+
depends on DT_HAS_TI_CC23X0_UART_ENABLED
10+
select SERIAL_HAS_DRIVER
11+
select SERIAL_SUPPORT_INTERRUPT
12+
help
13+
Enable the TI SimpleLink CC23x0 UART driver.

0 commit comments

Comments
 (0)