Skip to content

Commit ff3637b

Browse files
Martinhoff-makernashif
authored andcommitted
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 <[email protected]>
1 parent bf9f4c0 commit ff3637b

File tree

12 files changed

+12
-3
lines changed

12 files changed

+12
-3
lines changed

boards/silabs/dev_kits/siwx917_dk2605a/siwx917_dk2605a_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ CONFIG_USE_DT_CODE_PARTITION=y
66
CONFIG_CONSOLE=y
77
CONFIG_UART_CONSOLE=y
88
CONFIG_SERIAL=y
9-
CONFIG_CLOCK_CONTROL=y

boards/silabs/radio_boards/siwx917_rb4338a/siwx917_rb4338a_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ CONFIG_USE_DT_CODE_PARTITION=y
66
CONFIG_CONSOLE=y
77
CONFIG_UART_CONSOLE=y
88
CONFIG_SERIAL=y
9-
CONFIG_CLOCK_CONTROL=y

boards/silabs/radio_boards/siwx917_rb4342a/siwx917_rb4342a_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ CONFIG_USE_DT_CODE_PARTITION=y
66
CONFIG_CONSOLE=y
77
CONFIG_UART_CONSOLE=y
88
CONFIG_SERIAL=y
9-
CONFIG_CLOCK_CONTROL=y
109
CONFIG_MEMC=y
1110

1211
CONFIG_CLOCK_CONTROL_INIT_PRIORITY=28

drivers/adc/Kconfig.silabs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ config ADC_SILABS_SIWX91X
3737
bool "Silabs Siwx91x MCU ADC driver"
3838
default y
3939
depends on DT_HAS_SILABS_SIWX91X_ADC_ENABLED
40+
depends on CLOCK_CONTROL
4041
select ADC_CONFIGURABLE_INPUTS
4142
select PINCTRL
4243
help

drivers/dma/Kconfig.siwx91x

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ config DMA_SILABS_SIWX91X
66
default y
77
select SYS_MEM_BLOCKS
88
depends on DT_HAS_SILABS_SIWX91X_DMA_ENABLED
9+
depends on CLOCK_CONTROL
910
help
1011
Enable the High Power(HP)/Ultra Low Power(ULP) DMA driver for the Silabs SiWx91x SoC series.
1112

@@ -14,6 +15,7 @@ config DMA_SILABS_SIWX91X_GPDMA
1415
default y
1516
select SYS_MEM_BLOCKS
1617
depends on DT_HAS_SILABS_GPDMA_ENABLED
18+
depends on CLOCK_CONTROL
1719
help
1820
Enable the GDMA driver for the Silabs SiWx91x SoC series.
1921

drivers/i2s/Kconfig.siwx91x

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ menuconfig I2S_SILABS_SIWX91X
55
bool "Silabs Siwx91x MCU I2S controller driver"
66
default y
77
depends on DT_HAS_SILABS_SIWX91X_I2S_ENABLED
8+
depends on CLOCK_CONTROL
89
select CACHE_MANAGEMENT if CPU_HAS_DCACHE
910
select DMA
1011
select PINCTRL

drivers/memc/Kconfig.siwx91x_qspi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ config MEMC_SILABS_SIWX91X_QSPI
55
bool "Silabs SiWx91x QSPI memory controller"
66
default y
77
depends on DT_HAS_SILABS_SIWX91X_QSPI_MEMORY_ENABLED
8+
depends on CLOCK_CONTROL
89
select PINCTRL
910
help
1011
Enable Silabs SiWx91x QSPI (Quad Serial Peripheral Interface) memory

drivers/pwm/Kconfig.siwx91x

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ config PWM_SILABS_SIWX91X
55
bool "Silabs SiWx91x PWM driver"
66
default y
77
depends on DT_HAS_SILABS_SIWX91X_PWM_ENABLED
8+
depends on CLOCK_CONTROL
89
help
910
Enable the PWM driver for the Silabs SiWx91x SoC series.

drivers/rtc/Kconfig.siwx91x

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ config RTC_SILABS_SIWX91X
55
bool "Silabs siwx91x RTC driver"
66
default y
77
depends on DT_HAS_SILABS_SIWX91X_RTC_ENABLED
8+
depends on CLOCK_CONTROL
89
help
910
Build the RTC driver for the Silabs SIWX91X SoC (Calendar
1011
hardware block as described in the reference manual).

drivers/spi/Kconfig.silabs_siwx91x_gspi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ config SPI_SILABS_SIWX91X_GSPI
55
bool "Silabs GSPI SPI Primary controller driver"
66
default y
77
depends on DT_HAS_SILABS_GSPI_ENABLED
8+
depends on CLOCK_CONTROL
89
select GPIO
910
select PINCTRL
1011
help

0 commit comments

Comments
 (0)