Re: [PATCH v2 0/4] leds: pca955x: add GPIO support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed 2017-08-02 13:57:29, Cédric Le Goater wrote:
> On 08/02/2017 01:33 PM, Pavel Machek wrote:
> > Hi!
> > 
> >> 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.
> >>
> >> The driver follows the scheme of the leds-pca9532 driver which behaves
> >> quite similarly.
> > 
> > Is there reason not to treat pca955x chip as a GPIO extender, and then
> > use leds-gpio on top?
> 
> I would say mostly because there is already a leds-pca955x driver and
> that the primary nature of the chip is being a LED blinker. It also 
> supports different blinking rates.

Ok, I guess gpio-led driver can not to blinking, so this makes sense.

      	    	     	    	       		    	       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


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux