linux-stable/drivers/soc/xilinx
Tanmay Shah acd6510dd7 firmware: xilinx: Add TF_A_PM_REGISTER_SGI SMC call
SGI interrupt register and reset is performed by EEMI ioctl
IOCTL_REGISTER_SGI. However, this is not correct use of EEMI call.
SGI registration functionality does not qualify as energy management
activity and so shouldn't be mapped to EEMI call.

This new call will replace IOCTL_REGISTER_SGI and will  be handled by TF-A
specific handler in TF-A. To maintain backward compatibility for a while
firmware driver will still use IOCTL_REGISTER_SGI as fallback strategy if
new call fails or is not supported by TF-A.

This new design also helps to make TF-A as pass through layer for EEMI
calls. So we don't have to maintain PM_IOCTL as EEMI API ID in TF-A.

Signed-off-by: Tanmay Shah <tanmay.shah@xilinx.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20220607224253.54919-1-tanmay.shah@xilinx.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
2022-06-29 14:46:22 +02:00
..
Kconfig drivers: soc: xilinx: add xilinx event management driver 2021-12-03 16:08:46 +01:00
Makefile drivers: soc: xilinx: add xilinx event management driver 2021-12-03 16:08:46 +01:00
xlnx_event_manager.c firmware: xilinx: Add TF_A_PM_REGISTER_SGI SMC call 2022-06-29 14:46:22 +02:00
zynqmp_pm_domains.c soc: xilinx: add a to_zynqmp_pm_domain macro 2021-12-08 12:53:36 +01:00
zynqmp_power.c driver: soc: xilinx: Update function prototype for xlnx_unregister_event 2022-05-19 18:57:28 +02:00