]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pwm_backlight: add device tree support for Low Threshold Brightness
authorPhilip, Avinash <avinashphilip@ti.com>
Fri, 28 Sep 2012 00:20:20 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 5 Oct 2012 04:01:23 +0000 (14:01 +1000)
commit045dab72d996f7a29be7dcca96321ae8c71fdba3
tree2639d0ee3010adcd2f323e167979f19d79beede5
parent1bc06ce7f971ee57c9b2e5bd95e554e0c959bdad
pwm_backlight: add device tree support for Low Threshold Brightness

Some backlights perform poorly when driven by a PWM with a short
duty-cycle.  For such devices, the low threshold can be used to specify a
lower bound for the duty-cycle and should be chosen to exclude the
problematic range.

Add device tree probing support for
platform_pwm_backlight_data,lth_brightness, putting
low-threshold-brightness as the optional property's name.

Signed-off-by: Philip, Avinash <avinashphilip@ti.com>
Cc: Thierry Reding <thierry.reding@avionic-design.de>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt
drivers/video/backlight/pwm_bl.c