Re: [PATCH 1/2] leds: leds-multi-gpio: Add multiple GPIOs LED driver
From: Pavel Machek
Date: Wed Mar 24 2021 - 06:42:44 EST
On Wed 2021-03-24 15:56:30, Hermes Zhang wrote:
> From: Hermes Zhang <chenhuiz@xxxxxxxx>
>
> Introduce a new multiple GPIOs LED driver. This LED will made of
> multiple GPIOs (up to 8) and will map different brightness to different
> GPIOs states which defined in dts file.
>
> Signed-off-by: Hermes Zhang <chenhuiz@xxxxxxxx>
> ---
> drivers/leds/Kconfig | 12 +++
> drivers/leds/Makefile | 1 +
> drivers/leds/leds-multi-gpio.c | 140 +++++++++++++++++++++++++++++++++
> 3 files changed, 153 insertions(+)
> create mode 100644 drivers/leds/leds-multi-gpio.c
Let's put it into drivers/leds/simple. You may need to create it.
Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek
Attachment:
signature.asc
Description: PGP signature