]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: versal: Enable power domain driver and its dependencies
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Fri, 22 Jul 2022 08:46:58 +0000 (02:46 -0600)
committerMichal Simek <michal.simek@amd.com>
Tue, 26 Jul 2022 06:36:25 +0000 (08:36 +0200)
Enable power domain driver to configure pmufw config object and request
node for all the IP's that are enabled in DT.

This driver depends on mailbox and IPI driver, hence enable them as well.
Add ARCH_VERSAL in the depends on of mailbox Kconfig to compile for
Versal platforms.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20220722084658.30995-6-ashok.reddy.soma@xilinx.com
configs/xilinx_versal_virt_defconfig
drivers/mailbox/Kconfig

index d2490fe7c50ce583f50ece06e10c4302454857bd..7b5853143ef74a786afca6fbeaa600a885b1d761 100644 (file)
@@ -69,6 +69,8 @@ CONFIG_FPGA_XILINX=y
 CONFIG_FPGA_VERSALPL=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_CADENCE=y
+CONFIG_DM_MAILBOX=y
+CONFIG_ZYNQMP_IPI=y
 CONFIG_MISC=y
 CONFIG_I2C_EEPROM=y
 CONFIG_SUPPORT_EMMC_BOOT=y
index 73db2af0b8154b6508d678a941eb517b7d303970..acbdce11b7c7b36d8f1041e427c90792addb176c 100644 (file)
@@ -54,7 +54,7 @@ config K3_SEC_PROXY
 
 config ZYNQMP_IPI
        bool "Xilinx ZynqMP IPI controller support"
-       depends on DM_MAILBOX && ARCH_ZYNQMP
+       depends on DM_MAILBOX && (ARCH_ZYNQMP || ARCH_VERSAL)
        help
          This enables support for the Xilinx ZynqMP Inter Processor Interrupt
          communication controller.