From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9A7BC4BA10 for ; Wed, 26 Feb 2020 13:30:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C200121927 for ; Wed, 26 Feb 2020 13:30:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726764AbgBZNaL (ORCPT ); Wed, 26 Feb 2020 08:30:11 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:37630 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726700AbgBZNaL (ORCPT ); Wed, 26 Feb 2020 08:30:11 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id A924A1C0411; Wed, 26 Feb 2020 14:30:09 +0100 (CET) Date: Wed, 26 Feb 2020 14:30:09 +0100 From: Pavel Machek To: Simon Guinot Cc: Linus Walleij , Jacek Anaszewski , Dan Murphy , linux-leds@vger.kernel.org, Vincent Donnefort Subject: Re: [PATCH 2/2] leds: ns2: Convert to GPIO descriptors Message-ID: <20200226133009.GA4080@duo.ucw.cz> References: <20200107141030.74052-1-linus.walleij@linaro.org> <20200107141030.74052-2-linus.walleij@linaro.org> <20200112135630.GF21102@kw.sim.vm.gnt> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <20200112135630.GF21102@kw.sim.vm.gnt> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. > >=20 > > 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. > >=20 > > Cc: Simon Guinot > > Cc: Vincent Donnefort > > Signed-off-by: Linus Walleij >=20 > Hi Linus and Pavel, >=20 > I have tested this patches on a LaCie d2 Network v2 board and the LEDs > are still working as expected. >=20 > Tested-by: Simon Guinot Thanks, applied to my for-next branch. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCXlZy4QAKCRAw5/Bqldv6 8mEHAJ977K2ds5AwZWGk81TYWWq6AMpyNwCgv77YsVwJncap8th/H1OYf+Tq+oY= =pEt3 -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--