diff options
author | Diana Z <dzigterman@chromium.org> | 2021-09-15 21:45:08 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-16 21:35:53 +0000 |
commit | 2f56efbce19289784ef99253c5d64b9cb65eb3c1 (patch) | |
tree | a9d2ea875ff40470723ca83717773ba9c798dfb7 /baseboard | |
parent | 932def91a81712f59202b492d2c746bb218a6299 (diff) | |
download | chrome-ec-2f56efbce19289784ef99253c5d64b9cb65eb3c1.tar.gz |
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 <dzigterman@chromium.org>
Change-Id: Ia70d139431739e8f2c0577359cb3aaa7fb906d0a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3163930
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/intelrvp/adlrvp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/baseboard/intelrvp/adlrvp.c b/baseboard/intelrvp/adlrvp.c index 3bc70ac581..8b5518aaf7 100644 --- a/baseboard/intelrvp/adlrvp.c +++ b/baseboard/intelrvp/adlrvp.c @@ -120,6 +120,7 @@ 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_PORT_TYPEC_0, .i2c_addr_flags = I2C_PORT0_BB_RETIMER_ADDR, }, @@ -128,6 +129,7 @@ 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_PORT_TYPEC_1, .i2c_addr_flags = I2C_PORT1_BB_RETIMER_ADDR, }, @@ -137,6 +139,7 @@ struct usb_mux usb_muxes[] = { .usb_port = TYPE_C_PORT_2, .next_mux = &usbc2_tcss_usb_mux, .driver = &bb_usb_retimer, + .hpd_update = bb_retimer_hpd_update, .i2c_port = I2C_PORT_TYPEC_2, .i2c_addr_flags = I2C_PORT2_BB_RETIMER_ADDR, }, @@ -146,6 +149,7 @@ struct usb_mux usb_muxes[] = { .usb_port = TYPE_C_PORT_3, .next_mux = &usbc3_tcss_usb_mux, .driver = &bb_usb_retimer, + .hpd_update = bb_retimer_hpd_update, .i2c_port = I2C_PORT_TYPEC_3, .i2c_addr_flags = I2C_PORT3_BB_RETIMER_ADDR, }, @@ -158,6 +162,7 @@ struct usb_mux soc_side_bb_retimer0_usb_mux = { .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_PORT_TYPEC_0, .i2c_addr_flags = I2C_PORT0_BB_RETIMER_SOC_ADDR, }; @@ -167,6 +172,7 @@ struct usb_mux soc_side_bb_retimer1_usb_mux = { .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_PORT_TYPEC_1, .i2c_addr_flags = I2C_PORT1_BB_RETIMER_SOC_ADDR, }; |