@@ -12,36 +12,61 @@ entries:
1212 cpu: esp_cpu_clear_watchpoint (noflash)
1313 cpu: esp_cpu_compare_and_set (noflash)
1414 esp_memory_utils (noflash)
15- rtc_clk (noflash)
1615 clk_utils (noflash)
16+ if PM_SLP_IRAM_OPT = y:
17+ rtc_clk (noflash)
18+ rtc_time (noflash_text)
1719 if SOC_CONFIGURABLE_VDDSDIO_SUPPORTED = y:
1820 rtc_init:rtc_vddsdio_get_config (noflash)
1921 rtc_init:rtc_vddsdio_set_config (noflash)
2022 if IDF_TARGET_ESP32 = y || IDF_TARGET_ESP32S2 = y || IDF_TARGET_ESP32S3 = y || IDF_TARGET_ESP32C2 = y || IDF_TARGET_ESP32C3 = y:
21- rtc_sleep (noflash_text)
22- rtc_time (noflash_text)
23+ rtc_sleep:rtc_sleep_start (noflash)
24+ if PM_SLP_IRAM_OPT = y:
25+ rtc_sleep:rtc_sleep_get_default_config (noflash)
26+ rtc_sleep:rtc_sleep_init (noflash)
27+ rtc_sleep:rtc_sleep_low_init (noflash)
28+ if IDF_TARGET_ESP32 = y || IDF_TARGET_ESP32S2 = y:
29+ rtc_sleep:rtc_sleep_pd (noflash)
30+ if IDF_TARGET_ESP32S3 = y || IDF_TARGET_ESP32C2 = y || IDF_TARGET_ESP32C3 = y:
31+ rtc_sleep:rtc_sleep_pu (noflash)
2332 if SOC_PMU_SUPPORTED = y && SOC_LIGHT_SLEEP_SUPPORTED = y:
2433 pmu_sleep (noflash)
25- if SPIRAM_FLASH_LOAD_TO_PSRAM = y:
26- pmu_init (noflash)
27- pmu_param (noflash)
28- if SOC_USB_SERIAL_JTAG_SUPPORTED = y:
34+ if SPIRAM_FLASH_LOAD_TO_PSRAM = y:
35+ pmu_init (noflash)
36+ pmu_param (noflash)
37+ elif PM_SLP_IRAM_OPT = y && IDF_TARGET_ESP32P4 != y:
38+ pmu_param:get_act_hp_dbias (noflash)
39+ pmu_param:get_act_lp_dbias (noflash)
40+ if PM_SLP_IRAM_OPT = y && SOC_USB_SERIAL_JTAG_SUPPORTED = y:
2941 sleep_console (noflash)
30- if SOC_USB_OTG_SUPPORTED && SOC_PM_SUPPORT_CNNT_PD = y:
42+ if PM_SLP_IRAM_OPT = y && SOC_USB_OTG_SUPPORTED && SOC_PM_SUPPORT_CNNT_PD = y:
3143 sleep_usb (noflash)
3244 if IDF_TARGET_ESP32 = y || IDF_TARGET_ESP32S2 = y:
3345 rtc_wdt (noflash_text)
34- if PERIPH_CTRL_FUNC_IN_IRAM = y:
35- periph_ctrl: periph_module_reset (noflash)
36- if PERIPH_CTRL_FUNC_IN_IRAM = y && ESP_WIFI_ENABLED = y:
46+ if ESP_PERIPH_CTRL_FUNC_IN_IRAM = y:
47+ periph_ctrl:periph_module_reset (noflash)
48+ periph_ctrl:periph_rcc_enter (noflash)
49+ periph_ctrl:periph_rcc_exit (noflash)
50+ periph_ctrl:periph_rcc_acquire_enter (noflash)
51+ periph_ctrl:periph_rcc_acquire_exit (noflash)
52+ periph_ctrl:periph_rcc_release_enter (noflash)
53+ periph_ctrl:periph_rcc_release_exit (noflash)
54+ if ESP_PERIPH_CTRL_FUNC_IN_IRAM = y && ESP_WIFI_ENABLED = y:
3755 periph_ctrl: wifi_module_enable (noflash)
3856 periph_ctrl: wifi_module_disable (noflash)
57+ if ESP_REGI2C_CTRL_FUNC_IN_IRAM = y:
58+ regi2c_ctrl:regi2c_ctrl_read_reg (noflash)
59+ regi2c_ctrl:regi2c_ctrl_read_reg_mask (noflash)
60+ regi2c_ctrl:regi2c_ctrl_write_reg (noflash)
61+ regi2c_ctrl:regi2c_ctrl_write_reg_mask (noflash)
62+ regi2c_ctrl:regi2c_enter_critical (noflash)
63+ regi2c_ctrl:regi2c_exit_critical (noflash)
3964 if SOC_SYSTIMER_SUPPORTED = y:
4065 systimer (noflash)
4166 if SOC_ADC_SHARED_POWER = y:
4267 if ADC_ONESHOT_CTRL_FUNC_IN_IRAM = y:
4368 sar_periph_ctrl (noflash)
44- else :
69+ elif PM_SLP_IRAM_OPT = y :
4570 sar_periph_ctrl: sar_periph_ctrl_power_enable (noflash)
4671
4772[mapping:soc_pm]
0 commit comments