From 2f56efbce19289784ef99253c5d64b9cb65eb3c1 Mon Sep 17 00:00:00 2001 From: Diana Z Date: Wed, 15 Sep 2021 21:45:08 -0600 Subject: BB Retimer: Add new HPD callback to boards Now that the BB retimer has its own HPD interface, add this interface to every board using the bb_usb_retimer driver. BRANCH=None BUG=b:195773400 TEST=on voxel, pass tast typec.Mode*.manual Signed-off-by: Diana Z Change-Id: Ia70d139431739e8f2c0577359cb3aaa7fb906d0a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3163930 Reviewed-by: Keith Short Reviewed-by: Abe Levkoy --- board/tglrvpu_ite/board.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'board/tglrvpu_ite/board.c') diff --git a/board/tglrvpu_ite/board.c b/board/tglrvpu_ite/board.c index def69448ad..4c96576b28 100644 --- a/board/tglrvpu_ite/board.c +++ b/board/tglrvpu_ite/board.c @@ -130,6 +130,7 @@ const struct usb_mux usb_muxes[] = { .usb_port = TYPE_C_PORT_0, .next_mux = &usbc0_tcss_usb_mux, .driver = &bb_usb_retimer, + .hpd_update = bb_retimer_hpd_update, .i2c_port = I2C_PORT0_BB_RETIMER, .i2c_addr_flags = I2C_PORT0_BB_RETIMER_ADDR, }, @@ -137,6 +138,7 @@ const struct usb_mux usb_muxes[] = { .usb_port = TYPE_C_PORT_1, .next_mux = &usbc1_tcss_usb_mux, .driver = &bb_usb_retimer, + .hpd_update = bb_retimer_hpd_update, .i2c_port = I2C_PORT1_BB_RETIMER, .i2c_addr_flags = I2C_PORT1_BB_RETIMER_ADDR, }, -- cgit v1.2.1