Skip to content

Commit 1ad2204

Browse files
LeilaCY-LinJohnAZoidberg
authored andcommitted
marigold: modify power table 0617
Signed-off-by: LeilaCY-Lin <LeilaCY_Lin@compal.com>
1 parent 0c7bf47 commit 1ad2204

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

zephyr/program/framework/marigold/src/charger.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ static void charger_chips_init(void)
125125
goto init_fail;
126126

127127
if (i2c_write16(I2C_PORT_CHARGER, ISL9241_ADDR_FLAGS,
128-
ISL9241_REG_CONTROL0, 0x0000))
128+
ISL9241_REG_CONTROL0,
129+
ISL9241_CONTROL0_CSIN_SINK_DISCHARGE))
129130
goto init_fail;
130131

131132
val = ISL9241_CONTROL1_PROCHOT_REF_6800;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void update_soc_power_limit(bool force_update, bool force_no_adapter)
9292
} else {
9393
if (active_power >= 55) {
9494
/* ADP >= 55W */
95-
pl1_watt = 25;
95+
pl1_watt = 30;
9696
pl2_watt = MIN((((active_power * 90) / 100) - 20), 60);
9797
psyspl2_watt = ((active_power * 95) / 100);
9898

@@ -106,7 +106,7 @@ void update_soc_power_limit(bool force_update, bool force_no_adapter)
106106

107107
} else {
108108
/*ADP < 55W*/
109-
pl1_watt = 25;
109+
pl1_watt = 30;
110110
pl2_watt = 30;
111111
psyspl2_watt = ((active_power * 95) / 100);
112112

0 commit comments

Comments
 (0)