Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp260800pxf; Wed, 24 Mar 2021 04:40:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxFds/PEGyDa6Q1XVRj+Rpbr4Jy7RP3DlYz4lEN6zX3fA/ZV6o1TlVGmBozy2fSepTvv8l X-Received: by 2002:a05:6402:34c4:: with SMTP id w4mr3032577edc.367.1616586015079; Wed, 24 Mar 2021 04:40:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616586015; cv=none; d=google.com; s=arc-20160816; b=JeTA7h901DzGald3YyprJyvwRzZaPk6NbbMtasouTKBOzC92JdgCtJzEwJQsOXJX18 icr6zwi5D2TSDfLxgh7ISDLRN2l2pIvd2d4joU6uRFpNh3CCWCXDTV+M35ygvWsxucbq 0BbPr2g8rb4zK8wlks1c3EskY9x9Ei11Bn1keVm6h9FIaL97nr/4D6uuoPSzvsLY1qRJ a4RX34CQD1yK/R0A5iChM6TuCjpbZxAY4QtUQIQuLghP/6EzeRj6SrALkBR5YF7yE2Qk Aqb8CXS8leBcRyyinLGCzABkhi0rO+/XHLgIXbTMiXiU8USZK6UhAEjTYXknCUXZJhoC hGPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=R/nzp/naJyiS3NvIWTqTHD6Ycr2+EP1cZVPSifnmmrA=; b=Z7/+pLwKa63ZJ6zHgZe+AHigyO2Knr6OKx4rayPYRo8SUJoXYEGOZaseJ4yk0extIR d+/iptyuqbXjBoF6raiRAid3FkQax2z9LxyCquqMwr/52aMdoB8Jxmcl33F9iqySEMh/ IN6WOgpkHh7BU3B9UT96ydUPtAR/w5+uG+YXNw9r4irlTlIHsWGe1lrvpGohXCsl5v6J NSmCmx20Vbcgk08v59m05YwoevTaf50qc/WvlQf9TnEAM9we1qqbQwxgVYk15/T4mP28 ajiv+RR+apu7Ct732c3rEJmUkgmdHkPphgYlCbcd+VPz5zeqNQglc1JgCU0OIoPnqaMV CpBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l12si1639155edi.290.2021.03.24.04.39.51; Wed, 24 Mar 2021 04:40:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235932AbhCXKmN (ORCPT + 99 others); Wed, 24 Mar 2021 06:42:13 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:35646 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235877AbhCXKlj (ORCPT ); Wed, 24 Mar 2021 06:41:39 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 0136A1C0B82; Wed, 24 Mar 2021 11:41:37 +0100 (CET) Date: Wed, 24 Mar 2021 11:41:37 +0100 From: Pavel Machek To: Hermes Zhang Cc: dmurphy@ti.com, robh+dt@kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, chenhuiz@axis.com, lkml@axis.com, kernel@axis.com Subject: Re: [PATCH 1/2] leds: leds-multi-gpio: Add multiple GPIOs LED driver Message-ID: <20210324104137.GB6035@duo.ucw.cz> References: <20210324075631.5004-1-chenhui.zhang@axis.com> <20210324075631.5004-2-chenhui.zhang@axis.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qlTNgmc+xy1dBmNv" Content-Disposition: inline In-Reply-To: <20210324075631.5004-2-chenhui.zhang@axis.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --qlTNgmc+xy1dBmNv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed 2021-03-24 15:56:30, Hermes Zhang wrote: > From: Hermes Zhang >=20 > Introduce a new multiple GPIOs LED driver. This LED will made of > multiple GPIOs (up to 8) and will map different brightness to different > GPIOs states which defined in dts file. >=20 > Signed-off-by: Hermes Zhang > --- > drivers/leds/Kconfig | 12 +++ > drivers/leds/Makefile | 1 + > drivers/leds/leds-multi-gpio.c | 140 +++++++++++++++++++++++++++++++++ > 3 files changed, 153 insertions(+) > create mode 100644 drivers/leds/leds-multi-gpio.c Let's put it into drivers/leds/simple. You may need to create it. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --qlTNgmc+xy1dBmNv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYFsXYQAKCRAw5/Bqldv6 8vr0AKCew0KzdsUTgWoblm82wwtxPzZ76wCbBU31559zXH7Khbr+fpV3mrk0/DM= =hSWh -----END PGP SIGNATURE----- --qlTNgmc+xy1dBmNv--