[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210326052801.17666-1-chenhui.zhang@axis.com>
Date: Fri, 26 Mar 2021 13:27:59 +0800
From: Hermes Zhang <chenhui.zhang@...s.com>
To: <pavel@....cz>, <dmurphy@...com>, <robh+dt@...nel.org>
CC: <linux-leds@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <chenhuiz@...s.com>,
<lkml@...s.com>, <kernel@...s.com>
Subject: [PATCH v2 0/2] New multiple GPIOs LED driver
From: Hermes Zhang <chenhuiz@...s.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
Powered by blists - more mailing lists