remoteproc/omap: Add watchdog functionality for remote processors
[sfrench/cifs-2.6.git] / drivers / remoteproc / omap_remoteproc.h
index f6d2036d383d671a14167160a721bde820e910d6..13f17d9135c02ad9babf7b9a6e48cdf22131fbd3 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Remote processor messaging
  *
- * Copyright (C) 2011 Texas Instruments, Inc.
+ * Copyright (C) 2011-2020 Texas Instruments, Inc.
  * Copyright (C) 2011 Google, Inc.
  * All rights reserved.
  *
  *
  * @RP_MBOX_ABORT_REQUEST: a "please crash" request, used for testing the
  * recovery mechanism (to some extent).
+ *
+ * @RP_MBOX_SUSPEND_AUTO: auto suspend request for the remote processor
+ *
+ * @RP_MBOX_SUSPEND_SYSTEM: system suspend request for the remote processor
+ *
+ * @RP_MBOX_SUSPEND_ACK: successful response from remote processor for a
+ * suspend request
+ *
+ * @RP_MBOX_SUSPEND_CANCEL: a cancel suspend response from a remote processor
+ * on a suspend request
+ *
+ * Introduce new message definitions if any here.
+ *
+ * @RP_MBOX_END_MSG: Indicates end of known/defined messages from remote core
+ * This should be the last definition.
+ *
  */
 enum omap_rp_mbox_messages {
        RP_MBOX_READY           = 0xFFFFFF00,
@@ -64,6 +80,11 @@ enum omap_rp_mbox_messages {
        RP_MBOX_ECHO_REQUEST    = 0xFFFFFF03,
        RP_MBOX_ECHO_REPLY      = 0xFFFFFF04,
        RP_MBOX_ABORT_REQUEST   = 0xFFFFFF05,
+       RP_MBOX_SUSPEND_AUTO    = 0xFFFFFF10,
+       RP_MBOX_SUSPEND_SYSTEM  = 0xFFFFFF11,
+       RP_MBOX_SUSPEND_ACK     = 0xFFFFFF12,
+       RP_MBOX_SUSPEND_CANCEL  = 0xFFFFFF13,
+       RP_MBOX_END_MSG         = 0xFFFFFF14,
 };
 
 #endif /* _OMAP_RPMSG_H */