<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/leds, branch linux-2.6.25.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>leds: fix platform driver hotplug/coldplug</title>
<updated>2008-04-16T02:35:40+00:00</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2008-04-15T21:34:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=3c4ded9715c05724939c9a4bd72555c2ade71d97'/>
<id>3c4ded9715c05724939c9a4bd72555c2ade71d97</id>
<content type='text'>
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform
modalias is prefixed with "platform:". Add MODULE_ALIAS() to the
hotpluggable platform LED drivers, to re-enable auto loading.

[dbrownell@users.sourceforge.net: more drivers, registration fixes]
Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Acked-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform
modalias is prefixed with "platform:". Add MODULE_ALIAS() to the
hotpluggable platform LED drivers, to re-enable auto loading.

[dbrownell@users.sourceforge.net: more drivers, registration fixes]
Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Acked-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>leds: Remove incorrect use of preempt_count() from leds-gpio</title>
<updated>2008-03-31T22:31:13+00:00</updated>
<author>
<name>David Brownell</name>
<email>dbrownell@users.sourceforge.net</email>
</author>
<published>2008-03-27T00:59:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=306dd85c1d41e20a07d1e821e27f5df4927bb5e7'/>
<id>306dd85c1d41e20a07d1e821e27f5df4927bb5e7</id>
<content type='text'>
It appears that we can't just check to see if we're in a task
context ... so instead of trying that, just make the relevant
leds always schedule a little worklet.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It appears that we can't just check to see if we're in a task
context ... so instead of trying that, just make the relevant
leds always schedule a little worklet.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>leds: Fix potential leds-gpio oops</title>
<updated>2008-03-31T22:31:13+00:00</updated>
<author>
<name>Uwe Kleine-König</name>
<email>Uwe.Kleine-Koenig@digi.com</email>
</author>
<published>2008-03-09T20:42:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=d95cbe6158a679d50e03787bb1dc21ff73dac372'/>
<id>d95cbe6158a679d50e03787bb1dc21ff73dac372</id>
<content type='text'>
Call gpio_cansleep only after gpio_request succeeded avoiding an
oops.

Signed-off-by: Uwe Kleine-König &lt;Uwe.Kleine-Koenig@digi.com&gt;
Acked-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Call gpio_cansleep only after gpio_request succeeded avoiding an
oops.

Signed-off-by: Uwe Kleine-König &lt;Uwe.Kleine-Koenig@digi.com&gt;
Acked-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>PWM LED driver</title>
<updated>2008-02-08T17:22:38+00:00</updated>
<author>
<name>David Brownell</name>
<email>david-b@pacbell.net</email>
</author>
<published>2008-02-08T12:21:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=de5c9edee7a3cfdc6dd1a31c4794dc41ef3c70f9'/>
<id>de5c9edee7a3cfdc6dd1a31c4794dc41ef3c70f9</id>
<content type='text'>
This is a LED driver using the PWM on newer SOCs from Atmel; brightness is
controlled by changing the PWM duty cycle.  So for example if you've set up
two leds labeled "pwm0" and "pwm1":

	echo 0 &gt; /sys/class/leds/pwm2/brightness	# off (0%)
	echo 80 &gt; /sys/class/leds/pwm2/brightness
	echo 255 &gt; /sys/class/leds/pwm2/brightness	# on (100%)

Note that "brightness" here isn't linear; maybe that should change.  Going
from 4 to 8 probably doubles perceived brightness, while 244 to 248 is
imperceptible.

This is mostly intended to be a simple example of PWM, although it's
realistic since LCD backlights are often driven with PWM to conserve
battery power (and offer brightness options).

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Haavard Skinnemoen &lt;hskinnemoen@atmel.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Cc: Andrew Victor &lt;linux@maxim.org.za&gt;
Cc: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a LED driver using the PWM on newer SOCs from Atmel; brightness is
controlled by changing the PWM duty cycle.  So for example if you've set up
two leds labeled "pwm0" and "pwm1":

	echo 0 &gt; /sys/class/leds/pwm2/brightness	# off (0%)
	echo 80 &gt; /sys/class/leds/pwm2/brightness
	echo 255 &gt; /sys/class/leds/pwm2/brightness	# on (100%)

Note that "brightness" here isn't linear; maybe that should change.  Going
from 4 to 8 probably doubles perceived brightness, while 244 to 248 is
imperceptible.

This is mostly intended to be a simple example of PWM, although it's
realistic since LCD backlights are often driven with PWM to conserve
battery power (and offer brightness options).

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Haavard Skinnemoen &lt;hskinnemoen@atmel.com&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Cc: Andrew Victor &lt;linux@maxim.org.za&gt;
Cc: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>leds: Add HP Jornada 6xx driver</title>
<updated>2008-02-07T10:10:28+00:00</updated>
<author>
<name>Kristoffer Ericson</name>
<email>kristoffer.ericson@gmail.com</email>
</author>
<published>2008-02-07T10:10:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=d39a7a63eb3971b1b3cc5c181ed526bf437b1c72'/>
<id>d39a7a63eb3971b1b3cc5c181ed526bf437b1c72</id>
<content type='text'>
Add support for the LEDs on the HP Jornada 620/660/680/690 devices.

