summaryrefslogtreecommitdiff
path: root/baseboard/cherry/baseboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard/cherry/baseboard.h')
-rw-r--r--baseboard/cherry/baseboard.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/baseboard/cherry/baseboard.h b/baseboard/cherry/baseboard.h
index 05292fa851..349a10997d 100644
--- a/baseboard/cherry/baseboard.h
+++ b/baseboard/cherry/baseboard.h
@@ -231,13 +231,10 @@ enum pwm_channel {
void board_reset_pd_mcu(void);
void rt1718s_tcpc_interrupt(enum gpio_signal signal);
-enum rt1718s_gpio_state {
- RT1718S_GPIO_DISABLED,
- RT1718S_GPIO_ENABLE_SINK,
- RT1718S_GPIO_ENABLE_SOURCE,
-};
-
-int rt1718s_gpio_ctrl(enum rt1718s_gpio_state state);
+/* RT1718S gpio to pin name mapping */
+#define GPIO_EN_USB_C1_VBUS_L RT1718S_GPIO1
+#define GPIO_EN_USB_C1_5V_OUT RT1718S_GPIO2
+#define GPIO_EN_USB_C1_FRS RT1718S_GPIO3
#endif /* !__ASSEMBLER__ */
#endif /* __CROS_EC_BASEBOARD_H */