[PATCH v5 06/17] video: backlight: add new locomo backlight driver

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Sun Jun 14 09:17:00 PDT 2015


Hello,

2015-06-14 18:13 GMT+03:00 Russell King - ARM Linux <linux at arm.linux.org.uk>:
> On Mon, Jun 08, 2015 at 11:56:37PM +0300, Dmitry Eremin-Solenikov wrote:
>> Add new simple backlight driver - it cares only about PWM/frontlight
>> part of LoCoMo, it does not touch TFT settings and does not export TFT
>> power control.
>
> Is there a reason not to model the PWM as a PWM device, and use pwm_bl.c ?
> pwm_bl.c can be used in non-DT setups too.

I thought about it too. The problem is the FLVR pin, which adds another
(extra) brighness level after the PWM is configured to 100% duty cycle.

Whether to use PWM subsystem or not for handling this PWM is an open question.
I decided not to use it (at least for now), because that would bring complexity
with no directly added value.

-- 
With best wishes
Dmitry



More information about the linux-arm-kernel mailing list