summaryrefslogtreecommitdiff
path: root/include/usbc_ppc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usbc_ppc.h')
-rw-r--r--include/usbc_ppc.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/usbc_ppc.h b/include/usbc_ppc.h
index e846a6ecca..d65fa79f0e 100644
--- a/include/usbc_ppc.h
+++ b/include/usbc_ppc.h
@@ -108,18 +108,9 @@ struct ppc_drv {
#endif /* defined(CONFIG_USB_PD_VBUS_DETECT_PPC) */
};
-
-/* PPC SNK/SRC switch control driven by EC GPIO */
-#define PPC_CFG_FLAGS_GPIO_CONTROL (1 << 0)
-
struct ppc_config_t {
- /* Used for PPC_CFG_FLAGS_* defined above */
- uint32_t flags;
int i2c_port;
int i2c_addr;
- /* snk|src_gpio only required if PPC_CFG_FLAGS_GPIO_CONTROL is set */
- enum gpio_signal snk_gpio;
- enum gpio_signal src_gpio;
const struct ppc_drv *drv;
};