From b978e52ca504f28d0bbb4dbd38383d4bc074c9b4 Mon Sep 17 00:00:00 2001 From: Joseph Chen Date: Fri, 15 Jan 2021 16:24:22 +0800 Subject: [PATCH] power: pmic: rk8xx: inactive pmic_sleep by default Signed-off-by: Joseph Chen Change-Id: Ia5729341c5a94d0109a8a28e48ad8eb79b80962e --- drivers/power/pmic/rk8xx.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/power/pmic/rk8xx.c b/drivers/power/pmic/rk8xx.c index a92b5faf42..3435f86bb8 100644 --- a/drivers/power/pmic/rk8xx.c +++ b/drivers/power/pmic/rk8xx.c @@ -149,12 +149,11 @@ static struct reg_data rk817_init_reg[] = { * the under-voltage protection will shutdown the LDO3 and reset the PMIC */ { RK817_BUCK4_CMIN, 0x60, 0x60}, -/* - * Only when system suspend while U-Boot charge needs this config support - */ + + /* Set pmic_sleep as none function */ + { RK817_PMIC_SYS_CFG3, 0x00, 0x18 }, + #ifdef CONFIG_DM_CHARGE_DISPLAY - /* Set pmic_sleep as sleep function */ - { RK817_PMIC_SYS_CFG3, 0x08, 0x18 }, /* Set pmic_int active low */ { RK817_GPIO_INT_CFG, 0x00, 0x02 }, #endif