mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
sc8541:enable adc when charger plugin
SC8541 ADC enable will cost extra current while standby. Enable sc8541 adc when charger plug in. Change-Id: Ib8993bbd2c7a806a60a91ed53be5e84abd43c877 Signed-off-by: Lei Chen <chenlei18@lenovo.com> Reviewed-on: https://gerrit.mot.com/2629332 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wei Xu <xuwei9@lenovo.com> Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
5994d0842b
commit
24a58e0f57
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ static struct reg_default sc8541_reg_init_val[] = {
|
|||
{BQ25980_MASK4, 0x00},
|
||||
{BQ25980_MASK5, 0x00},
|
||||
|
||||
{BQ25980_ADC_CONTROL1, 0x80},//enable ADC_EN
|
||||
{BQ25980_ADC_CONTROL1, 0x00},//disable ADC_EN as default
|
||||
{BQ25980_ADC_CONTROL2, 0x06}, //0x26: enable vac1 vac2 adc and vout adc
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue