Skip to content

Commit a9d16c3

Browse files
committed
drivers: clock_control: add tccvcp clock-control driver
Add clock-control driver for tccvcp, required by TOPST VCP45. Signed-off-by: Hounjoung Rim <[email protected]>
1 parent a9103bf commit a9d16c3

File tree

7 files changed

+1585
-0
lines changed

7 files changed

+1585
-0
lines changed

drivers/clock_control/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,5 @@ endif()
113113
zephyr_library_sources_ifdef(CONFIG_CLOCK_CONTROL_AST10X0 clock_control_ast10x0.c)
114114
zephyr_library_sources_ifdef(CONFIG_CLOCK_CONTROL_MAX32 clock_control_max32.c)
115115
zephyr_library_sources_ifdef(CONFIG_CLOCK_CONTROL_NRF_AUXPLL clock_control_nrf_auxpll.c)
116+
zephyr_library_sources_ifdef(CONFIG_CLOCK_CONTROL_TCC_CCU clock_control_tccvcp.c)
116117
zephyr_library_sources_ifdef(CONFIG_CLOCK_CONTROL_WCH_RCC clock_control_wch_rcc.c)

drivers/clock_control/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ source "drivers/clock_control/Kconfig.silabs"
106106

107107
source "drivers/clock_control/Kconfig.siwx91x"
108108

109+
source "drivers/clock_control/Kconfig.tcc"
110+
109111
source "drivers/clock_control/Kconfig.wch_rcc"
110112

111113
source "drivers/clock_control/Kconfig.it51xxx"

drivers/clock_control/Kconfig.tcc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright 2024 Hounjoung Rim <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config CLOCK_CONTROL_TCC_CCU
5+
bool "Telechips clock control driver"
6+
default y
7+
depends on DT_HAS_TCC_CCU_ENABLED
8+
help
9+
This option enables the clock driver for Telechips TCC70XX series SOC.

0 commit comments

Comments
 (0)