Hello,
2015-06-14 18:13 GMT+03:00 Russell King - ARM Linux [off-list ref]:
On Mon, Jun 08, 2015 at 11:56:37PM +0300, Dmitry Eremin-Solenikov wrote:
quoted
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