[PATCH 1/2] leds: Add generic support for memory mapped LEDs

Pawel Moll pawel.moll at arm.com
Mon Nov 19 06:44:52 EST 2012


On Thu, 2012-11-08 at 15:35 +0000, Pawel Moll wrote:
> 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 at arm.com>
> 
> It's just a friendly and polite nag - any thoughts or feelings about
> this?

Ping again?

Paweł





More information about the linux-arm-kernel mailing list