27af62603c
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>
25 lines
660 B
Plaintext
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.
|