The zynqmp reset controller needs Power Management API's to complete
the actual task. So this patch updates the Kconfig file with required PM
dependencies to avoid the compilation errors.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
If unsure, say no.
+if RESET_CONTROLLER
+
+config ZYNQMP_RESET_CONTROLLER
+ bool "Xilinx ZYNQMP Reset Controller Support"
+ depends on ZYNQMP_PM_API
+ help
+ ZYNQMP Reset Controller support.
+
+ This framework is designed to abstract reset handling of devices
+ via SoC-internal reset controller modules.
+
+ If sure, say yes.If unsure, say no.
+
+endif
+
source "drivers/reset/sti/Kconfig"
source "drivers/reset/hisilicon/Kconfig"
obj-$(CONFIG_ARCH_HISI) += hisilicon/
obj-$(CONFIG_ARCH_ZYNQ) += reset-zynq.o
obj-$(CONFIG_ATH79) += reset-ath79.o
-obj-$(CONFIG_ARCH_ZYNQMP) += reset-zynqmp.o
+obj-$(CONFIG_ZYNQMP_RESET_CONTROLLER) += reset-zynqmp.o