On Tue 2017-05-09 08:36:12, Cédric Le Goater wrote: > 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 support for device tree and Open Firmware to be > able do define different operation modes for each pin. See bindings > documentation for more details. The pca955x driver is then extended > with a gpio_chip when pins are operating in GPIO mode. Actually.. maybe better solution would be to turn this into GPIO driver, and then use gpio-leds on top...? What is the difference between pin in GPIO mode and pin in LED mode? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature