diff options
author | Hank.Xie <hank.xie@quanta.corp-partner.google.com> | 2022-07-07 01:14:38 -0400 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-10 01:35:54 +0000 |
commit | 4342d4ee6129976b51dddd652c2e1ea3dc774a9f (patch) | |
tree | 9ca1bf8bd7fce550de1958899eb3f03fbba639de /board | |
parent | 5ec5a53cc78b85c6ad887bd3d0bd9cf09425f1b6 (diff) | |
download | chrome-ec-4342d4ee6129976b51dddd652c2e1ea3dc774a9f.tar.gz |
shotzo: Remove hdmi hpd pin
The C1 hpd pin of AP is controlled by HDMI header directly.
EC should not control it.
BUG=none
BRANCH=none
TEST=make BOARD=shotzo
Signed-off-by: Hank.Xie <hank.xie@quanta.corp-partner.google.com>
Change-Id: I95a5d510c3c2584a87788357ec91dd95b302fd54
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3750548
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/shotzo/board.h | 2 | ||||
-rw-r--r-- | board/shotzo/gpio.inc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/board/shotzo/board.h b/board/shotzo/board.h index 440e0fed70..0484f288d9 100644 --- a/board/shotzo/board.h +++ b/board/shotzo/board.h @@ -68,6 +68,7 @@ #undef CONFIG_LID_SWITCH #undef CONFIG_USB_CHARGER #undef CONFIG_VOLUME_BUTTONS +#undef GPIO_USB_C1_DP_HPD /* I2C Bus Configuration */ #define I2C_PORT_BACKLIGHT I2C_PORT_SENSOR @@ -123,6 +124,7 @@ enum charge_port { /* Board specific handlers */ void led_alert(int enable); +#define PORT_TO_HPD(port) (GPIO_USB_C0_DP_HPD) /* Pin renaming */ #define GPIO_AC_PRESENT GPIO_BJ_ADP_PRESENT_L diff --git a/board/shotzo/gpio.inc b/board/shotzo/gpio.inc index a338e50392..0c0384be64 100644 --- a/board/shotzo/gpio.inc +++ b/board/shotzo/gpio.inc @@ -81,7 +81,6 @@ GPIO(EN_USB_A_5V, PIN(L, 6), GPIO_OUT_LOW) GPIO(EN_USB_C0_CC1_VCONN, PIN(H, 4), GPIO_OUT_LOW) GPIO(EN_USB_C0_CC2_VCONN, PIN(H, 6), GPIO_OUT_LOW) GPIO(EC_AP_USB_C0_HPD, PIN(L, 4), GPIO_OUT_LOW) -GPIO(EC_AP_USB_C1_HDMI_HPD, PIN(K, 7), GPIO_OUT_LOW) GPIO(USB_C0_FRS, PIN(C, 4), GPIO_OUT_LOW) GPIO(HDMI_SEL_L, PIN(C, 6), GPIO_OUT_HIGH) @@ -117,6 +116,7 @@ GPIO(GPIOG6_NC, PIN(G, 6), GPIO_INPUT | GPIO_PULL_DOWN) GPIO(GPIOG7_NC, PIN(G, 7), GPIO_INPUT | GPIO_PULL_DOWN) GPIO(GPIOI6_NC, PIN(I, 6), GPIO_INPUT | GPIO_PULL_DOWN) GPIO(GPIOI7_NC, PIN(I, 7), GPIO_INPUT | GPIO_PULL_DOWN) +GPIO(GPIOK7_NC, PIN(K, 7), GPIO_INPUT | GPIO_PULL_DOWN) GPIO(GPIOM6_NC, PIN(M, 6), GPIO_INPUT | GPIO_PULL_DOWN) GPIO(KSI0_NC, PIN(KSI, 0), GPIO_INPUT | GPIO_PULL_DOWN) GPIO(KSI1_NC, PIN(KSI, 1), GPIO_INPUT | GPIO_PULL_DOWN) |