diff options
author | Duncan Laurie <dlaurie@google.com> | 2017-08-10 12:20:50 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-03 08:54:13 +0000 |
commit | 1c5294673dc096ae6e8a11051120b92fb7fe36b7 (patch) | |
tree | dc7a7bfbda7b5fb7d1dbc939763f202c95e040b6 /board | |
parent | 8e7bbf94749ed9751e7ccb4963cd4a696186f765 (diff) | |
download | chrome-ec-1c5294673dc096ae6e8a11051120b92fb7fe36b7.tar.gz |
eve: Remove VCCIO from ALL_SYS_PWRGD on early boards
To work around rail issues with VCCIO remove it from the PMIC
ALL_SYS_PWRGD tree.
BUG=b:64228149
BRANCH=eve
TEST=manual stress testing on 5x units
Change-Id: Ic1eca099c3ef1f3b296bd3ebb6dba8d6ae8a676a
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://chromium-review.googlesource.com/611016
Reviewed-by: Scott Collyer <scollyer@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2320253
Tested-by: Patryk Duda <pdk@semihalf.com>
Commit-Queue: Patryk Duda <pdk@semihalf.com>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/eve/board.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/eve/board.c b/board/eve/board.c index d26ec8fb28..6a04153761 100644 --- a/board/eve/board.c +++ b/board/eve/board.c @@ -445,6 +445,10 @@ static void board_pmic_init(void) /* Clear power source events */ i2c_write8(I2C_PORT_PMIC, I2C_ADDR_BD99992_FLAGS, 0x04, 0xff); + + /* Disable VCCIO in ALL_SYS_PWRGD for early boards */ + if (board_get_version() <= BOARD_VERSION_DVTB) + i2c_write8(I2C_PORT_PMIC, I2C_ADDR_BD99992_FLAGS, 0x18, 0x80); } DECLARE_HOOK(HOOK_INIT, board_pmic_init, HOOK_PRIO_DEFAULT); |