]> git.kernelconcepts.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>
Wed, 3 Oct 2012 06:50:43 +0000 (16:50 +1000)
commit28c81801de301131ff40fdc70f9b579feb38be69
tree0589e5845540b8b2101d0616be3e905390a0d9e2
parent3d4138fb2344554835ce0a3d6d734f72d45ca07f
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