zephyr/drivers/counter/Kconfig.gecko
Markus Fuchs 27af62603c drivers: counter: gecko: Add SYSRTC stimer support
SiLabs' sleeptimer driver supports several hardware peripherals, of
which the counter driver so far only supports the RTCC-based variant.

This patch adds support for the SYSRTC-based sleeptimer implementation,
which is required for Gecko SoCs that do not have an RTCC module.

Signed-off-by: Markus Fuchs <markus.fuchs@ch.sauter-bc.com>
2023-08-09 08:24:52 +00:00

25 lines
660 B
Plaintext

# Silicon Labs Gecko Counter driver config
# Copyright (c) 2019, Piotr Mienkowski
# SPDX-License-Identifier: Apache-2.0
config COUNTER_GECKO_RTCC
bool "Silicon Labs Gecko Counter (RTCC) driver"
default y
depends on DT_HAS_SILABS_GECKO_RTCC_ENABLED
select SOC_GECKO_CMU
select SOC_GECKO_RTCC
help
Enable counter driver based on RTCC module for Silicon Labs Gecko
chips.
config COUNTER_GECKO_STIMER
bool "Silicon Labs Gecko Counter Sleep Timer driver"
default y
depends on DT_HAS_SILABS_GECKO_STIMER_ENABLED
select SOC_GECKO_RTCC
select SOC_GECKO_PRS
help
Enable the counter driver for Sleep Timer module for Silicon Labs
Gecko chips.