lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 17 Feb 2009 23:11:13 +0000
From:	Richard Purdie <rpurdie@...ys.net>
To:	Felipe Balbi <felipe.balbi@...ia.com>
Cc:	linux-kernel@...r.kernel.org,
	David Brownell <dbrownell@...rs.sourceforge.net>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Felipe Balbi <me@...ipe.balbi.com>,
	Felipe Balbi <me@...ipebalbi.com>
Subject: Re: [PATCH] leds: triggers: introduce gpio led trigger

On Tue, 2009-02-17 at 13:18 +0200, Felipe Balbi wrote:
> From: Felipe Balbi <me@...ipe.balbi.com>
> 
> The gpio led trigger will allow leds to be triggered by
> gpio events.
> 
> When we give the led a gpio number, the trigger will
> request_irq() on that so we don't have to keep polling
> for gpio state.
> 
> It's useful for usecases as n810's keypad leds that could
> be triggered by the gpio event generated when user slides
> up to show the keypad.
> 
> We also provide means for userland to tell us what is the
> desired brightness for that special led when it goes on
> so userland could use information from ambient light sensors
> and not set led brightness too high if it's not necessary.
> 
> This trigger was tested with n810.

Added to the LED tree, thanks.

Richard


-- 
Richard Purdie
Intel Open Source Technology Centre

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