Re: [PATCH 2/2] leds: ns2: Convert to GPIO descriptors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun 2020-01-12 14:56:30, Simon Guinot wrote:
> On Tue, Jan 07, 2020 at 03:10:29PM +0100, Linus Walleij wrote:
> > This converts the NS2 LED driver to use GPIO descriptors.
> > We take care to request the GPIOs "as is" which is what
> > the current driver goes to lengths to achieve, then we use
> > GPIOs throughout.
> > 
> > As the nodes for each LED does not have any corresponding
> > device, we need to use the DT-specific accessors to get these
> > GPIO descriptors from the device tree.
> > 
> > Cc: Simon Guinot <simon.guinot@xxxxxxxxxxxx>
> > Cc: Vincent Donnefort <vdonnefort@xxxxxxxxx>
> > Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> 
> Hi Linus and Pavel,
> 
> I have tested this patches on a LaCie d2 Network v2 board and the LEDs
> are still working as expected.
> 
> Tested-by: Simon Guinot <simon.guinot@xxxxxxxxxxxx>

Thanks, applied to my for-next branch.
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux