<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/leds, branch v3.13</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.13</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.13'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2014-01-10T22:48:07Z</updated>
<entry>
<title>leds: lp5521/5523: Remove duplicate mutex</title>
<updated>2014-01-10T22:48:07Z</updated>
<author>
<name>Milo Kim</name>
<email>milo.kim@ti.com</email>
</author>
<published>2013-12-03T01:21:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e70988d1aaf73221355e06125c9937bd4b27761c'/>
<id>urn:sha1:e70988d1aaf73221355e06125c9937bd4b27761c</id>
<content type='text'>
It can be a problem when a pattern is loaded via the firmware interface.
LP55xx common driver has already locked the mutex in 'lp55xx_firmware_loaded()'.
So it should be deleted.

On the other hand, locks are required in store_engine_load()
on updating program memory.

Reported-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Reported-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Milo Kim &lt;milo.kim@ti.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
Cc: &lt;stable@vger.kernel.org&gt;
</content>
</entry>
<entry>
<title>leds: pwm: Fix for deferred probe in DT booted mode</title>
<updated>2013-12-02T19:53:17Z</updated>
<author>
<name>Peter Ujfalusi</name>
<email>peter.ujfalusi@ti.com</email>
</author>
<published>2013-11-28T09:06:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=aa1a6d6d74fff31060e08f6007037e6d807c8130'/>
<id>urn:sha1:aa1a6d6d74fff31060e08f6007037e6d807c8130</id>
<content type='text'>
We need to make sure that the error code from devm_of_pwm_get() is the one
the module returns in case of failure.
Restructure the code to make this possible for DT booted case.
With this patch the driver can ask for deferred probing when the board is
booted with DT.
Fixes for example omap4-sdp board's keyboard backlight led.

Signed-off-by: Peter Ujfalusi &lt;peter.ujfalusi@ti.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds: lp55xx: handle enable pin in driver</title>
<updated>2013-10-25T17:13:25Z</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@debian.org</email>
</author>
<published>2013-10-22T18:02:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=30dae2f98612d7c8cd855861b9de205ebd9ef4fa'/>
<id>urn:sha1:30dae2f98612d7c8cd855861b9de205ebd9ef4fa</id>
<content type='text'>
This patch moves the handling of the chip's enable pin from the board
code into the driver. It also updates all board-code files using the
driver to incorporate this change.

This is needed for device tree support of the enable pin.

Signed-off-by: Sebastian Reichel &lt;sre@debian.org&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds-gpio: of: led should not be created if its status is disabled</title>
<updated>2013-10-25T17:12:55Z</updated>
<author>
<name>Josh Wu</name>
<email>josh.wu@atmel.com</email>
</author>
<published>2013-09-26T11:27:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b0bb83df0a004ff6ef9b1a11784361c9eb63dbf9'/>
<id>urn:sha1:b0bb83df0a004ff6ef9b1a11784361c9eb63dbf9</id>
<content type='text'>
now the leds-gpio driver will create every child led node without
checking the status is disabled or not.

for example, if we have a led node like d3, and its status is disabled:
	leds {
		d3 {
			label = "d3";
			gpios = &lt;&amp;pioE 24 0&gt;;
			status = "disabled";
		};
	};

we except the d3 should not be created. And the gpios should not be
request as well.

But current driver will create d3 and request its gpio.

This patch fix this by using for_each_available_child_of_node() and
of_get_available_child_count() to enumerate all child nodes. So the
disabled node will be inavailable.

Signed-off-by: Josh Wu &lt;josh.wu@atmel.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds: Added driver for the NXP PCA9685 I2C chip</title>
<updated>2013-10-22T17:57:35Z</updated>
<author>
<name>Maximilian Güntner</name>
<email>maximilian.guentner@gmail.com</email>
</author>
<published>2013-10-17T01:09:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bb6febdc90efe7f664328075c204eed8e9af7ec9'/>
<id>urn:sha1:bb6febdc90efe7f664328075c204eed8e9af7ec9</id>
<content type='text'>
The NXP PCA9685 supports 16 channels/leds using a 12-bit PWM (4095
levels of brightness)
This driver supports configuration using platform_data.

Signed-off-by: Maximilian Güntner &lt;maximilian.guentner@gmail.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds: pwm: Remove redundant of_match_ptr</title>
<updated>2013-10-22T17:57:34Z</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-09-28T11:38:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1e08f72dd248645450b01c86ccc066c0a90767d8'/>
<id>urn:sha1:1e08f72dd248645450b01c86ccc066c0a90767d8</id>
<content type='text'>
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds: Include linux/of.h header</title>
<updated>2013-10-22T17:57:34Z</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-09-28T11:38:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c68f46dd6aec29b4db9eb85d014981bbdd686428'/>
<id>urn:sha1:c68f46dd6aec29b4db9eb85d014981bbdd686428</id>
<content type='text'>
'of_match_ptr' is defined in linux/of.h. Include it explicitly.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds: dac124s085: Remove redundant spi_set_drvdata</title>
<updated>2013-10-22T17:57:34Z</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-09-20T04:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b4f31ad6184fd5124abdb69b3b7ee5c18ac76db6'/>
<id>urn:sha1:b4f31ad6184fd5124abdb69b3b7ee5c18ac76db6</id>
<content type='text'>
Driver core sets driver data to NULL upon failure or remove.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Cc: Guennadi Liakhovetski &lt;lg@denx.de&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds: lp55xx: enable setting default trigger</title>
<updated>2013-10-22T17:57:34Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2013-09-15T10:50:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f65f0a1a9836abbfbe5c9b8fa0452e4d8eb7bf00'/>
<id>urn:sha1:f65f0a1a9836abbfbe5c9b8fa0452e4d8eb7bf00</id>
<content type='text'>
This enables setting a default trigger on an LP55xx channel,
either from platform data or device tree. This mechanism is
identical to the mechanism for GPIO LEDs and references the
common LEDs device tree bindings.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Tested-by: Milo Kim &lt;milo.kim@ti.com&gt;
Acked-by: Milo Kim &lt;milo.kim@ti.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds: blinkm: Remove redundant break</title>
<updated>2013-10-22T17:57:34Z</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-09-12T04:20:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2491c5c8c99dfcf2519ca73798be60f874a2b16e'/>
<id>urn:sha1:2491c5c8c99dfcf2519ca73798be60f874a2b16e</id>
<content type='text'>
'break' after return is redundant. Remove it.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Acked-by: Jan-Simon Möller &lt;dl9pf@gmx.de&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
</feed>
