summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDino Li <Dino.Li@ite.com.tw>2017-04-20 17:07:09 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-04-25 01:45:44 -0700
commitb95463cf3c6ef6c59e0d431fcbd8e71ae8ec86a4 (patch)
tree07e36a95207b1ed2080e83a40c7821fd120bc63d
parentb377e7bac030069cf0b38cbdcf7572c39f046188 (diff)
downloadchrome-ec-b95463cf3c6ef6c59e0d431fcbd8e71ae8ec86a4.tar.gz
tcpm: it83xx: fill out structure members
These are options for features can be implemented if they are required. BRANCH=none BUG=none TEST=build 'it83xx_evb' board with pd modules. Change-Id: I1afb7d9c2d764728a375563a6739544032394c54 Signed-off-by: Dino Li <Dino.Li@ite.com.tw> Reviewed-on: https://chromium-review.googlesource.com/483319 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--driver/tcpm/it83xx.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/driver/tcpm/it83xx.c b/driver/tcpm/it83xx.c
index 3991de5fff..ed6fcc141b 100644
--- a/driver/tcpm/it83xx.c
+++ b/driver/tcpm/it83xx.c
@@ -501,4 +501,11 @@ const struct tcpm_drv it83xx_tcpm_drv = {
.get_message = &it83xx_tcpm_get_message,
.transmit = &it83xx_tcpm_transmit,
.tcpc_alert = NULL,
+#ifdef CONFIG_USB_PD_DISCHARGE_TCPC
+ .tcpc_discharge_vbus = NULL,
+#endif
+#ifdef CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE
+ .drp_toggle = NULL,
+#endif
+ .get_chip_info = NULL,
};