[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121107131037.3bd52a96@avionic-0020.adnet.avionic-design.de>
Date: Wed, 7 Nov 2012 13:10:37 +0100
From: Alban Bedel <alban.bedel@...onic-design.de>
To: Thierry Reding <thierry.reding@...onic-design.de>
Cc: linux-kernel@...r.kernel.org, Richard Purdie <rpurdie@...ys.net>,
Alban Bedel <alban.bedel@...onic-design.de>
Subject: Re: [PATCH] pwm-backlight: Add support for active low PWM
backlights
On Tue, 6 Nov 2012 07:44:06 +0100
Thierry Reding <thierry.reding@...onic-design.de> wrote:
> > --- 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?
Not in the current state as the curve currently hardcode the fact the
first element have 0% duty and the last 100%. But relaxing this
limitation is probably better as it would also allow clamping the curve
like the lth_brightness parameter do when no curve is used.
I'll send a new patch implementing this soon.
Alban
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists