diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2019-06-07 19:24:45 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-26 21:49:23 -0400 |
commit | c163af6cb8998ca8ffc350f9f522819aa2e9b82e (patch) | |
tree | e4c806c474df06795fdbe7784a682418a536b00e /include/dt-bindings | |
parent | fd4e7be5f3cea71cd598e7afe8cece19541529c7 (diff) |
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.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/soc/ti,sci_pm_domain.h | 9 |
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 00000000000..8f2a7360b65 --- /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 */ |