summaryrefslogtreecommitdiff
path: root/include/hooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hooks.h')
-rw-r--r--include/hooks.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/hooks.h b/include/hooks.h
index 8f865f81ed..24c8e6d418 100644
--- a/include/hooks.h
+++ b/include/hooks.h
@@ -205,11 +205,14 @@ enum hook_type {
HOOK_SECOND,
/*
- * Detect USB PD cc disconnect.
- *
- * Hook routines will be called from the PD task.
+ * USB PD cc disconnect event.
*/
HOOK_USB_PD_DISCONNECT,
+
+ /*
+ * USB PD cc connection event.
+ */
+ HOOK_USB_PD_CONNECT,
};
struct hook_data {