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

- From: Dmitry Eremin-Solenikov \<hidden\>
- Date: 2015-06-14 16:17:00 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2015/06/8715111
- Thread: https://ratatoskr.run/linux-arm-kernel/2015/06/8714758/t.md

```text
Hello,

2015-06-14 18:13 GMT+03:00 Russell King - ARM Linux [ref]:
> 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
```
