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>
This commit is contained in:
Markus Fuchs 2023-07-28 14:27:42 +02:00 committed by Fabio Baltieri
commit 27af62603c
4 changed files with 16 additions and 5 deletions

View file

@ -199,8 +199,8 @@ config SOC_GECKO_DEV_INIT
config COUNTER_GECKO_STIMER
bool
help
Enable counter driver based on RTCC module for Silicon Labs Gecko
chips.
Enable counter driver based on the Sleep Timer driver for Silicon Labs
Gecko chips.
config SOC_GECKO_CMU
bool