gpio: Kconfig: Enable Zynq GPIO driver using kconfig
Enable DM GPIO and ZYNQ GPIO using kconfig instead of the board
config file.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index f56a606..4d2cc50 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -136,4 +136,11 @@
help
Say yes here to support Marvell MVEBU (Armada XP/38x) GPIOs.
+config ZYNQ_GPIO
+ bool "Zynq GPIO driver"
+ depends on DM_GPIO && ARCH_ZYNQ
+ default y
+ help
+ Supports GPIO access on Zynq SoC.
+
endmenu