summaryrefslogtreecommitdiff
path: root/board/strago/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/strago/board.h')
-rw-r--r--board/strago/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/strago/board.h b/board/strago/board.h
index 64721ca95f..42dcc97ce0 100644
--- a/board/strago/board.h
+++ b/board/strago/board.h
@@ -38,6 +38,7 @@
#define CONFIG_USB_POWER_DELIVERY
#define CONFIG_USB_PD_ALT_MODE
#define CONFIG_USB_PD_ALT_MODE_DFP
+#define CONFIG_USB_PD_DP_HPD_GPIO
#define CONFIG_USB_PD_DUAL_ROLE
#define CONFIG_USB_PD_PORT_COUNT 1
#define CONFIG_USB_PD_TCPM_TCPCI
@@ -193,6 +194,8 @@ enum als_id {
/* Reset PD MCU */
void board_reset_pd_mcu(void);
+#define PORT_TO_HPD(port) (GPIO_USB_C0_DP_HPD)
+
#endif /* !__ASSEMBLER__ */
#endif /* __CROS_EC_BOARD_H */