<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers, branch toradex_tk1_l4t_r21.6</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>apalis-tk1: handle backlight in the device tree</title>
<updated>2018-03-28T16:40:19+00:00</updated>
<author>
<name>Dominik Sliwa</name>
<email>dominik.sliwa@toradex.com</email>
</author>
<published>2018-03-27T14:36:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e81dd8a3500fea94ce8786554cbc29bc6b2a9207'/>
<id>e81dd8a3500fea94ce8786554cbc29bc6b2a9207</id>
<content type='text'>
Signed-off-by: Dominik Sliwa &lt;dominik.sliwa@toradex.com&gt;
Acked-by: Marcel Ziswiler &lt;marcel.ziswiler@toradex.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dominik Sliwa &lt;dominik.sliwa@toradex.com&gt;
Acked-by: Marcel Ziswiler &lt;marcel.ziswiler@toradex.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm-backlight: Disable backlight on shutdown</title>
<updated>2018-03-28T16:40:13+00:00</updated>
<author>
<name>Thierry Reding</name>
<email>treding@nvidia.com</email>
</author>
<published>2014-04-29T15:28:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=47be2c40872f5eebb568cc046e4ef145cfb1e0c7'/>
<id>47be2c40872f5eebb568cc046e4ef145cfb1e0c7</id>
<content type='text'>
When a device is shut down, make sure to disable the backlight. If it
stays lit, it gives the impression that the device hasn't turned off.
Furthermore keeping the backlight on may consume power, which is not
what users expect when they shut down a device.

