<feed xmlns='http://www.w3.org/2005/Atom'>
<title>starfive-tech/u-boot.git/drivers/misc/gpio_led.c, branch master</title>
<subtitle>StarFive Tech U-Boot for VisionFive (JH7110) boards (mirror)</subtitle>
<id>https://git.radix-linux.su/starfive-tech/u-boot.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/starfive-tech/u-boot.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/'/>
<updated>2017-01-21T20:12:33+00:00</updated>
<entry>
<title>status_led: Kconfig migration</title>
<updated>2017-01-21T20:12:33+00:00</updated>
<author>
<name>Uri Mashiach</name>
<email>uri.mashiach@compulab.co.il</email>
</author>
<published>2017-01-19T08:51:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=2d8d190c8394b43c0989cdb04a50cb48d4e1f8da'/>
<id>urn:sha1:2d8d190c8394b43c0989cdb04a50cb48d4e1f8da</id>
<content type='text'>
Move all of the status LED feature to drivers/led/Kconfig.
The LED status definitions were moved from the board configuration
files to the defconfig files.

TBD: Move all of the definitions in the include/status_led.h to the
relevant board's defconfig files.

Tested boards: CL-SOM-AM57x, CM-T335

Signed-off-by: Uri Mashiach &lt;uri.mashiach@compulab.co.il&gt;
</content>
</entry>
<entry>
<title>add generic stubs for GPIO LEDs</title>
<updated>2015-10-23T16:15:28+00:00</updated>
<author>
<name>Bernhard Nortmann</name>
<email>bernhard.nortmann@web.de</email>
</author>
<published>2015-08-21T13:13:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=d375ebbcb655ce8f9012cf93db347d3ced66eaac'/>
<id>urn:sha1:d375ebbcb655ce8f9012cf93db347d3ced66eaac</id>
<content type='text'>
For boards that support LEDs driven via GPIO (CONFIG_GPIO_LED),
it may be useful to have some generic stubs (wrapper functions)
for the "colored" LEDs.

This allows defining STATUS_LED_* values directly to GPIO numbers,
e.g.: #define STATUS_LED_GREEN	248 /* = PH24 */

To keep those optional, it's probably best to introduce an additional
configuration setting. I've chosen CONFIG_GPIO_LED_STUBS for that.
Placing the code in drivers/misc/gpio_led.c also ensures that it
automatically depends on CONFIG_GPIO_LED too.

Signed-off-by: Bernhard Nortmann &lt;bernhard.nortmann@web.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>gpio_led: add support for inverted polarity</title>
<updated>2013-11-25T15:41:52+00:00</updated>
<author>
<name>Igor Grinberg</name>
<email>grinberg@compulab.co.il</email>
</author>
<published>2013-11-07T23:03:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=9dfdcdfed4726f94fc38d94f29f8214f38058576'/>
<id>urn:sha1:9dfdcdfed4726f94fc38d94f29f8214f38058576</id>
<content type='text'>
Some GPIO connected LEDs have inverted polarity.
Introduce new config option: CONFIG_GPIO_LED_INVERTED_TABLE for the
specifying the inverted GPIO LEDs list and add support for this in the
gpio_led driver.

Signed-off-by: Igor Grinberg &lt;grinberg@compulab.co.il&gt;
Tested-by: Ilya Ledvich &lt;ilya@compulab.co.il&gt;
</content>
</entry>
<entry>
<title>gpio_led: check gpio_request() return value</title>
<updated>2013-11-25T15:41:52+00:00</updated>
<author>
<name>Igor Grinberg</name>
<email>grinberg@compulab.co.il</email>
</author>
<published>2013-11-07T23:03:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=6516f81b64c71ab2be61f304d0e13dd84f730484'/>
<id>urn:sha1:6516f81b64c71ab2be61f304d0e13dd84f730484</id>
<content type='text'>
Add a check for the gpio_request() function return value and do not try
to configure the GPIO if the gpio_request() call fails.
Also, print an error message indicating the gpio_request() has failed.

Signed-off-by: Igor Grinberg &lt;grinberg@compulab.co.il&gt;
Tested-by: Ilya Ledvich &lt;ilya@compulab.co.il&gt;
</content>
</entry>
<entry>
<title>gpio_led: add gpio_request to __led_init</title>
<updated>2010-07-12T15:30:52+00:00</updated>
<author>
<name>Thomas Chou</name>
<email>thomas@wytron.com.tw</email>
</author>
<published>2010-06-09T05:32:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=ec3b4981923396ba43f3b173eeffda60123e8d9d'/>
<id>urn:sha1:ec3b4981923396ba43f3b173eeffda60123e8d9d</id>
<content type='text'>
This patch adds the gpio usage request. The polarity is changed to
positive as suggested by Mike Frysinger.

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Signed-off-by: Scott McNutt &lt;smcnutt@psyent.com&gt;
</content>
</entry>
<entry>
<title>misc: add gpio based status led driver</title>
<updated>2010-05-28T14:56:03+00:00</updated>
<author>
<name>Thomas Chou</name>
<email>thomas@wytron.com.tw</email>
</author>
<published>2010-04-30T03:34:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=3e6b86b5552840bb4147871a753840eb3923374c'/>
<id>urn:sha1:3e6b86b5552840bb4147871a753840eb3923374c</id>
<content type='text'>
This patch adds a status led driver followed the GPIO access
conventions of Linux. The led mask is used to specify the gpio pin.

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Tested-by: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Signed-off-by: Scott McNutt &lt;smcnutt@psyent.com&gt;
</content>
</entry>
</feed>
