File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
components/esp_hw_support/port Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,10 @@ const pmu_sleep_config_t* pmu_sleep_config_default(
236
236
analog_default .lp_sys [LP (SLEEP )].analog .bias_sleep = PMU_BIASSLP_SLEEP_ON ;
237
237
analog_default .lp_sys [LP (SLEEP )].analog .dbg_atten = PMU_DBG_ATTEN_ACTIVE_DEFAULT ;
238
238
analog_default .lp_sys [LP (SLEEP )].analog .dbias = get_act_lp_dbias ();
239
+ } else if (!(pd_flags & PMU_SLEEP_PD_RC_FAST )) {
240
+ analog_default .hp_sys .analog .dbias = get_act_hp_dbias ();
241
+ analog_default .lp_sys [LP (SLEEP )].analog .dbg_atten = PMU_DBG_ATTEN_LIGHTSLEEP_NODROP ;
242
+ analog_default .lp_sys [LP (SLEEP )].analog .dbias = get_act_lp_dbias ();
239
243
}
240
244
241
245
config -> analog = analog_default ;
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ extern "C" {
35
35
#define PMU_LP_DRVB_LIGHTSLEEP 0
36
36
#define PMU_HP_XPD_LIGHTSLEEP 1
37
37
38
+ #define PMU_DBG_ATTEN_LIGHTSLEEP_NODROP 0
38
39
#define PMU_DBG_ATTEN_LIGHTSLEEP_DEFAULT 0
39
40
#define PMU_HP_DBIAS_LIGHTSLEEP_0V6_DEFAULT 1
40
41
#define PMU_LP_DBIAS_LIGHTSLEEP_0V7_DEFAULT 12
Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ const pmu_sleep_config_t* pmu_sleep_config_default(
164
164
analog_default .lp_sys [LP (SLEEP )].analog .pd_cur = PMU_PD_CUR_SLEEP_ON ;
165
165
analog_default .lp_sys [LP (SLEEP )].analog .bias_sleep = PMU_BIASSLP_SLEEP_ON ;
166
166
analog_default .lp_sys [LP (SLEEP )].analog .dbias = get_act_lp_dbias ();
167
+ } else if (!(pd_flags & PMU_SLEEP_PD_RC_FAST )) {
168
+ analog_default .hp_sys .analog .dbias = get_act_hp_dbias ();
169
+ analog_default .lp_sys [LP (SLEEP )].analog .dbias = get_act_lp_dbias ();
167
170
}
168
171
config -> analog = analog_default ;
169
172
}
You can’t perform that action at this time.
0 commit comments