mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
wls-chg: adjust some registers' addreess value
For original code from vender, some registers' address value are incorrect. We should fix them as data sheet. Change-Id: I52f68cd549b8b5bfa08f29168e7a99bb3d25fd4a Reviewed-on: https://gerrit.mot.com/2265882 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Haijian Ma <mahj8@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
5024ad827a
commit
7883e39b0b
1 changed files with 10 additions and 9 deletions
|
|
@ -178,15 +178,16 @@ cps_reg_s cps_reg_cfg[CPS_REG_MAX] = {
|
|||
{CPS_REG_FW_MAJOR_REV, 2, 0x0002},
|
||||
{CPS_REG_FW_MINOR_REV, 2, 0x0004},
|
||||
{CPS_REG_STATUS, 2, 0x0007},
|
||||
{CPS_REG_INT, 2, 0x0022},
|
||||
{CPS_REG_INT_ENABLE, 2, 0x0024},
|
||||
{CPS_REG_INT_CLEAR, 2, 0x0026},
|
||||
{CPS_REG_VOUT_SET, 2, 0x0030},
|
||||
{CPS_REG_ILIM_SET, 1, 0x0033},
|
||||
{CPS_REG_ADC_VOUT, 2, 0x0034},
|
||||
{CPS_REG_ADC_VRECT, 2, 0x0036},
|
||||
{CPS_REG_ADC_IOUT, 2, 0x0038},
|
||||
{CPS_REG_ADC_DIE_TEMP, 2, 0x003C}
|
||||
{CPS_REG_INT, 2, 0x0009},
|
||||
{CPS_REG_INT_ENABLE, 2, 0x000B},
|
||||
{CPS_REG_INT_CLEAR, 2, 0x000D},
|
||||
{CPS_REG_CMD, 2, 0x000F},
|
||||
{CPS_REG_VOUT_SET, 2, 0x0013},
|
||||
{CPS_REG_ILIM_SET, 1, 0x0016},
|
||||
{CPS_REG_ADC_VOUT, 2, 0x0017},
|
||||
{CPS_REG_ADC_VRECT, 2, 0x0019},
|
||||
{CPS_REG_ADC_IOUT, 2, 0x001B},
|
||||
{CPS_REG_ADC_DIE_TEMP, 2, 0x001D}
|
||||
};
|
||||
|
||||
//-------------------I2C APT start--------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue