mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 16:41:55 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user