
On 7/22/22 10:46, Ashok Reddy Soma wrote:
This patch series enables power domain driver in ZynqMP and Versal platforms and its dependencies.
- Add a preliminary check by loading overlay for APU0 and see if the pmufw accepts the config objects, based on that continue to load further objects or not.
- This is needed to dynamically request for node of the IP's based on DT.
- Load pmufw config object dynamically based on DT.
Changes in v2:
- Move static variable to inside zynqmp_pmufw_node and change name to skip_config from config_enabled
- Use zynqmp_pmufw_node() in zynqmp_power_probe() to check for APU_0 config loading instead of calling zynqmp_pmufw_load_config_object()
Ashok Reddy Soma (5): firmware: zynqmp: Change prototype of zynqmp_pmufw_load_config_object() firmware: zynqmp: Load config overlay for core0 to pmufw arm64: zynqmp: Enable power domain driver mailbox: zynqmp: Move struct zynqmp_ipi_msg from sys_proto.h arm64: versal: Enable power domain driver and its dependencies
arch/arm/mach-zynqmp/include/mach/sys_proto.h | 5 ---- configs/xilinx_versal_virt_defconfig | 4 ++++ configs/xilinx_zynqmp_virt_defconfig | 2 ++ drivers/firmware/firmware-zynqmp.c | 24 +++++++++++++++---- drivers/mailbox/Kconfig | 2 +- drivers/mailbox/zynqmp-ipi.c | 2 +- include/zynqmp_firmware.h | 7 +++++- 7 files changed, 33 insertions(+), 13 deletions(-)
applied. M