From: Philipp Zabel <p.zabel@pengutronix.de>
To: Shawn Guo <shawn.guo@linaro.org>
Cc: Robby Cai <r63905@freescale.com>,
linux-pwm@vger.kernel.org,
Eric Nelson <eric.nelson@boundarydevices.com>,
Tim Harvey <tharvey@gateworks.com>,
jg1.han@samsung.com, Troy Kisky <troy.kisky@boundarydevices.com>,
thierry.reding@gmail.com, kernel@pengutronix.de,
lee.jones@linaro.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ARM: dts: imx6qdl: Adjust the brightness setting for LVDS panel
Date: Thu, 22 Jan 2015 16:38:04 +0100 [thread overview]
Message-ID: <1421941084.3084.45.camel@pengutronix.de> (raw)
In-Reply-To: <20150120113837.GC2766@dragon>
Am Dienstag, den 20.01.2015, 19:38 +0800 schrieb Shawn Guo:
> Add LAKML and a few interested people.
>
> Shawn
>
> On Tue, Jan 20, 2015 at 06:22:35PM +0800, Robby Cai wrote:
> > Hannstar XGA panel is used by default on i.MX6QDL Sabre Auto/Lite/SD
> > or derived board.
> >
> > According to its data sheet [1],
> > a) the dimming duty cycle is 20% - 100%.
> > This patch changes the brightness-level from 20 to 100 with step 10 to
> > make it straight-forward.
> > b) the typical dimming frequency is 20KHz.
> > The previous setting is 200Hz. This patch corrects it.
> >
> > [1]
> > http://boundarydevices.com/wp-content/uploads/2013/06/HSD100PXN1-A00-C11-1.0.pdf
> >
> > Signed-off-by: Robby Cai <r63905@freescale.com>
> > ---
> > arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 6 +++---
> > arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 6 +++---
> > arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 6 +++---
> > arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 6 +++---
> > arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 6 +++---
> > arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 6 +++---
> > arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 6 +++---
> > 7 files changed, 21 insertions(+), 21 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
> > index b5756c2..33484d8 100644
> > --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
> > +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
> > @@ -29,9 +29,9 @@
> >
> > backlight {
> > compatible = "pwm-backlight";
> > - pwms = <&pwm4 0 5000000>;
> > - brightness-levels = <0 4 8 16 32 64 128 255>;
> > - default-brightness-level = <7>;
> > + pwms = <&pwm4 0 50000>;
> > + brightness-levels = <0 20 30 40 50 60 70 80 90 100>;
> > + default-brightness-level = <9>;
I notice that the intervals are changed from exponential to linear.
Is this really wanted here?
I expect that the new settings result in huge steps in perceived
brightness at low levels and a nearly imperceptible change at the
last step.
regards
Philipp
next prev parent reply other threads:[~2015-01-22 15:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-20 10:22 [PATCH] ARM: dts: imx6qdl: Adjust the brightness setting for LVDS panel Robby Cai
2015-01-20 11:38 ` Shawn Guo
2015-01-22 15:38 ` Philipp Zabel [this message]
2015-01-26 14:44 ` Robby.Cai
2015-01-27 15:21 ` Philipp Zabel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1421941084.3084.45.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=eric.nelson@boundarydevices.com \
--cc=jg1.han@samsung.com \
--cc=kernel@pengutronix.de \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-pwm@vger.kernel.org \
--cc=r63905@freescale.com \
--cc=shawn.guo@linaro.org \
--cc=tharvey@gateworks.com \
--cc=thierry.reding@gmail.com \
--cc=troy.kisky@boundarydevices.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox