Jelajahi Sumber

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>
Aaron Sierra 12 tahun lalu
induk
melakukan
1e1916950b
2 mengubah file dengan 5 tambahan dan 1 penghapusan
  1. 4 0
      drivers/gpio/Kconfig
  2. 1 1
      drivers/gpio/gpio-pca953x.c

+ 4 - 0
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

+ 1 - 1
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.