]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: domain: ti_sci_power_domains: Add support for exclusive and shared access
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 7 Jun 2019 13:54:46 +0000 (19:24 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 27 Jul 2019 01:49:23 +0000 (21:49 -0400)
commitcd041c8041486e33516b8df53f937bb117b682d2
tree0355b84694ab8831fc329c47bacafeb864736438
parentc163af6cb8998ca8ffc350f9f522819aa2e9b82e
power: domain: ti_sci_power_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.

For keeping the DT backward compatibility intact, defaulting the
device permissions to set the exclusive flag set. In this case the
power-domain-cells is 1.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/power/domain/ti-sci-power-domain.c