summaryrefslogtreecommitdiff
path: root/driver/tcpm/anx7688.c
diff options
context:
space:
mode:
authorEric Yilun Lin <yllin@chromium.org>2022-07-28 10:22:07 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-22 03:59:21 +0000
commitc93dd8fc042768dac527c660b43445cb353cc130 (patch)
tree05b501d02bdde3ac2c0ff3aa355859b695702ab9 /driver/tcpm/anx7688.c
parent44a98389a9969e394e84f7c4218ed8b6d104390f (diff)
downloadchrome-ec-c93dd8fc042768dac527c660b43445cb353cc130.tar.gz
tcpm: add tcpc_get_bist_test_mode
Add tcpc_get_bist_test_mode which returns the BIST mode control status. BUG=b:229812911 TEST=ensure the BIST status is reported correctly BRANCH=none Change-Id: Idbec04e449c962ee1b3185aa91a324c1a5215960 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3787827 Commit-Queue: Eric Yilun Lin <yllin@google.com> Reviewed-by: Abe Levkoy <alevkoy@chromium.org> Tested-by: Eric Yilun Lin <yllin@google.com>
Diffstat (limited to 'driver/tcpm/anx7688.c')
-rw-r--r--driver/tcpm/anx7688.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/tcpm/anx7688.c b/driver/tcpm/anx7688.c
index 4ee87fdaa4..70f5440e93 100644
--- a/driver/tcpm/anx7688.c
+++ b/driver/tcpm/anx7688.c
@@ -214,6 +214,7 @@ const struct tcpm_drv anx7688_tcpm_drv = {
.transmit = &tcpci_tcpm_transmit,
.tcpc_alert = &anx7688_tcpc_alert,
.set_bist_test_mode = &tcpci_set_bist_test_mode,
+ .get_bist_test_mode = &tcpci_get_bist_test_mode,
};
#ifdef CONFIG_USB_PD_TCPM_MUX