public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3] led: Backlight trigger for led subsystem
@ 2008-10-07 10:10 Rodolfo Giometti
  2008-10-07 10:10 ` [PATCH 1/1] led: add a backlight emulation trigger Rodolfo Giometti
  2008-10-07 13:54 ` [PATCH V3] led: Backlight trigger for led subsystem Pavel Machek
  0 siblings, 2 replies; 13+ messages in thread
From: Rodolfo Giometti @ 2008-10-07 10:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: Richard Purdie

This patch set adds a new led trigger which emulates the backlight
behaviour: the leds are turned off and on each time the display blanks
and unblacks.

Since backlights are usually implemented with leds this patch set is
useful for those drivers whose manage leds controller used as
backlight controller.

The driver simply registers itself into the led subsystem and then the
user may get backlight emulation by setting the "backlight"
trigger. Moreover a driver, which usually manages more than one led,
can use some leds as "led" and the others as "backlights" at user
request.

Rodolfo

---

CHANGELOG:

V2 ---> V3:

* Avoid that two consecutive blank commands as follow:

        echo 1 > /sys/class/graphics/fb0/blank
        echo 1 > /sys/class/graphics/fb0/blank

  may vanish unblank led intensity status.



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-10-13 10:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-07 10:10 [PATCH V3] led: Backlight trigger for led subsystem Rodolfo Giometti
2008-10-07 10:10 ` [PATCH 1/1] led: add a backlight emulation trigger Rodolfo Giometti
2008-10-13  8:28   ` Richard Purdie
2008-10-07 13:54 ` [PATCH V3] led: Backlight trigger for led subsystem Pavel Machek
2008-10-07 15:20   ` Rodolfo Giometti
2008-10-07 18:58     ` Pavel Machek
2008-10-07 19:21       ` Rodolfo Giometti
2008-10-07 19:56         ` Pavel Machek
2008-10-07 20:19           ` Rodolfo Giometti
2008-10-07 20:39             ` Mark Brown
2008-10-07 21:19               ` Pavel Machek
2008-10-07 21:32                 ` Rodolfo Giometti
2008-10-07 21:11           ` Henrique de Moraes Holschuh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox