Messages in this thread | | | Date | Thu, 11 Mar 2021 16:39:51 +0100 | From | Marek Behun <> | Subject | Re: [PATCH] leds: leds-dual-gpio: Add dual GPIO LEDs driver |
| |
On Thu, 11 Mar 2021 16:38:14 +0100 Marek Behun <marek.behun@nic.cz> wrote:
> LED_FULL, LED_HALF, LED_OFF are deprecated. > > And this driver is redundant. This can be done with leds-regulator, > with a gpio-regulator. > > Marek
Sorry, leds-regulator has only a binary state LED.
Maybe you could extend leds-regulator to be able to use all regulator states?
Or you can extend leds-gpio driver to support N states via log N gpios, instead of adding new driver.
Marek
| |