diff options
author | Dino Li <Dino.Li@ite.com.tw> | 2020-09-08 14:56:10 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-08 06:05:02 +0000 |
commit | 44f69459ded7bd93933a660c1f216f1ad0ae443e (patch) | |
tree | f57dbe0cb389e82316b82faa99c022ab03d58e9a /baseboard/octopus/baseboard.h | |
parent | a54cd39627e62e60af73e2d3ef51504f43d1fb0e (diff) | |
download | chrome-ec-44f69459ded7bd93933a660c1f216f1ad0ae443e.tar.gz |
it83xx: enable selecting EC's VCC
The VCC is the power source of EC's GPM0~6, will connect to 1.8v or
3.3v depended on platform design.
This change was made to ensure voltage level setting of GPM0~6 matches
the corresponded VCC level. So we can enable internal pull-up no matter
VCC is connected to 1.8v or 3.3v
BUG=b:168783892
BRANCH=none
TEST=- buildall.
- The level setting is correct on these boards:
asurada, drawcia, and reef_it8320
Change-Id: I4eae368e569987381a0437494262d588436bb011
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2397931
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Diffstat (limited to 'baseboard/octopus/baseboard.h')
-rw-r--r-- | baseboard/octopus/baseboard.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/baseboard/octopus/baseboard.h b/baseboard/octopus/baseboard.h index c8e4b24e56..c67c963c4f 100644 --- a/baseboard/octopus/baseboard.h +++ b/baseboard/octopus/baseboard.h @@ -58,6 +58,8 @@ /* Allow the EC to enter deep sleep in S0 */ #define CONFIG_LOW_POWER_S0 #elif defined(VARIANT_OCTOPUS_EC_ITE8320) + /* IT83XX config */ + #define CONFIG_IT83XX_VCC_1P8V /* I2C Bus Configuration */ #define I2C_PORT_BATTERY IT83XX_I2C_CH_A /* Shared bus */ #define I2C_PORT_CHARGER IT83XX_I2C_CH_A /* Shared bus */ |