pwm-backlight: Add rudimentary device tree support
authorThierry Reding <thierry.reding@avionic-design.de>
Fri, 16 Dec 2011 20:25:29 +0000 (21:25 +0100)
committerThierry Reding <thierry.reding@avionic-design.de>
Mon, 23 Jul 2012 11:23:52 +0000 (13:23 +0200)
commit3e3ed6cdc49d758719c148a78c8b04c243ef74d0
tree4898c961d49967089139c79ff222441a4495dca4
parent4dce82c1e84007d38747533673c2289bfc6497d2
pwm-backlight: Add rudimentary device tree support

This commit adds very basic support for device tree probing. Currently,
only a PWM and a list of distinct brightness levels can be specified.
Enabling or disabling backlight power via GPIOs is not yet supported.

Reviewed-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt [new file with mode: 0644]
drivers/video/backlight/Kconfig
drivers/video/backlight/pwm_bl.c
include/linux/pwm_backlight.h