summaryrefslogtreecommitdiff
path: root/zephyr
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-09-15 21:45:08 -0600
committerCommit Bot <commit-bot@chromium.org>2021-09-16 21:35:53 +0000
commit2f56efbce19289784ef99253c5d64b9cb65eb3c1 (patch)
treea9d2ea875ff40470723ca83717773ba9c798dfb7 /zephyr
parent932def91a81712f59202b492d2c746bb218a6299 (diff)
downloadchrome-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 'zephyr')
-rw-r--r--zephyr/test/drivers/src/stubs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/test/drivers/src/stubs.c b/zephyr/test/drivers/src/stubs.c
index 8a339679a8..6dab320b9a 100644
--- a/zephyr/test/drivers/src/stubs.c
+++ b/zephyr/test/drivers/src/stubs.c
@@ -143,6 +143,7 @@ struct usb_mux usb_muxes[] = {
[USBC_PORT_C1] = {
.usb_port = USBC_PORT_C1,
.driver = &bb_usb_retimer,
+ .hpd_update = bb_retimer_hpd_update,
.next_mux = &usbc1_virtual_usb_mux,
.i2c_port = I2C_PORT_USB_C1,
.i2c_addr_flags = DT_REG_ADDR(DT_NODELABEL(