summaryrefslogtreecommitdiff
path: root/common/usbc_intr_task.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/usbc_intr_task.c')
-rw-r--r--common/usbc_intr_task.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/common/usbc_intr_task.c b/common/usbc_intr_task.c
index 7470696c18..aa5242a5d5 100644
--- a/common/usbc_intr_task.c
+++ b/common/usbc_intr_task.c
@@ -70,8 +70,14 @@ static void service_one_port(int port)
}
}
+__overridable void board_process_pd_alert(int port)
+{
+}
+
/*
- * Main task entry point that handles PD interrupts for a single port
+ * Main task entry point that handles PD interrupts for a single port. These
+ * interrupts usually come from a TCPC, but may also come from PD-related chips
+ * sharing the TCPC interrupt line.
*
* @param p The PD port number for which to handle interrupts (pointer is
* reinterpreted as an integer directly).
@@ -112,6 +118,8 @@ void pd_interrupt_handler_task(void *p)
service_one_port(port);
}
+
+ board_process_pd_alert(port);
}
}