summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2019-08-26 20:00:40 -0700
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2019-08-26 20:00:40 -0700
commit9e465988228667b61e26ae7f68ca37a85821c86d (patch)
tree0aa367d448f30fa325208a1b37b0303e133b5953 /include/dt-bindings
parentdf2e328126b1b3f71ff07477912d92c20c47148a (diff)
downloadlinux-stable-9e465988228667b61e26ae7f68ca37a85821c86d.tar.gz
linux-stable-9e465988228667b61e26ae7f68ca37a85821c86d.tar.bz2
linux-stable-9e465988228667b61e26ae7f68ca37a85821c86d.zip
dt-bindings: ti_sci_pm_domains: Add support for exclusive and shared access
TISCI protocol supports for enabling the device either with exclusive permissions for the requesting host or with sharing across the hosts. There are certain devices which are exclusive to Linux context and there are certain devices that are shared across different host contexts. So add support for getting this information from DT by increasing the power-domain cells to 2. Acked-by: Tero Kristo <t-kristo@ti.com> Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Nishanth Menon <nm@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/soc/ti,sci_pm_domain.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/dt-bindings/soc/ti,sci_pm_domain.h b/include/dt-bindings/soc/ti,sci_pm_domain.h
new file mode 100644
index 000000000000..8f2a7360b65e
--- /dev/null
+++ b/include/dt-bindings/soc/ti,sci_pm_domain.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef __DT_BINDINGS_TI_SCI_PM_DOMAIN_H
+#define __DT_BINDINGS_TI_SCI_PM_DOMAIN_H
+
+#define TI_SCI_PD_EXCLUSIVE 1
+#define TI_SCI_PD_SHARED 0
+
+#endif /* __DT_BINDINGS_TI_SCI_PM_DOMAIN_H */