pwm-backlight: Add optional enable GPIO
commit2b9b1620349e325f184c68cddf3b484499c163c0
authorThierry Reding <treding@nvidia.com>
Fri, 30 Aug 2013 09:51:22 +0000 (30 11:51 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 16 Oct 2013 07:05:57 +0000 (16 09:05 +0200)
treec995537dbc064a0383db2c8a53d4949cff3d6f12
parent97c38437115aa0c3fb2d50c488814b503ba529e0
pwm-backlight: Add optional enable GPIO

To support a wider variety of backlight setups, introduce an optional
enable GPIO. Legacy users of the platform data already have a means of
supporting GPIOs by using the .init(), .exit() and .notify() hooks. DT
users however cannot use those, so an alternative method is required.

In order to ease the introduction of the optional enable GPIO, make it
available in the platform data first, so that existing users can be
converted. Once that has happened a second patch will add code to make
use of it in the driver.

Signed-off-by: Thierry Reding <treding@nvidia.com>
include/linux/pwm_backlight.h