mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp32c6: add SOC_MODEM_CLOCK_IS_INDEPENDENT soc_cap and more pd_caps
This commit is contained in:
parent
a898c3ddc6
commit
17f9285524
@ -47,6 +47,15 @@ typedef enum {
|
||||
ESP_PD_DOMAIN_RTC_FAST_MEM, //!< RTC fast memory
|
||||
#endif
|
||||
ESP_PD_DOMAIN_XTAL, //!< XTAL oscillator
|
||||
#if SOC_PM_SUPPORT_XTAL32K_PD
|
||||
ESP_PD_DOMAIN_XTAL32K,
|
||||
#endif
|
||||
#if SOC_PM_SUPPORT_RC32K_PD
|
||||
ESP_PD_DOMAIN_RC32K,
|
||||
#endif
|
||||
#if SOC_PM_SUPPORT_FOSC_PD
|
||||
ESP_PD_DOMAIN_FOSC,
|
||||
#endif
|
||||
#if SOC_PM_SUPPORT_CPU_PD
|
||||
ESP_PD_DOMAIN_CPU, //!< CPU core
|
||||
#endif
|
||||
|
@ -164,22 +164,7 @@ typedef struct {
|
||||
_Static_assert(22 >= SOC_RTCIO_PIN_COUNT, "Chip has more RTCIOs than 22, should increase ext1_rtc_gpio_mask field size");
|
||||
|
||||
static sleep_config_t s_config = {
|
||||
.pd_options = {
|
||||
#if SOC_PM_SUPPORT_RTC_PERIPH_PD
|
||||
ESP_PD_OPTION_AUTO,
|
||||
#endif
|
||||
#if SOC_PM_SUPPORT_RTC_SLOW_MEM_PD
|
||||
ESP_PD_OPTION_AUTO,
|
||||
#endif
|
||||
#if SOC_PM_SUPPORT_RTC_FAST_MEM_PD
|
||||
ESP_PD_OPTION_AUTO,
|
||||
#endif
|
||||
ESP_PD_OPTION_AUTO,
|
||||
#if SOC_PM_SUPPORT_CPU_PD
|
||||
ESP_PD_OPTION_AUTO,
|
||||
#endif
|
||||
ESP_PD_OPTION_AUTO, ESP_PD_OPTION_AUTO
|
||||
},
|
||||
.pd_options = {[0 ... ESP_PD_DOMAIN_MAX - 1] = ESP_PD_OPTION_AUTO,},
|
||||
.ccount_ticks_record = 0,
|
||||
.sleep_time_overhead_out = DEFAULT_SLEEP_OUT_OVERHEAD_US,
|
||||
.wakeup_triggers = 0
|
||||
|
@ -915,10 +915,26 @@ config SOC_PM_SUPPORT_BT_PD
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_PM_SUPPORT_XTAL32K_PD
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_PM_SUPPORT_RC32K_PD
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_PM_SUPPORT_FOSC_PD
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_CLK_RC_FAST_SUPPORT_CALIBRATION
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_MODEM_CLOCK_IS_INDEPENDENT
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_TEMPERATURE_SENSOR_SUPPORT_FAST_RC
|
||||
bool
|
||||
default y
|
||||
|
@ -428,8 +428,15 @@
|
||||
|
||||
#define SOC_PM_SUPPORT_BT_PD (1)
|
||||
|
||||
#define SOC_PM_SUPPORT_XTAL32K_PD (1)
|
||||
|
||||
#define SOC_PM_SUPPORT_RC32K_PD (1)
|
||||
|
||||
#define SOC_PM_SUPPORT_FOSC_PD (1)
|
||||
|
||||
/*-------------------------- CLOCK SUBSYSTEM CAPS ----------------------------------------*/
|
||||
#define SOC_CLK_RC_FAST_SUPPORT_CALIBRATION (1)
|
||||
#define SOC_MODEM_CLOCK_IS_INDEPENDENT (1)
|
||||
|
||||
/*-------------------------- Temperature Sensor CAPS -------------------------------------*/
|
||||
#define SOC_TEMPERATURE_SENSOR_SUPPORT_FAST_RC (1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user