diff options
author | Rob Barnes <robbarnes@google.com> | 2022-01-05 17:38:54 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-01-06 22:26:08 +0000 |
commit | b8aa097b7369d751604065883844350b8f9412c6 (patch) | |
tree | a4197314e3903e4dbdcf340131739c95054b4e3d /board/guybrush | |
parent | 2b09461302a4b987d02bb63273bfc8090c622ba3 (diff) | |
download | chrome-ec-b8aa097b7369d751604065883844350b8f9412c6.tar.gz |
guybrush: Correctly set IOEX_USB_C1_IN_HPD
IOEX_USB_C1_IN_HPD was not being correctly set in
board_c1_ps8818_mux_set. Code from Zork was incorrectly copied and
changed to set the HPD signal to the SOC instead of the HPD signal to
the PS8818 retimer. According to the PS8818 datasheet, asserting
IN_HPD will pull PS8818 out of DP Idle mode.
BUG=b:212640973
BRANCH=None
TEST=C1 to HDMI works on Nipperkin
Change-Id: I477e2f534dbddc4fa8771d4c2bf830d5c9e89d9c
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3368353
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/guybrush')
-rw-r--r-- | board/guybrush/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/guybrush/board.c b/board/guybrush/board.c index 75fb5a8607..922be3ca21 100644 --- a/board/guybrush/board.c +++ b/board/guybrush/board.c @@ -288,10 +288,10 @@ __override int board_c1_ps8818_mux_set(const struct usb_mux *me, return rv; /* Enable HPD on the DB */ - gpio_set_level(GPIO_USB_C1_HPD, 1); + ioex_set_level(IOEX_USB_C1_IN_HPD, 1); } else { /* Disable HPD on the DB */ - gpio_set_level(GPIO_USB_C1_HPD, 0); + ioex_set_level(IOEX_USB_C1_IN_HPD, 0); } return rv; |