From: Limeng <meng...@windriver.com> According to PMIC vendor suggestion and battery specification, changing charger current from 400mA into 800mA.
Signed-off-by: Meng Li <meng...@windriver.com> --- drivers/power/atc260x_power/atc260x_power_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/power/atc260x_power/atc260x_power_main.c b/drivers/power/atc260x_power/atc260x_power_main.c index 7e74021..90ea514 100755 --- a/drivers/power/atc260x_power/atc260x_power_main.c +++ b/drivers/power/atc260x_power/atc260x_power_main.c @@ -1366,6 +1366,8 @@ static void atc260x_charger_adjust_current(struct atc260x_charger *charger) if (charger->charger_cur_status & WALL_PLUGED) { set_current = atc260x_get_future_current(charger, WALL_PLUGED); + //ori=4;set_current=0x8, current_binary=0x6->0110: ICHG_REG_CC=800mA + set_current = set_current + 4; } else if (charger->charger_cur_status & USB_PLUGED) { -- 2.7.4 -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto