[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1223374230-18413-1-git-send-email-giometti@enneenne.com>
Date: Tue, 7 Oct 2008 12:10:29 +0200
From: Rodolfo Giometti <giometti@...eenne.com>
To: linux-kernel@...r.kernel.org
Cc: Richard Purdie <rpurdie@...ys.net>
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists