Thread (9 messages) 9 messages, 5 authors, 2021-03-29
STALE1893d
Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH v2 0/2] New multiple GPIOs LED driver

From: Hermes Zhang <hidden>
Date: 2021-03-26 05:29:30
Also in: linux-leds, lkml

From: Hermes Zhang <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help