Skip to content

Commit 6391c75

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 b14b20a commit 6391c75

File tree

7 files changed

+1522
-0
lines changed

7 files changed

+1522
-0
lines changed

drivers/clock_control/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ zephyr_library_sources_ifdef(CONFIG_CLOCK_CONTROL_NRF_HSFLL_LOCAL clock_cont
5656
zephyr_library_sources_ifdef(CONFIG_CLOCK_CONTROL_NRF_LFCLK clock_control_nrf_lfclk.c)
5757
zephyr_library_sources_ifdef(CONFIG_CLOCK_CONTROL_NRF_AUXPLL clock_control_nrf_auxpll.c)
5858
zephyr_library_sources_ifdef(CONFIG_CLOCK_CONTROL_BOUFFALOLAB_BL60X clock_control_bl60x.c)
59+
zephyr_library_sources_ifdef(CONFIG_CLOCK_CONTROL_TCC_CCU clock_control_tccvcp.c)
5960

6061
if(CONFIG_CLOCK_CONTROL_RENESAS_RZA2M_CPG)
6162
zephyr_library_sources(clock_control_renesas_rza2m_cpg.c)

drivers/clock_control/Kconfig

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

111111
source "drivers/clock_control/Kconfig.siwx91x"
112112

113+
source "drivers/clock_control/Kconfig.tcc"
114+
113115
source "drivers/clock_control/Kconfig.wch_rcc"
114116

115117
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)