Messages in this thread | | | Subject | Re: [PATCH 1/2] leds: Add generic support for memory mapped LEDs | From | Pawel Moll <> | Date | Thu, 08 Nov 2012 15:35:52 +0000 |
| |
Hi Bryan, Richard,
On Thu, 2012-11-01 at 17:58 +0000, Pawel Moll wrote: > LEDs are often controlled by writing to memory mapped > register. This patch adds: > > 1. Generic functions for platform code and drivers to create > class device for LEDs controlled by arbitrary bit masks. > The control register value is read, modified by logic AND > and OR operations with respective mask and written back. > > 2. A platform driver for simple use case when one or more LED > are controlled by consecutive bits in a register pointed > at by the platform device's memory resource. It can be > particularly useful for MFD cells being part of an other > device. > > Signed-off-by: Pawel Moll <pawel.moll@arm.com>
It's just a friendly and polite nag - any thoughts or feelings about this?
Cheers!
Paweł
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |