summaryrefslogtreecommitdiff
path: root/include/linux/mailbox.h
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-01-28 16:13:14 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-02-02 00:01:15 +0100
commit300586778d405f0a4d1f6dc51fcfb4fed567d020 (patch)
treef54593ff6668e89df990f2b4cbd2d55176ada437 /include/linux/mailbox.h
parentb5964708532f4713e9cfb1b8b1a6ac8544fc66af (diff)
downloadlwn-300586778d405f0a4d1f6dc51fcfb4fed567d020.tar.gz
lwn-300586778d405f0a4d1f6dc51fcfb4fed567d020.zip
ARM / highbank: add support for pl320 IPC
The pl320 IPC allows for interprocessor communication between the highbank A9 and the EnergyCore Management Engine. The pl320 implements a straightforward mailbox protocol. Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com> Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/mailbox.h')
-rw-r--r--include/linux/mailbox.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/mailbox.h b/include/linux/mailbox.h
new file mode 100644
index 000000000000..5161f63ec1c8
--- /dev/null
+++ b/include/linux/mailbox.h
@@ -0,0 +1,17 @@
+/*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+int pl320_ipc_transmit(u32 *data);
+int pl320_ipc_register_notifier(struct notifier_block *nb);
+int pl320_ipc_unregister_notifier(struct notifier_block *nb);