Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/adc/Kconfig.silabs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ config ADC_SILABS_IADC
bool "Silabs Incremental ADC driver"
default y
depends on DT_HAS_SILABS_IADC_ENABLED
depends on CLOCK_CONTROL
select SILABS_SISDK_IADC
select ADC_CONFIGURABLE_INPUTS
help
Expand Down
1 change: 1 addition & 0 deletions drivers/comparator/Kconfig.silabs_acmp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ config COMPARATOR_SILABS_ACMP
bool "Silabs ACMP comparator driver"
default y
depends on DT_HAS_SILABS_ACMP_ENABLED
depends on CLOCK_CONTROL
select PINCTRL
select SILABS_SISDK_ACMP
help
Expand Down
1 change: 1 addition & 0 deletions drivers/dac/Kconfig.silabs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ config DAC_SILABS_VDAC
bool "Silabs DAC driver for VDAC"
default y
depends on DT_HAS_SILABS_VDAC_ENABLED
depends on CLOCK_CONTROL
select PINCTRL
select SILABS_SISDK_VDAC
help
Expand Down
1 change: 1 addition & 0 deletions drivers/gpio/Kconfig.silabs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ menuconfig GPIO_SILABS
bool "Silabs GPIO driver"
default y
depends on DT_HAS_SILABS_GPIO_ENABLED
depends on CLOCK_CONTROL
select SILABS_SISDK_GPIO
help
Enable the Silabs gpio driver.
Expand Down
1 change: 1 addition & 0 deletions drivers/i2c/Kconfig.silabs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ menuconfig I2C_SILABS
bool "Silabs I2C_S2 driver"
default y
depends on DT_HAS_SILABS_I2C_ENABLED
depends on CLOCK_CONTROL
select SILABS_SISDK_I2C
help
Enable I2C series 2 driver for the Silabs gecko SoC series.
Expand Down
2 changes: 2 additions & 0 deletions drivers/pwm/Kconfig.silabs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ config PWM_SILABS_LETIMER
bool "Silabs LETIMER PWM driver"
default y
depends on DT_HAS_SILABS_LETIMER_PWM_ENABLED
depends on CLOCK_CONTROL
select SILABS_SISDK_LETIMER
help
Enable the PWM driver for the LETIMER peripheral on Silabs Series 2 SoCs.
Expand All @@ -17,6 +18,7 @@ config PWM_SILABS_TIMER
bool "Silabs TIMER PWM driver"
default y
depends on DT_HAS_SILABS_TIMER_PWM_ENABLED
depends on CLOCK_CONTROL
select SILABS_SISDK_TIMER
help
Enable the PWM driver for the TIMER peripheral on Silabs Series 2 SoCs.
Expand Down
1 change: 1 addition & 0 deletions drivers/retained_mem/Kconfig.silabs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ config RETAINED_MEM_SILABS_BURAM
bool "Silicon Labs BURAM driver"
default y
depends on DT_HAS_SILABS_BURAM_ENABLED
depends on CLOCK_CONTROL
help
Enable driver for Silicon Labs BURAM-based retained memory register support.
1 change: 1 addition & 0 deletions drivers/spi/Kconfig.silabs_eusart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ config SPI_SILABS_EUSART
default y
depends on DT_HAS_SILABS_EUSART_SPI_ENABLED
depends on GPIO
depends on CLOCK_CONTROL
select SILABS_SISDK_EUSART
select PINCTRL if SOC_FAMILY_SILABS_S2
help
Expand Down
3 changes: 3 additions & 0 deletions soc/silabs/silabs_s2/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ configdefault SILABS_SLEEPTIMER_TIMER
configdefault CORTEX_M_SYSTICK
default n if SILABS_SLEEPTIMER_TIMER || GECKO_BURTC_TIMER

configdefault CLOCK_CONTROL
default y

# silabs_s2 uses simplicity_sdk hal library, which already have by default a zero latency
# IRQs mechanism with a hardcoded value. In order to be aligned with simplicity_sdk, we
# need to activate Zero Latency IRQ in Zephyr by default. The level (2) depends on the
Expand Down