aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2017-08-08 15:42:39 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2017-08-14 22:22:37 +0200
commit561099a1a2e992a482a8318c0c9c5af26222e5cd (patch)
tree1fab407e2140c2efdb5e005a4302d576d6613d33 /Documentation/devicetree/bindings
parentleds: pca955x: use devm_led_classdev_register (diff)
downloadlinux-dev-561099a1a2e992a482a8318c0c9c5af26222e5cd.tar.xz
linux-dev-561099a1a2e992a482a8318c0c9c5af26222e5cd.zip
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>
Diffstat (limited to 'Documentation/devicetree/bindings')
0 files changed, 0 insertions, 0 deletions