Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma
[platform/kernel/linux-rpi.git] / drivers / leds / Kconfig
index 27dc800..52ea34e 100644 (file)
@@ -386,6 +386,17 @@ config LEDS_PCA955X
          LED driver chips accessed via the I2C bus.  Supported
          devices include PCA9550, PCA9551, PCA9552, and PCA9553.
 
+config LEDS_PCA955X_GPIO
+       bool "Enable GPIO support for PCA955X"
+       depends on LEDS_PCA955X
+       depends on GPIOLIB
+       help
+         Allow unused pins on PCA955X to be used as gpio.
+
+         To use a pin as gpio the pin type should be set to
+         PCA955X_TYPE_GPIO in the device tree.
+
+
 config LEDS_PCA963X
        tristate "LED support for PCA963x I2C chip"
        depends on LEDS_CLASS