charger:bq25960 30w charger support

bq25960 30w charger support
at driver

Change-Id: Ia1f4bd4004afb43c6f1d46c4b38d0818164b4d0e
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1903631
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
xuwei9 2021-03-17 17:14:11 +08:00 • committed by Wei Xu
commit 932a79b381

View file

@ -397,6 +397,7 @@ static void dump_reg(struct bq25980_device *bq, int start, int end)
dev_err(bq->dev, "Reg[%02X] = 0x%02X\n", addr, val);
}
}
/*
static void dump_all_reg(struct bq25980_device *bq)
{
int ret;
@ -408,7 +409,7 @@ static void dump_all_reg(struct bq25980_device *bq)
if (!ret)
dev_err(bq->dev, "Reg[%02X] = 0x%02X\n", addr, val);
}
}
}*/
/*
static int bq25980_get_adc_enable(struct bq25980_device *bq)
{
@ -1075,7 +1076,7 @@ static int bq25980_get_charger_property(struct power_supply *psy,
default:
return -EINVAL;
}
dev_err(bq->dev,"%s,psp:%d,value:%d\n",__func__,psp,val->intval);
// dev_err(bq->dev,"%s,psp:%d,value:%d\n",__func__,psp,val->intval);
return 0;
}