gpio: msm: Add v3 gpio support for copper
Beginning with copper, the gpio TLMM register and interrupt
mappings have changed. Add a new version to support the new
mappings.
Change-Id: I5c8bd148dd6ac38aa59448c9aab98e04183e14f1
Signed-off-by: Sathish Ambley <sambley@codeaurora.org>
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index ef077a5..0dcf1a4 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -124,6 +124,15 @@
Qualcomm MSM chips. Most of the pins on the MSM can be
selected for GPIO, and are controlled by this driver.
+config GPIO_MSM_V3
+ tristate "Qualcomm MSM GPIO v3"
+ depends on GPIOLIB && ARCH_MSM
+ help
+ Say yes here to support the GPIO interface on ARM v7 based
+ Qualcomm MSM chips for v3 version of the interface. Most of
+ the pins on the MSM can be selected for GPIO, and are
+ controlled by this driver.
+
config GPIO_FSM9XXX
tristate "Qualcomm FSM GPIO"
depends on GPIOLIB && ARCH_MSM