linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] New multiple GPIOs LED driver
@ 2021-03-26  5:27 Hermes Zhang
  2021-03-26  5:28 ` [PATCH v2 1/2] dt-binding: leds: Document leds-multi-gpio bindings Hermes Zhang
  2021-03-26  5:28 ` [PATCH v2 2/2] leds: leds-multi-gpio: Add multiple GPIOs LED driver Hermes Zhang
  0 siblings, 2 replies; 9+ messages in thread
From: Hermes Zhang @ 2021-03-26  5:27 UTC (permalink / raw)
  To: pavel, dmurphy, robh+dt
  Cc: linux-leds, devicetree, linux-kernel, chenhuiz, lkml, kernel

From: Hermes Zhang <chenhuiz@axis.com>

changes v2:
- use max_brightness(=2^gpio number) instead of LED_FULL
- alloc priv at once
- move driver code to new simple folder
- update commit message for dt-binding commit
- move dt-binding commit before driver code

Hermes Zhang (2):
  dt-binding: leds: Document leds-multi-gpio bindings
  leds: leds-multi-gpio: Add multiple GPIOs LED driver

 .../bindings/leds/leds-multi-gpio.yaml        |  50 ++++++
 drivers/leds/Kconfig                          |   3 +
 drivers/leds/Makefile                         |   3 +
 drivers/leds/simple/Kconfig                   |  23 +++
 drivers/leds/simple/Makefile                  |   3 +
 drivers/leds/simple/leds-multi-gpio.c         | 144 ++++++++++++++++++
 6 files changed, 226 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-multi-gpio.yaml
 create mode 100644 drivers/leds/simple/Kconfig
 create mode 100644 drivers/leds/simple/Makefile
 create mode 100644 drivers/leds/simple/leds-multi-gpio.c

-- 
2.20.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-03-29  6:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26  5:27 [PATCH v2 0/2] New multiple GPIOs LED driver Hermes Zhang
2021-03-26  5:28 ` [PATCH v2 1/2] dt-binding: leds: Document leds-multi-gpio bindings Hermes Zhang
2021-03-27 18:12   ` Rob Herring
2021-03-29  6:03     ` Hermes Zhang
2021-03-26  5:28 ` [PATCH v2 2/2] leds: leds-multi-gpio: Add multiple GPIOs LED driver Hermes Zhang
2021-03-26  5:56   ` Alexander Dahl
2021-03-26  6:07     ` Hermes Zhang
2021-03-26 13:49   ` Pavel Machek
2021-03-29  6:00     ` Hermes Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).