summaryrefslogtreecommitdiff
path: root/power
diff options
context:
space:
mode:
authorScott Chao <scott.chao@bitland.corp-partner.google.com>2020-06-09 13:36:03 +0800
committerCommit Bot <commit-bot@chromium.org>2020-06-09 11:06:52 +0000
commitf6392851299ee41e006febcf0029d00f1b31c5be (patch)
treedb81c3f22739cd352cce3706bee6358b6839bfc4 /power
parent2ac40a2d3b8f08e455040116c447c9fd9c678813 (diff)
downloadchrome-ec-f6392851299ee41e006febcf0029d00f1b31c5be.tar.gz
kakadu: turn off Vconn boost gpio pin when S5/G3
It should be ~0V in G3, 5V in S3/S0. And this pin can solve apple HDMI dongle issue. BUG=b:156570690 BRANCH=kukui TEST=make -j BOARD=kakadu TEST=make buildall Signed-off-by: Scott Chao <scott.chao@bitland.corp-partner.google.com> Change-Id: I3bd23a0534d0d63fe22bf26ed3a24b34b73fa142 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2235235 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'power')
-rw-r--r--power/mt8183.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/power/mt8183.c b/power/mt8183.c
index d8d5a8e1a3..47b7a8b3e1 100644
--- a/power/mt8183.c
+++ b/power/mt8183.c
@@ -109,6 +109,9 @@ static const struct power_seq_op s3s5_power_seq[] = {
{ GPIO_AP_SYS_RST_L, 0, 0 },
/* Assert watchdog to PMIC (there may be a 1.6ms debounce) */
{ GPIO_PMIC_WATCHDOG_L, 0, 3 },
+#ifdef BOARD_KAKADU
+ { GPIO_USB_C0_VCONN_EN_OD, 0, 0 },
+#endif
};
static int forcing_shutdown;