summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-06-17 09:43:57 -0600
committerSimon Glass <sjg@chromium.org>2016-06-19 17:05:55 -0600
commit0f67e2395be44db2c1bef17b6ada2e46221908ed (patch)
tree51733116f48f2b63eb690c5d6debdaa14f554490 /include
parent769d52ef0f04812fd65ef2f3ab921ad2e8562ab1 (diff)
downloadtalos-obmc-uboot-0f67e2395be44db2c1bef17b6ada2e46221908ed.tar.gz
talos-obmc-uboot-0f67e2395be44db2c1bef17b6ada2e46221908ed.zip
mailbox: add Tegra186 HSP driver
Tegra186's HSP module implements doorbells, mailboxes, semaphores, and shared interrupts. This patch provides a driver for HSP, and hooks it into the mailbox API. Currently, only doorbells are supported. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/mailbox/tegra-hsp.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/dt-bindings/mailbox/tegra-hsp.h b/include/dt-bindings/mailbox/tegra-hsp.h
new file mode 100644
index 0000000000..e8c23fa91d
--- /dev/null
+++ b/include/dt-bindings/mailbox/tegra-hsp.h
@@ -0,0 +1,14 @@
+/*
+ * This header provides constants for binding nvidia,tegra186-hsp.
+ *
+ * The number with TEGRA_HSP_MASTER prefix indicates the bit that is
+ * associated with a master ID in the doorbell registers.
+ */
+
+#ifndef _DT_BINDINGS_MAILBOX_TEGRA186_HSP_H
+#define _DT_BINDINGS_MAILBOX_TEGRA186_HSP_H
+
+#define TEGRA_HSP_MASTER_CCPLEX 17
+#define TEGRA_HSP_MASTER_BPMP 19
+
+#endif
OpenPOWER on IntegriCloud