]> git.baikalelectronics.ru Git - uboot.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)
commit4e6f5dd5b60ca06dfee080741aa8983c104e205d
tree0355b84694ab8831fc329c47bacafeb864736438
parent6d6fd75d1551c445721dbdaedf4a87f1dc4b5b04
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