drivers: timer: silabs: Add sleeptimer timer driver

Add OS timer implementation making use of the Sleeptimer HAL.
Sleeptimer integrates tightly with the Silabs Power Manager HAL,
and must be used as the OS timer to achieve optimal power consumption
when using the radio.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
This commit is contained in:
Aksel Skauge Mellbye 2024-10-21 12:27:03 +02:00 committed by Carles Cufí
commit da6ddc92cd
7 changed files with 202 additions and 8 deletions

View file

@ -121,6 +121,13 @@ config SOC_GECKO_TRNG
help
Set if the SoC has a True Random Number Generator (TRNG) module.
config SOC_SILABS_SLEEPTIMER
bool
select SOC_GECKO_PRS
select SOC_GECKO_RTCC if SOC_SERIES_EFR32BG22 || SOC_SERIES_EFR32BG27 || SOC_SERIES_EFR32MG21
help
Set if the Sleeptimer HAL module is used.
if PM
config SOC_GECKO_PM_BACKEND_PMGR