History log of /drivers/leds/leds-wrap.c
Revision Date Author Comments
572dc62078440b32cbfb42a4221bf9880a5846c8 24-Nov-2012 Sachin Kamat <sachin.kamat@linaro.org> leds: leds-wrap: Use <linux/io.h> instead of <asm/io.h>

Fixes the following checkpatch warning:
WARNING: Use #include <linux/io.h> instead of <asm/io.h>

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
54f4dedb5368fff81b722b551e2f15a75175d7b7 03-Jul-2011 Paul Gortmaker <paul.gortmaker@windriver.com> drivers/leds: Add module.h to files using it implicitly

A pending cleanup will mean that module.h won't be implicitly
everywhere anymore. Make sure the modular drivers in the leds
dir are actually calling out for <module.h> explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
859cb7f2a4244ea6da206d3fe9cc8a6810947a68 08-Jan-2009 Richard Purdie <rpurdie@linux.intel.com> leds: Add suspend/resume to the core class

Add suspend/resume to the core class and remove all the now unneeded
code from various drivers. Originally the class code couldn't support
suspend/resume but since class_device can there is no reason for
each driver doing its own suspend/resume anymore.
6af4f55c31764c2d97ddf59ae2149cd1769e2e25 13-Oct-2008 Sven Wegener <sven.wegener@stealer.net> leds: Add leds-wrap default-trigger

The power led is normally lit after boot, let's use the default-on
trigger as the default trigger for it. This gets the initial brightness
value right and being on is the default behaviour we expect for a power
led.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
f5506a2f71ad75d680c81090117ff2f89602f9b9 14-Jan-2008 Michael Loeffler <zvpunry@zvpunry.de> leds: Add power LED to the wrap driver

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 <zvpunry@zvpunry.de>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
6c152beefbf90579d21afc4f7e075b1f801f9a75 31-Oct-2007 Richard Purdie <rpurdie@rpsys.net> leds: Standardise LED naming scheme

As discussed on LKML some notion of 'function' is needed in
LED naming. This patch adds this to the documentation and
standardises existing LED drivers.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
0d75565f1e8f098b80a34ccf70db450f60618ec8 07-Dec-2006 Kristian Kielhofner <kris@krisk.org> [PATCH] PCEngines WRAP LED Support

A driver for the PCEngines WRAP boards (http://www.pcengines.ch), which are
very similar to the Soekris net4801 (same NS SC1100 geode reference
design).

The LEDs on the WRAP are on different GPIO lines and I have modified and
copied the net48xx error led support for this. It also includes support
for an "extra" led (in addition to error). The three LEDs on the WRAP are
at GPIO lines 2,3,18 (WRAP LEDs from left to right). This driver gives
access to the second and third LEDs by twiddling GPIO lines 3 & 18.

Because these boards are so similar to the net48xx, I basically sed-ed that
driver to form the basis for leds-wrap.c. The only changes from
leds-net48xx.c are:

- #define WRAP_EXTRA_LED_GPIO

- name changes

- duplicate relevant sections to provide support for the "extra" led

- reverse the various *_led_set values. The WRAP is "backwards" from the
net48xx, and these needed to be updated for that.

[akpm@osdl.org: build fix]
Signed-off-by: Kristian Kielhofner <kris@krisk.org>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>