The RTC subsystem in espressif's SOCs, among other tasks is responsible for clock selection for CPU and for low power domain clocks such as RTC_SLOW and RTC_FAST. This commit allows for proper clock source and rate selection for CPU, using the espressif,riscv and espressif,xtensa-lx6/7 bindings. It also enables clock selection for RTC_FAST and RTC_SLOW, that impacts some peripherals, such as rtc_timer. Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
20 lines
645 B
Text
20 lines
645 B
Text
# ESP32 General Purpose Timer configuration
|
|
|
|
# Copyright (c) 2020 Espressif Systems (Shanghai) Co., Ltd.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config COUNTER_TMR_ESP32
|
|
bool "ESP32 Counter Driver based on GP-Timers"
|
|
default y
|
|
depends on DT_HAS_ESPRESSIF_ESP32_TIMER_ENABLED
|
|
help
|
|
Enables the Counter driver API based on Espressif's General
|
|
Purpose Timers for ESP32 series devices.
|
|
|
|
config COUNTER_TMR_RTC_ESP32
|
|
bool "ESP32 Counter Driver based on GP-Timers"
|
|
default y
|
|
depends on DT_HAS_ESPRESSIF_ESP32_RTC_TIMER_ENABLED
|
|
help
|
|
Enables the Counter driver API based on Espressif's General
|
|
Purpose Timers for ESP32 series devices.
|