]> 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, 28 Sep 2012 06:08:05 +0000 (16:08 +1000)
commit40122ea7c196f1af06310830c38dc5b70a894b2e
treeca3509d2049e0f78f241f3ccd0ded541e88a75d8
parentbd1a64033deb75cfe62fcada5f4648c1fe5c86c3
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