Tested-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
(cherry picked from commit 5f33b896246a2d9bdf01352de11d4dab96ba2fc9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a device is shut down, make sure to disable the backlight. If it
stays lit, it gives the impression that the device hasn't turned off.
Furthermore keeping the backlight on may consume power, which is not
what users expect when they shut down a device.

Tested-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
(cherry picked from commit 5f33b896246a2d9bdf01352de11d4dab96ba2fc9)
</pre>
</div>
</content>
</entry>
<entry>
<title>backlight: pwm_bl: Remove error message upon devm_kzalloc() failure</title>
<updated>2018-03-28T16:40:11+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2013-12-01T15:04:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3a4920262b3fac01fa2b6f2b74859bc8feb92dad'/>
<id>3a4920262b3fac01fa2b6f2b74859bc8feb92dad</id>
<content type='text'>
No need to have a specific OOM message, since there is generic MM out of memory
message in place.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
(cherry picked from commit ca7a97add4d4a7b0602b3bd1eff5c89da8636713)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No need to have a specific OOM message, since there is generic MM out of memory
message in place.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
(cherry picked from commit ca7a97add4d4a7b0602b3bd1eff5c89da8636713)
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm-backlight: Remove unused variable</title>
<updated>2018-03-28T16:40:07+00:00</updated>
<author>
<name>Thierry Reding</name>
<email>thierry.reding@gmail.com</email>
</author>
<published>2013-10-22T07:37:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3ec7de5ab39db770ca65a30b0a3f7fdc789e7780'/>
<id>3ec7de5ab39db770ca65a30b0a3f7fdc789e7780</id>
<content type='text'>
I forgot to remove this during earlier cleanup patches and only checked
various builds for errors, not warnings.

Reported-by: kbuild test robot &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
(cherry picked from commit 73d4e2b82b4bb1571b1a7f97012c0db8a0faef42)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I forgot to remove this during earlier cleanup patches and only checked
various builds for errors, not warnings.

Reported-by: kbuild test robot &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
(cherry picked from commit 73d4e2b82b4bb1571b1a7f97012c0db8a0faef42)
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm_backlight: avoid short blank screen while doing hibernation</title>
<updated>2018-03-28T16:40:04+00:00</updated>
<author>
<name>Huayi Li</name>
<email>huayi.li@csr.com</email>
</author>
<published>2013-10-09T02:33:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c610794bd5f3b90231deb7daab8095821c6bee92'/>
<id>c610794bd5f3b90231deb7daab8095821c6bee92</id>
<content type='text'>
Use SIMPLE_DEV_PM_OPS macro will initialize the member "freeze"
and "thaw" of pwm_backlight_pm_ops as below,
	.freeze = suspend_fn,
	.thaw = resume_fn,
then during the process of making hibernation snapshot, screen
will be blank at the moment of freezing, and then light at the
moment of thawing.
this is not the right user experience for suspending to disk.

so this patch drops freeze and thaw callback, make the LCD is
always lighting before the final shutdown.

Signed-off-by: Huayi Li &lt;huayi.li@csr.com&gt;
Signed-off-by: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
(cherry picked from commit 1dea1fd09246ada581a99d0669108eea94b7bfee)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use SIMPLE_DEV_PM_OPS macro will initialize the member "freeze"
and "thaw" of pwm_backlight_pm_ops as below,
	.freeze = suspend_fn,
	.thaw = resume_fn,
then during the process of making hibernation snapshot, screen
will be blank at the moment of freezing, and then light at the
moment of thawing.
this is not the right user experience for suspending to disk.

so this patch drops freeze and thaw callback, make the LCD is
always lighting before the final shutdown.

Signed-off-by: Huayi Li &lt;huayi.li@csr.com&gt;
Signed-off-by: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
(cherry picked from commit 1dea1fd09246ada581a99d0669108eea94b7bfee)
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm-backlight: Fix brightness adjustment</title>
<updated>2018-03-28T16:40:01+00:00</updated>
<author>
<name>Thierry Reding</name>
<email>treding@nvidia.com</email>
</author>
<published>2013-10-18T08:46:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8b58c9edccdbb58ec34df3a41375263a315db2c6'/>
<id>8b58c9edccdbb58ec34df3a41375263a315db2c6</id>
<content type='text'>
Split adjustment of the brightness (by changing the PWM duty cycle) from
the power on sequence. This fixes an issue where the brightness can no
longer be updated once the backlight has been enabled.

Reported-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
(cherry picked from commit e4bfeda96872bfe6015cd360008b77cd3b981b2b)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Split adjustment of the brightness (by changing the PWM duty cycle) from
the power on sequence. This fixes an issue where the brightness can no
longer be updated once the backlight has been enabled.

Reported-by: Marc Dietrich &lt;marvin24@gmx.de&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
(cherry picked from commit e4bfeda96872bfe6015cd360008b77cd3b981b2b)
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm-backlight: Allow for non-increasing brightness levels</title>
<updated>2018-03-28T16:39:58+00:00</updated>
<author>
<name>Mike Dunn</name>
<email>mikedunn@newsguy.com</email>
</author>
<published>2013-09-22T16:59:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d440decb0576ba222f3ee1f435afe9d7d9144214'/>
<id>d440decb0576ba222f3ee1f435afe9d7d9144214</id>
<content type='text'>
Currently the driver assumes that the values specified in the
brightness-levels device tree property increase as they are parsed from
left to right.  But boards that invert the signal between the PWM output
and the backlight will need to specify decreasing brightness-levels.
This patch removes the assumption that the last element of the array is
the maximum value, and instead searches the array for the maximum value
and uses that in the duty cycle calculation.

Signed-off-by: Mike Dunn &lt;mikedunn@newsguy.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
(cherry picked from commit 8f43e18e2769b3b28383903d501b4da29e388aad)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the driver assumes that the values specified in the
brightness-levels device tree property increase as they are parsed from
left to right.  But boards that invert the signal between the PWM output
and the backlight will need to specify decreasing brightness-levels.
This patch removes the assumption that the last element of the array is
the maximum value, and instead searches the array for the maximum value
and uses that in the duty cycle calculation.

Signed-off-by: Mike Dunn &lt;mikedunn@newsguy.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
(cherry picked from commit 8f43e18e2769b3b28383903d501b4da29e388aad)
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm-backlight: Add power supply support</title>
<updated>2018-03-28T16:39:56+00:00</updated>
<author>
<name>Thierry Reding</name>
<email>treding@nvidia.com</email>
</author>
<published>2013-08-30T10:38:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8ae5908bcb59f322456a000d97db397fe839dfe4'/>
<id>8ae5908bcb59f322456a000d97db397fe839dfe4</id>
<content type='text'>
Backlights require a power supply to work properly. This commit adds a
regulator to power up and power down the backlight.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
(cherry picked from commit 22ceeee16eb8f0d04de3ef43a5174fb30ec18af9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Backlights require a power supply to work properly. This commit adds a
regulator to power up and power down the backlight.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
(cherry picked from commit 22ceeee16eb8f0d04de3ef43a5174fb30ec18af9)
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm-backlight: Use new enable_gpio field</title>
<updated>2018-03-28T16:39:54+00:00</updated>
<author>
<name>Thierry Reding</name>
<email>treding@nvidia.com</email>
</author>
<published>2013-08-30T10:32:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8431712fa81721de1e675d98f19d2de9ddc96195'/>
<id>8431712fa81721de1e675d98f19d2de9ddc96195</id>
<content type='text'>
Make use of the new enable_gpio field and allow it to be set from DT as
well. Now that all legacy users of platform data have been converted to
initialize this field to an invalid value, it is safe to use the field
from the driver.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
(cherry picked from commit 8265b2e4e62632b01f998095d1bbda4d281629fe)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make use of the new enable_gpio field and allow it to be set from DT as
well. Now that all legacy users of platform data have been converted to
initialize this field to an invalid value, it is safe to use the field
from the driver.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
(cherry picked from commit 8265b2e4e62632b01f998095d1bbda4d281629fe)
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm-backlight: Track enable state</title>
<updated>2018-03-28T16:39:50+00:00</updated>
<author>
<name>Thierry Reding</name>
<email>treding@nvidia.com</email>
</author>
<published>2013-10-02T16:01:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c3fb2cec492d1bd67c9204fc45f1e517e2fa4f53'/>
<id>c3fb2cec492d1bd67c9204fc45f1e517e2fa4f53</id>
<content type='text'>
Follow up patches will add support for more complex means of powering
the backlight on and off such as using a regulator. To prevent calls to
the regulator API from becoming unbalanced, keep track of the enabled
state internally.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
(cherry picked from commit 97c38437115aa0c3fb2d50c488814b503ba529e0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow up patches will add support for more complex means of powering
the backlight on and off such as using a regulator. To prevent calls to
the regulator API from becoming unbalanced, keep track of the enabled
state internally.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
(cherry picked from commit 97c38437115aa0c3fb2d50c488814b503ba529e0)
</pre>
</div>
</content>
</entry>
</feed>
