Skip to content

Commit 79c48b4

Browse files
committed
feat(esp_pm): add DCDC always on config
1 parent ce7393f commit 79c48b4

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

components/esp_hw_support/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ menu "Hardware Settings"
325325

326326
endmenu
327327

328+
orsource "./port/$IDF_TARGET/Kconfig.dcdc"
329+
328330
orsource "./port/$IDF_TARGET/Kconfig.ldo"
329331

330332
# Invisible bringup bypass options for esp_hw_support component
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
menu "DCDC Regulator Configurations"
2+
depends on SOC_GP_LDO_SUPPORTED
3+
4+
config ESP_SLEEP_KEEP_DCDC_ALWAYS_ON
5+
bool "Keep DC-DC power always on during light-sleep"
6+
default y
7+
help
8+
ESP32P4 will switch the power supply to LDO before sleeping, and switch to DCDC after waking up.
9+
These two processes take a long time and may bring some risks for some short duration
10+
light sleep. (DCDC -> LDO: 2.5ms (max), LDO -> DCDC: 1.2 ms)
11+
Enabling this option will make chip powered by DCDC during light sleep to reduce some power switch
12+
risks, this will also increase the power consumption during the light sleep.
13+
14+
DO NOT DISABLE UNLESS YOU KNOW WHAT YOU ARE DOING.
15+
16+
config ESP_SLEEP_DCM_VSET_VAL_IN_SLEEP
17+
int "DCDC voltage parameter during sleep"
18+
default 14
19+
range 0 31
20+
depends on ESP_SLEEP_KEEP_DCDC_ALWAYS_ON
21+
help
22+
This value determines the voltage of the DCDC chip during sleep. The same parameter value may
23+
correspond to different voltage values on different models of DCDC chips. Please update this
24+
value according to the model of external DCDC selected in your hardware solution.
25+
26+
For the DCDC chip model recommended by ESP, the recommended configuration
27+
valuesare listed below:
28+
- TI-TLV62569/TLV62569P: 14
29+
endmenu

0 commit comments

Comments
 (0)