Skip to content

Commit f581b00

Browse files
committed
drivers: serial: add tccvcp serial driver
Add serial driver for tccvcp, required by TOPST VCP45. Signed-off-by: Hounjoung Rim <[email protected]>
1 parent 3c77ece commit f581b00

File tree

6 files changed

+950
-0
lines changed

6 files changed

+950
-0
lines changed

drivers/serial/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ zephyr_library_sources_ifdef(CONFIG_UART_SMARTBOND uart_smartbond.c)
9292
zephyr_library_sources_ifdef(CONFIG_UART_STELLARIS uart_stellaris.c)
9393
zephyr_library_sources_ifdef(CONFIG_UART_STM32 uart_stm32.c)
9494
zephyr_library_sources_ifdef(CONFIG_UART_SY1XX uart_sy1xx.c)
95+
zephyr_library_sources_ifdef(CONFIG_UART_TCCVCP uart_tccvcp.c)
9596
zephyr_library_sources_ifdef(CONFIG_UART_TELINK_B91 uart_b91.c)
9697
zephyr_library_sources_ifdef(CONFIG_UART_WCH_USART uart_wch_usart.c)
9798
zephyr_library_sources_ifdef(CONFIG_UART_XEC uart_mchp_xec.c)

drivers/serial/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ rsource "Kconfig.smartbond"
231231
rsource "Kconfig.stellaris"
232232
rsource "Kconfig.stm32"
233233
rsource "Kconfig.sy1xx"
234+
rsource "Kconfig.tccvcp"
234235
rsource "Kconfig.test"
235236
rsource "Kconfig.uart_sam"
236237
rsource "Kconfig.usart_sam"

drivers/serial/Kconfig.tccvcp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Copyright 2024 Hounjoung Rim <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config UART_TCCVCP
5+
bool "Telechips TCC VCP serial driver"
6+
default y
7+
depends on DT_HAS_TCC_TCCVCP_UART_ENABLED
8+
select SERIAL_HAS_DRIVER
9+
select SERIAL_SUPPORT_INTERRUPT
10+
help
11+
This option enables the UART driver for Telechips VCP platforms.

0 commit comments

Comments
 (0)