diff options
Diffstat (limited to 'driver/tcpm/anx7688.c')
-rw-r--r-- | driver/tcpm/anx7688.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/driver/tcpm/anx7688.c b/driver/tcpm/anx7688.c index b450245a76..fe1d2498d4 100644 --- a/driver/tcpm/anx7688.c +++ b/driver/tcpm/anx7688.c @@ -11,6 +11,12 @@ #include "timer.h" #include "usb_mux.h" +#if defined(CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE) || \ + defined(CONFIG_USB_PD_TCPC_LOW_POWER) || \ + defined(CONFIG_USB_PD_DISCHARGE_TCPC) +#error "Unsupported config options of anx7688 PD driver" +#endif + #define ANX7688_VENDOR_ALERT BIT(15) #define ANX7688_REG_STATUS 0x82 |