From 968508bd39b4c67ae0e878bd848db8f4dafbcd3b Mon Sep 17 00:00:00 2001 From: Siva Durga Prasad Paladugu Date: Thu, 10 Mar 2016 16:27:44 +0530 Subject: [PATCH] zynqmp: Kconfig: Enable DM_GPIO and ZYNQ_GPIO for ZynqMP Enable DM_GPIO and ZYNQ_GPIO for ZynqM using Kconfig. The enables the GPIO driver support for ZynqMP Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- arch/arm/Kconfig | 1 + drivers/gpio/Kconfig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 306323f7345..224eae9281e 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -570,6 +570,7 @@ config ARCH_ZYNQMP select DM_SPI select DM_SPI_FLASH select DM_ETH + select DM_GPIO select DM_MMC select DM_SERIAL select OF_CONTROL diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 99c30cdaa0c..c4799689511 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -85,7 +85,7 @@ config VYBRID_GPIO config ZYNQ_GPIO bool "Zynq GPIO driver" - depends on DM_GPIO && ARCH_ZYNQ + depends on DM_GPIO && (ARCH_ZYNQ || ARCH_ZYNQMP) default y help Supports GPIO access on Zynq SoC. -- 2.47.3