lkml.org 
[lkml]   [2008]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject[PATCH V3] led: Backlight trigger for led subsystem
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.




\
 
 \ /
  Last update: 2008-10-07 12:13    [W:0.073 / U:2.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site