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>
Showing
- Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt 28 additions, 0 deletions...ion/devicetree/bindings/video/backlight/pwm-backlight.txt
- drivers/video/backlight/Kconfig 1 addition, 1 deletiondrivers/video/backlight/Kconfig
- drivers/video/backlight/pwm_bl.c 129 additions, 20 deletionsdrivers/video/backlight/pwm_bl.c
- include/linux/pwm_backlight.h 1 addition, 0 deletionsinclude/linux/pwm_backlight.h
Please register or sign in to comment