soc: silabs: siwx91x: enabled clock control by default for siwx91x soc

Enable clock control by default for siwx91x SoCs. Moreover, most
drivers for siwx91x soc depend on clock control, but didn't declare
it.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
This commit is contained in:
Martin Hoff
2025-11-28 16:26:08 +01:00
committed by Anas Nashif
parent bf9f4c0cee
commit ff3637bf83
12 changed files with 12 additions and 3 deletions

View File

@@ -6,4 +6,3 @@ CONFIG_USE_DT_CODE_PARTITION=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_CLOCK_CONTROL=y

View File

@@ -6,4 +6,3 @@ CONFIG_USE_DT_CODE_PARTITION=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_CLOCK_CONTROL=y

View File

@@ -6,7 +6,6 @@ CONFIG_USE_DT_CODE_PARTITION=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_CLOCK_CONTROL=y
CONFIG_MEMC=y
CONFIG_CLOCK_CONTROL_INIT_PRIORITY=28

View File

@@ -37,6 +37,7 @@ config ADC_SILABS_SIWX91X
bool "Silabs Siwx91x MCU ADC driver"
default y
depends on DT_HAS_SILABS_SIWX91X_ADC_ENABLED
depends on CLOCK_CONTROL
select ADC_CONFIGURABLE_INPUTS
select PINCTRL
help

View File

@@ -6,6 +6,7 @@ config DMA_SILABS_SIWX91X
default y
select SYS_MEM_BLOCKS
depends on DT_HAS_SILABS_SIWX91X_DMA_ENABLED
depends on CLOCK_CONTROL
help
Enable the High Power(HP)/Ultra Low Power(ULP) DMA driver for the Silabs SiWx91x SoC series.
@@ -14,6 +15,7 @@ config DMA_SILABS_SIWX91X_GPDMA
default y
select SYS_MEM_BLOCKS
depends on DT_HAS_SILABS_GPDMA_ENABLED
depends on CLOCK_CONTROL
help
Enable the GDMA driver for the Silabs SiWx91x SoC series.

View File

@@ -5,6 +5,7 @@ menuconfig I2S_SILABS_SIWX91X
bool "Silabs Siwx91x MCU I2S controller driver"
default y
depends on DT_HAS_SILABS_SIWX91X_I2S_ENABLED
depends on CLOCK_CONTROL
select CACHE_MANAGEMENT if CPU_HAS_DCACHE
select DMA
select PINCTRL

View File

@@ -5,6 +5,7 @@ config MEMC_SILABS_SIWX91X_QSPI
bool "Silabs SiWx91x QSPI memory controller"
default y
depends on DT_HAS_SILABS_SIWX91X_QSPI_MEMORY_ENABLED
depends on CLOCK_CONTROL
select PINCTRL
help
Enable Silabs SiWx91x QSPI (Quad Serial Peripheral Interface) memory

View File

@@ -5,5 +5,6 @@ config PWM_SILABS_SIWX91X
bool "Silabs SiWx91x PWM driver"
default y
depends on DT_HAS_SILABS_SIWX91X_PWM_ENABLED
depends on CLOCK_CONTROL
help
Enable the PWM driver for the Silabs SiWx91x SoC series.

View File

@@ -5,6 +5,7 @@ config RTC_SILABS_SIWX91X
bool "Silabs siwx91x RTC driver"
default y
depends on DT_HAS_SILABS_SIWX91X_RTC_ENABLED
depends on CLOCK_CONTROL
help
Build the RTC driver for the Silabs SIWX91X SoC (Calendar
hardware block as described in the reference manual).

View File

@@ -5,6 +5,7 @@ config SPI_SILABS_SIWX91X_GSPI
bool "Silabs GSPI SPI Primary controller driver"
default y
depends on DT_HAS_SILABS_GSPI_ENABLED
depends on CLOCK_CONTROL
select GPIO
select PINCTRL
help

View File

@@ -5,5 +5,6 @@ config WDT_SILABS_SIWX91X
bool "Silabs SiWx91x Watchdog driver"
default y
depends on DT_HAS_SILABS_SIWX91X_WDT_ENABLED
depends on CLOCK_CONTROL
help
Enable the Watchdog driver for the Silabs SiWx91x SoC series.

View File

@@ -10,6 +10,9 @@ configdefault SYS_CLOCK_TICKS_PER_SEC
default 128 if !TICKLESS_KERNEL && SILABS_SLEEPTIMER_TIMER
default 1024 if SILABS_SLEEPTIMER_TIMER
configdefault CLOCK_CONTROL
default y
configdefault UART_NS16550_DW8250_DW_APB
default y