Re: [RFC PATCH 9/9] leds: lm3632: Introduce the TI LM3632 driver
From: Dan Murphy
Date: Mon Oct 08 2018 - 08:24:23 EST
Pavel
On 10/07/2018 08:46 AM, Pavel Machek wrote:
> On Wed 2018-09-26 08:09:21, Dan Murphy wrote:
>> Add the dedicated TI LM3632 LED driver. This
>> LED device is capable of driving a backlight display.
>>
>> In addition to the backlight the device has control
>> of a strobe and torch output.
>
> Is this in some way similar to 3639? That also seems to include flash
> and torch.
>
> drivers/video/backlight/lm3639_bl.c
>
NICE!
Yes this driver looks to be good enough to use for the 3632 as well.
We would have to extend that driver to support the 3632, add firmware support,
convert the led class registration to the flash LED registration and add the regulator support.
I can abandon the dedicated LED driver and update this one for the 3632.
No reason to have duplicate code.
Dan
Pavel
>
--
------------------
Dan Murphy