Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4455600ybc; Fri, 15 Nov 2019 05:04:32 -0800 (PST) X-Google-Smtp-Source: APXvYqxvrB0lSiMBdvCtY+TL9tjW+z4nl3Fsg/o1P2lPz0PSbvHiI1xCXEMs6z9ZD0sC5GYzdDcJ X-Received: by 2002:a2e:890e:: with SMTP id d14mr10843554lji.6.1573823072314; Fri, 15 Nov 2019 05:04:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573823072; cv=none; d=google.com; s=arc-20160816; b=mBc+EZXdaFboD311Rt5684j8IJ9K5O70T8nRMHEjfjZrFRe9bx80hXhXClIRCg8aKr PxLvJ3qC+784UH/K0JE+nMH09pN/uMc0ImeFKHnlDnlTu2WS1GczKfCwpin5meCMZ0kg jEZfPgPIFV3FGQOEXahnVgollpibOR68nUj/TH0niS/N98S3UebO3L4HLUeE+e3Hhwhd H0PE6q6lg/Xf4cZvznVVXjJS6/HNjJM6Ici8B4McSFgbh3YM27F5OaEEM+hUi0MdbGnL E6TC9qbgY86oaaCadrtDyXyEJihaeeVlob2hdbx9IWY0BwLGk7+ufgo7LudyTmOn+XyY S7bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=fFCEymgW22IOXjAfj44wBlKSuJ/Vx7mcifImk+2KKVg=; b=Go0XIsvrKf47mOZbNnj9rbYwsU4abJ6HrCJuYJN8RZagyZzqHkWePwcKEEWNymsic+ RyMthHlku5xQLNjTCKStc+VXi3cLELKp3LHO5Gy+fsUOWGkSCvMO+qHYkQhYRyrIyWE8 EKyNtQeHbcKRd/1k52Gq4U29nr9z36WZcCgx/k1Ad28qr7h2VmRaq6wRFNYyh9tRubWn yTlmSaQOkICvzbV6DmZcfZ2NSHWODLAMUIYnlvZN3Bi/Vb+uDkG+dk4vtFEm2rEjP+KM hnxqU6b1wymq2Zq01WkGsFt5X/Dk7ODfkTrU72s5mH54wVo0GDAfn9TnMnR2zqCd3PgA O/zw== 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 p20si6324082edi.252.2019.11.15.05.04.05; Fri, 15 Nov 2019 05:04:32 -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 S1727543AbfKONCD (ORCPT + 99 others); Fri, 15 Nov 2019 08:02:03 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:43759 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727359AbfKONCC (ORCPT ); Fri, 15 Nov 2019 08:02:02 -0500 Received: by mail-oi1-f193.google.com with SMTP id l20so8499427oie.10; Fri, 15 Nov 2019 05:02:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fFCEymgW22IOXjAfj44wBlKSuJ/Vx7mcifImk+2KKVg=; b=ER/EhUYC5QkiYAW0NuWXmHh3nGBEqMeczo7bfaQfML9i+NLruK4Gh5CXsQ1oHEis+0 IE8o0YLOYLJEgxb+3fcFgTtNYhpBxdbhZ2FU1wH74ngVny8isWEvKLeOM1EUp6IuQsyR sa0MRyDWpN+kwfVPNtsG1o0E1//U7Hlwu78BeVNbuGpyIbBfyOxvWvXUZjB1yvVO7M8/ RDioRr0MoDzQ/tz29Ggt1O30Q8GVzat1zaR+ApOHFm758kPj8fhguBvsclrvWsHN+jew 7VLz1NV9tYGbCnsdLjloB99a32LB5kA3JRDiwx9BLhg4TLrXqIQMWmvaDx4osSx0r6c6 TNJA== X-Gm-Message-State: APjAAAVrrtTmotSUsASqlWR6dyihUZRYtS0teQXGqlO9QGlhyuhg7PI8 CTzsWhJH7RePDyd49gStBA7jm8I1NLYgxGcliD0= X-Received: by 2002:aca:4ac5:: with SMTP id x188mr7493713oia.148.1573822921804; Fri, 15 Nov 2019 05:02:01 -0800 (PST) MIME-Version: 1.0 References: <20190609190803.14815-1-jacek.anaszewski@gmail.com> <20190609190803.14815-4-jacek.anaszewski@gmail.com> In-Reply-To: <20190609190803.14815-4-jacek.anaszewski@gmail.com> From: Geert Uytterhoeven Date: Fri, 15 Nov 2019 14:01:50 +0100 Message-ID: Subject: Re: [PATCH v5 03/26] dt-bindings: leds: Add LED_FUNCTION definitions To: Jacek Anaszewski Cc: linux-leds@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Pavel Machek , Rob Herring , dtor@google.com, Guenter Roeck , Dan Murphy , Baolin Wang , Daniel Mack , Linus Walleij , Oleh Kravchenko , Sakari Ailus , Simon Shields Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jacek, 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 > --- 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" 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 noticed your very initial submission defined LED_FUNCTION_USER "user". I couldn't find an explanation for the rationale behind its removal in later revisions, or any discussion asking for that. Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds