OpenCloudOS-Kernel/include/dt-bindings/leds
Cédric Le Goater 561099a1a2 leds: pca955x: add GPIO support
The PCA955x family of chips are I2C LED blinkers whose pins not used
to control LEDs can be used as general purpose I/Os (GPIOs).

The following adds such a support by defining different operation
modes for the pins (See bindings documentation for more details). The
pca955x driver is then extended with a gpio_chip when some of pins are
operating as GPIOs. The default operating mode is to behave as a LED.

The GPIO support is conditioned by CONFIG_LEDS_PCA955X_GPIO.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
2017-08-14 22:22:37 +02:00
..
common.h dt-bindings: fixes some incorrect header guards 2015-12-08 15:06:54 +01:00
leds-netxbig.h leds: netxbig: add device tree binding 2015-11-03 08:59:25 +01:00
leds-ns2.h leds: leds-ns2: move LED modes mapping outside of the driver 2015-08-28 14:06:06 +02:00
leds-pca955x.h leds: pca955x: add GPIO support 2017-08-14 22:22:37 +02:00
leds-pca9532.h leds: pca9532: Add device tree support 2016-06-20 09:43:33 +02:00