Skip to content

Commit 4d14617

Browse files
vmyklebustkartben
authored andcommitted
drivers: serial: Add support for cc23x0 UART
Add support for UART to cc23x0 SoC. Signed-off-by: Lars Thalian Morstad <l-morstad@ti.com> Signed-off-by: Vebjorn Myklebust <v.myklebust@ti.com> Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com> Signed-off-by: Julien Panis <jpanis@baylibre.com>
1 parent f0cc39c commit 4d14617

File tree

5 files changed

+454
-0
lines changed

5 files changed

+454
-0
lines changed

drivers/serial/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ zephyr_library_sources_ifdef(CONFIG_UART_APBUART uart_apbuart.c)
2121
zephyr_library_sources_ifdef(CONFIG_UART_BCM2711_MU uart_bcm2711.c)
2222
zephyr_library_sources_ifdef(CONFIG_UART_BT uart_bt.c)
2323
zephyr_library_sources_ifdef(CONFIG_UART_CC13XX_CC26XX uart_cc13xx_cc26xx.c)
24+
zephyr_library_sources_ifdef(CONFIG_UART_CC23X0 uart_cc23x0.c)
2425
zephyr_library_sources_ifdef(CONFIG_UART_CC32XX uart_cc32xx.c)
2526
zephyr_library_sources_ifdef(CONFIG_UART_CDNS uart_cdns.c)
2627
zephyr_library_sources_ifdef(CONFIG_UART_CMSDK_APB uart_cmsdk_apb.c)

drivers/serial/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ rsource "Kconfig.b91"
164164
rsource "Kconfig.bcm2711"
165165
rsource "Kconfig.bt"
166166
rsource "Kconfig.cc13xx_cc26xx"
167+
rsource "Kconfig.cc23x0"
167168
rsource "Kconfig.cc32xx"
168169
rsource "Kconfig.cdns"
169170
rsource "Kconfig.cmsdk_apb"

drivers/serial/Kconfig.cc23x0

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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+
select PINCTRL
13+
help
14+
Enable the TI SimpleLink CC23x0 UART driver.

0 commit comments

Comments
 (0)