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/dragonegg | |
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/dragonegg')
-rw-r--r-- | baseboard/dragonegg/baseboard.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/baseboard/dragonegg/baseboard.h b/baseboard/dragonegg/baseboard.h index dccabccbde..5b095ce08f 100644 --- a/baseboard/dragonegg/baseboard.h +++ b/baseboard/dragonegg/baseboard.h @@ -127,6 +127,8 @@ #define PD_MAX_CURRENT_MA 3000 #define PD_MAX_VOLTAGE_MV 20000 +/* IT83XX config */ +#define CONFIG_IT83XX_VCC_1P8V /* I2C Bus Configuration */ #define CONFIG_I2C #define CONFIG_I2C_MASTER |