From c9f4319fe2bb2cdf3b4d048c00b32e239c49a938 Mon Sep 17 00:00:00 2001 From: Shaveta Leekha Date: Tue, 14 Oct 2014 16:45:09 +0530 Subject: gpio: add GPIO support for layerscape architectures This patch adds support for GPIOs found on Freescale's Layerscape architectures It also makes mutual exclusion with ARCH_MXC, since the GPIO controller on LayerArch is different than MXC Signed-off-by: Shaveta Leekha Change-Id: I5601038b2fbca3e7eb7f5226d02db4a2a7098bf8 Reviewed-on: http://git.am.freescale.net:8181/21799 Tested-by: Review Code-CDREVIEW Reviewed-by: Zhengxiong Jin diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index b6ed304..80a674d 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -163,10 +163,10 @@ config GPIO_MPC5200 config GPIO_MPC8XXX bool "MPC512x/MPC8xxx GPIO support" depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \ - FSL_SOC_BOOKE || PPC_86xx + FSL_SOC_BOOKE || PPC_86xx || ARCH_LAYERSCAPE help Say Y here if you're going to use hardware that connects to the - MPC512x/831x/834x/837x/8572/8610 GPIOs. + MPC512x/831x/834x/837x/8572/8610/LS1021A GPIOs. config GPIO_MSM_V1 tristate "Qualcomm MSM GPIO v1" @@ -193,7 +193,7 @@ config GPIO_MVEBU config GPIO_MXC def_bool y - depends on ARCH_MXC + depends on ARCH_MXC && !ARCH_LAYERSCAPE select GPIO_GENERIC select GENERIC_IRQ_CHIP -- cgit v0.10.2