Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3213940ybc; Mon, 25 Nov 2019 10:45:24 -0800 (PST) X-Google-Smtp-Source: APXvYqyL+wWaquSJEVE+qvWvNBpMW8p6tev6bEpYQUS2yUr7dlHvxs4QNCW3juEN9fKVEOvgx04j X-Received: by 2002:a17:906:f259:: with SMTP id gy25mr37278713ejb.297.1574707523924; Mon, 25 Nov 2019 10:45:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574707523; cv=none; d=google.com; s=arc-20160816; b=VFsCLBVg7b/PMu5Qof1iM4d1bxTizSO6buShYmLzpnFoTvYxz15TAGx++z/EVtrQYP h7qZJKt0tkj0Fdz1KlV1IjO9FZmDMVR3JFhQmvZlj2ydSQf/eBjrsPdZPXOd21/Dmx+F 88O3QCC7XojVcjq9hPH6cmTQJPnRPBGD6tiOqjcuVyCZ2o7xkwBX8jXARSZqusXcrizx 9yFpFaMeC0Cp652Z4MwnJm1C2d4RU3/h+ka+gnyauNiDlftJY2k9YgZhE72Sjx+9F4Sg FqKCPFilah5MbV4OBOaxls/FBnI221eq7fLF7ajzTmsKVCEOTMufW7cK8tU5nRjRxshe Ic3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=wGbSQ3jmk5+3wOZ9Fr8cvX16doVhvGdfMTuFygItmOo=; b=ptm6iViX0mp2ZJinw1mqTibEiVIFyy55oFMfiRF9sRxb7M42b0xPnWVeETf3yFp5uM JbYRbkVnA442nH7Zel+a4B8I9eMJnVEhhTfr2+fk6vkJOi8lQLD111UrG4y16iNtnh1D bn6E7zs0WZdyszsYY6TdiC8MgHipGOm4eKT3iW4ZUAKW9Zra1GgbL6CH7ChnWsDG0pig eOpK0+ROq9EDUyP7TRu/QjS0hRA+xdgEvYxCB4JN8PJPj6YE0JgWxuEXUQapiUS+u5Rn OTyibO8/WUlBmWaAXoN3MiQZ2jL2N3ne86IEXByIqP0emDayeKSlk42wbfCHntDuSXmX 9Pyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h13si7166612edj.265.2019.11.25.10.45.00; Mon, 25 Nov 2019 10:45:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728573AbfKYPRE (ORCPT + 99 others); Mon, 25 Nov 2019 10:17:04 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:54402 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728172AbfKYPRE (ORCPT ); Mon, 25 Nov 2019 10:17:04 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 7CD081C2007; Mon, 25 Nov 2019 16:17:02 +0100 (CET) Date: Mon, 25 Nov 2019 16:17:01 +0100 From: Pavel Machek To: Geert Uytterhoeven Cc: Jacek Anaszewski , linux-leds@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Rob Herring , dtor@google.com, Guenter Roeck , Dan Murphy , Baolin Wang , Daniel Mack , Linus Walleij , Oleh Kravchenko , Sakari Ailus , Simon Shields Subject: Re: [PATCH v5 03/26] dt-bindings: leds: Add LED_FUNCTION definitions Message-ID: <20191125151701.GB3816@amd> References: <20190609190803.14815-1-jacek.anaszewski@gmail.com> <20190609190803.14815-4-jacek.anaszewski@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1LKvkjL3sHcu1TtY" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --1LKvkjL3sHcu1TtY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri 2019-11-15 14:01:50, Geert Uytterhoeven wrote: > Hi Jacek, >=20 > On Sun, Jun 9, 2019 at 9:09 PM Jacek Anaszewski > wrote: > > Add initial set of common LED function definitions. > > > > Signed-off-by: Jacek Anaszewski >=20 > > --- a/include/dt-bindings/leds/common.h > > +++ b/include/dt-bindings/leds/common.h > > @@ -30,4 +31,45 @@ > > #define LED_COLOR_ID_IR 7 > > #define LED_COLOR_ID_MAX 8 > > > > +/* Standard LED functions */ > > +#define LED_FUNCTION_ACTIVITY "activity" >=20 > What's the appropriate function for "general purpose" or "user" LEDs on > development boards, where the LEDs don't have fixed functions, unlike > on real products? > Perhaps just LED_FUNCTION_INDICATOR? I'd prefer such LEDs to not exist :-). > I noticed your very initial submission defined LED_FUNCTION_USER "user". > I couldn't find an explanation for the rationale behind its removal in la= ter > revisions, or any discussion asking for that. There are "user" leds even on non-development boads... one is labeled "scroll lock". For the development board, I'd actually prefer to assign some reasonable functions. If vendor BSP uses the LEDs for disk and network indicators (for example) I'd just mark it as a disk and network LEDs... Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --1LKvkjL3sHcu1TtY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl3b8GwACgkQMOfwapXb+vKOngCeMPIGUI5sLmxz2QWwUEawrSyU Wu4An2/gtTGMzwzqq4R6aHay3jUaFgBo =JtRl -----END PGP SIGNATURE----- --1LKvkjL3sHcu1TtY--