Lars: Update PMIC settings

To increase input voltage in PMIC

BUG=chrome-os-partner:49222
BRANCH=lars
TEST=`make -j BOARD=lars`, OS start normally.
Signed-off-by: Ryan Zhang <Ryan.Zhang@quantatw.com>

Change-Id: I8c4565191374c741dfdf9a078e0da4124731c4ea
Reviewed-on: https://chromium-review.googlesource.com/320505
Commit-Ready: Ryan Zhang <Ryan.Zhang@quantatw.com>
Tested-by: Ryan Zhang <Ryan.Zhang@quantatw.com>
Reviewed-by: Shawn N <shawnn@chromium.org>
This commit is contained in:
Ryan Zhang
2016-01-11 10:37:29 +08:00
committed by chrome-bot
parent 726ce97002
commit 84da8889ab

View File

@@ -403,6 +403,16 @@ static void board_pmic_init(void)
if (ret)
goto pmic_error;
/*
* Increase Voltage
* [7:0] : 0x2a default
* [5:4] : 10b default
* [5:4] : 01b 5.1V (0x1a)
*/
ret = I2C_PMIC_WRITE(TPS650830_REG_V5ADS3CNT, 0x1a);
if (ret)
goto pmic_error;
CPRINTS("PMIC initialization done");
return;