Skip to content

Commit bd82086

Browse files
LeilaCY-LinJohnAZoidberg
authored andcommitted
fwk: sunflower: update pl setting to improve DC balance mode performance
To improve DC balance mode performance, follow ERS Sunflower Mainboard ERS_X8.pdf to update pl setting. BRANCH=sunflower BUG=https://app.clickup.com/t/86erzedgq TEST=Check the setting log on ec console Signed-off-by: LeilaCY-Lin <LeilaCY_Lin@compal.com>
1 parent 81d9262 commit bd82086

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

zephyr/program/framework/sunflower/src/cpu_power.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,19 @@ void update_soc_power_limit(bool force_update, bool force_no_adapter)
102102
reduce_typec_1_5A();
103103
} else if (!battery_is_present() && active_power >= 60) {
104104
/*Standalone mode AC only and AC >= 60W*/
105-
pl1_watt = 15;
105+
pl1_watt = 20;
106106
pl2_watt = 40;
107107
pl4_watt = ((active_power * 95) / 100);
108108
psyspl2_watt = ((active_power * 95) / 100);
109109
} else if (battery_percent >= 30 && active_power >= 55) {
110110
/* Battery percentage >= 30% and ADP >= 55W */
111-
pl1_watt = 15;
111+
pl1_watt = 20;
112112
pl2_watt = 40;
113113
pl4_watt = 87;
114114
psyspl2_watt = ((active_power * 95) / 100) + ((batt_rating * 70) / 100);
115115
} else if (battery_percent < 30 && active_power >= 55) {
116116
/* Battery percentage < 30% and ADP >= 55W */
117-
pl1_watt = 15;
117+
pl1_watt = 20;
118118
pl2_watt = MIN(((active_power * 90) / 100) - ROP, 40);
119119
pl4_watt = MIN(((active_power * 90) / 100) + ((batt_rating * 13) / 10), 87);
120120
psyspl2_watt = ((active_power * 95) / 100);

0 commit comments

Comments
 (0)