Signed-off-by: Kristoffer Ericson &lt;kristoffer.ericson@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for the LEDs on the HP Jornada 620/660/680/690 devices.

Signed-off-by: Kristoffer Ericson &lt;kristoffer.ericson@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>leds: Remove the now uneeded ixp4xx driver</title>
<updated>2008-02-07T10:02:39+00:00</updated>
<author>
<name>Rod Whitby</name>
<email>rod@whitby.id.au</email>
</author>
<published>2008-02-07T10:02:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=8fe217e7b6d4f186e269fda8aba73a213fad0fa0'/>
<id>8fe217e7b6d4f186e269fda8aba73a213fad0fa0</id>
<content type='text'>
All boards using the IXP4XX-GPIO-LED driver have been updated to use
the generic leds-gpio driver instead.

Signed-off-by: Rod Whitby &lt;rod@whitby.id.au&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All boards using the IXP4XX-GPIO-LED driver have been updated to use
the generic leds-gpio driver instead.

Signed-off-by: Rod Whitby &lt;rod@whitby.id.au&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>leds: Add power LED to the wrap driver</title>
<updated>2008-02-07T09:52:03+00:00</updated>
<author>
<name>Michael Loeffler</name>
<email>zvpunry@zvpunry.de</email>
</author>
<published>2008-01-13T23:20:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=f5506a2f71ad75d680c81090117ff2f89602f9b9'/>
<id>f5506a2f71ad75d680c81090117ff2f89602f9b9</id>
<content type='text'>
The 3rd LED on this board is something like a power-led, it is on all the
time. With this change to the leds-wrap driver it is possible to use this
LED too.

Signed-off-by: Michael Loeffler &lt;zvpunry@zvpunry.de&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 3rd LED on this board is something like a power-led, it is on all the
time. With this change to the leds-wrap driver it is possible to use this
LED too.

Signed-off-by: Michael Loeffler &lt;zvpunry@zvpunry.de&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>leds: Fix led-gpio active_low default brightness</title>
<updated>2008-02-07T09:52:02+00:00</updated>
<author>
<name>Raphael Assenat</name>
<email>raph@8d.com</email>
</author>
<published>2008-01-13T22:55:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=2b7f1b8c8f4a8991dfeefc31844e15c642b6de2a'/>
<id>2b7f1b8c8f4a8991dfeefc31844e15c642b6de2a</id>
<content type='text'>
When gpio_direction_output() is called, led_dat-&gt;active_low is used
as default value. This means that the led will always be off by
default. cdev.brightness should really have been set to LED_OFF
unconditionally to reflect this behavior.

Signed-off-by: Raphael Assenat &lt;raph@8d.com&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When gpio_direction_output() is called, led_dat-&gt;active_low is used
as default value. This means that the led will always be off by
default. cdev.brightness should really have been set to LED_OFF
unconditionally to reflect this behavior.

Signed-off-by: Raphael Assenat &lt;raph@8d.com&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>leds: hw acceleration for Clevo mail LED driver</title>
<updated>2008-02-07T09:52:02+00:00</updated>
<author>
<name>Márton Németh</name>
<email>nm127@freemail.hu</email>
</author>
<published>2007-10-31T14:09:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=92e015cb31c0a312bf2e0e5b96aef76a8c57e645'/>
<id>92e015cb31c0a312bf2e0e5b96aef76a8c57e645</id>
<content type='text'>
Add support for hardware accelerated LED blinking for the mail LED
commonly found on Clevo notebooks.

Signed-off-by: Márton Németh &lt;nm127@freemail.hu&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for hardware accelerated LED blinking for the mail LED
commonly found on Clevo notebooks.

Signed-off-by: Márton Németh &lt;nm127@freemail.hu&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>leds: Add support for hardware accelerated LED flashing</title>
<updated>2008-02-07T09:49:38+00:00</updated>
<author>
<name>Márton Németh</name>
<email>nm127@freemail.hu</email>
</author>
<published>2007-10-31T14:07:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=4c79141d28bc290ae307e3f81f5bc909c26faf6e'/>
<id>4c79141d28bc290ae307e3f81f5bc909c26faf6e</id>
<content type='text'>
Extends the leds subsystem with a blink_set() callback function which can
be optionally implemented by a LED driver. If implemented, the driver can use
the hardware acceleration for blinking a LED.

Signed-off-by: Márton Németh &lt;nm127@freemail.hu&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extends the leds subsystem with a blink_set() callback function which can
be optionally implemented by a LED driver. If implemented, the driver can use
the hardware acceleration for blinking a LED.

Signed-off-by: Márton Németh &lt;nm127@freemail.hu&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
