linux/drivers/soc/xilinx
Tejas Patel e502ff8606 soc: xilinx: Set CAP_UNUSABLE requirement for versal while powering down domain
For "0" requirement which is used to inform firmware that device is
not required currently by master, Versal PLM (Platform Loader and
Manager) which runs on Platform Management Controller and is responsible
platform management of devices that disables clock, power it down
and reset the device. genpd_power_off() is being called during runtime
suspend also. So, if any device goes to runtime suspend state during
resumes it needs to be re-initialized again. It is possible that
drivers do not reinitialize device upon resume from runtime suspend
every time ans so dont want it to be powered down or get reset
during runtime suspend.

In Versal PLM new PM_CAP_UNUSABLE capability is added, which disables
clock only and avoids power down and reset during runtime suspend. Power
and reset will be gated with core suspend.So, this patch sets
CAPABILITY_UNUSABLE requirement during gpd_power_off()
if platform is other than zynqmp.

Signed-off-by: Tejas Patel <tejas.patel@xilinx.com>
Signed-off-by: Jolly Shah <jolly.shah@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2019-10-16 12:49:41 +02:00
..
Kconfig drivers: soc: xilinx: Add ZynqMP power domain driver 2019-02-12 13:38:16 +01:00
Makefile drivers: soc: xilinx: Add ZynqMP power domain driver 2019-02-12 13:38:16 +01:00
xlnx_vcu.c soc: xilinx: xlnx_vcu: Use bitwise & rather than logical && on clkoutdiv 2018-01-16 15:50:20 +01:00
zynqmp_pm_domains.c soc: xilinx: Set CAP_UNUSABLE requirement for versal while powering down domain 2019-10-16 12:49:41 +02:00
zynqmp_power.c drivers: Defer probe if firmware is not ready 2019-03-18 13:45:27 +01:00