summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Sierra <asierra@xes-inc.com>2014-02-07 22:35:48 (GMT)
committerLinus Walleij <linus.walleij@linaro.org>2014-02-13 12:57:41 (GMT)
commit1e1916950b00838226295e2600496040276a949f (patch)
treed59cccea38dbeb169587f28b10a4e29706c62b61
parent1163316e52e3cbcca29547a948fee72056708b62 (diff)
downloadlinux-1e1916950b00838226295e2600496040276a949f.tar.xz
gpio: pca953x: Add devices to Kconfig help
The pca953x driver supports tca6424 (24-bit) and pca9505 (40-bit) devices. They were the only supported devices not mentioned in the Kconfig help. Signed-off-by: Aaron Sierra <asierra@xes-inc.com> Acked-by: Graeme Smecher <gsmecher@threespeedlogic.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--drivers/gpio/Kconfig4
-rw-r--r--drivers/gpio/gpio-pca953x.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 2ca735f..69d1a90 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -476,6 +476,10 @@ config GPIO_PCA953X
16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575,
tca6416
+ 24 bits: tca6424
+
+ 40 bits: pca9505
+
config GPIO_PCA953X_IRQ
bool "Interrupt controller support for PCA953x"
depends on GPIO_PCA953X=y
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c
index 019b23b..cede6f6 100644
--- a/drivers/gpio/gpio-pca953x.c
+++ b/drivers/gpio/gpio-pca953x.c
@@ -1,5 +1,5 @@
/*
- * PCA953x 4/8/16 bit I/O ports
+ * PCA953x 4/8/16/24/40 bit I/O ports
*
* Copyright (C) 2005 Ben Gardner <bgardner@wabtec.com>
* Copyright (C) 2007 Marvell International Ltd.