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

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

 



Hi Cedric,

Thanks for the updated set.

Applied.

Best regards,
Jacek Anaszewski

On 08/08/2017 03:42 PM, Cédric Le Goater wrote:
> Hello !
> 
> 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.
>  
> Thanks,
> 
> C.
> 
> Changes since v2:
> 
>  - removed 'if (pdata)' tests
> 
> Changes since v1:
> 
>  - split the patchset in two : DT support and GPIO support
>  - introduced the use of devm_led_classdev_register()
>  - replaced the 'compatible' property with 'type' 
>  - removed the 'gpio-base' property
> 
> Cédric Le Goater (4):
>   leds: pca955x: add device tree support
>   leds: pca955x: use devm_led_classdev_register
>   leds: pca955x: add GPIO support
>   dt-bindings leds: add pca955x
> 
>  .../devicetree/bindings/leds/leds-pca955x.txt      |  88 +++++++
>  drivers/leds/Kconfig                               |  11 +
>  drivers/leds/leds-pca955x.c                        | 254 +++++++++++++++++----
>  include/dt-bindings/leds/leds-pca955x.h            |  16 ++
>  4 files changed, 323 insertions(+), 46 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/leds/leds-pca955x.txt
>  create mode 100644 include/dt-bindings/leds/leds-pca955x.h
> 



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux