Messages in this thread | | | Date | Tue, 6 Nov 2012 07:44:06 +0100 | From | Thierry Reding <> | Subject | Re: [PATCH] pwm-backlight: Add support for active low PWM backlights |
| |
On Mon, Nov 05, 2012 at 04:49:01PM +0100, Alban Bedel wrote: > Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de> > --- > .../bindings/video/backlight/pwm-backlight.txt | 1 + > drivers/video/backlight/pwm_bl.c | 22 ++++++++++++++----- > include/linux/pwm_backlight.h | 1 + > 3 files changed, 18 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt b/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt > index 1e4fc72..3a40539 100644 > --- a/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt > +++ b/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt > @@ -14,6 +14,7 @@ Required properties: > Optional properties: > - pwm-names: a list of names for the PWM devices specified in the > "pwms" property (see PWM binding[0]) > + - active-low: boolean indicating that the backlight use active low logic
Couldn't you use the brightness-levels property to achieve the same effect?
Thierry [unhandled content-type:application/pgp-signature] | |