summaryrefslogtreecommitdiff
path: root/include/host_command.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/host_command.h')
-rw-r--r--include/host_command.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/host_command.h b/include/host_command.h
index 08141e2204..c987df561b 100644
--- a/include/host_command.h
+++ b/include/host_command.h
@@ -216,6 +216,12 @@ void host_throttle_cpu(int throttle);
void host_command_pd_send_status(enum pd_charge_state new_chg_state);
/**
+ * Signal host command task to inform PD MCU that the EC is going to hibernate,
+ * which will normally cause the PD MCU to hibernate also.
+ */
+void host_command_pd_request_hibernate(void);
+
+/**
* Get the active charge port from the PD
*
* @return -1 == none/unknown, 0 == left, 1 == right.