Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3323959imu; Sun, 11 Nov 2018 12:22:58 -0800 (PST) X-Google-Smtp-Source: AJdET5cn+tHZlvRX2A4ESfEjBqWbVpYl9sJjFnddHcJPBaz53QorRh4I9m7EyOWIhLh69u3EB8vJ X-Received: by 2002:a17:902:3a3:: with SMTP id d32-v6mr17464181pld.304.1541967778437; Sun, 11 Nov 2018 12:22:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541967778; cv=none; d=google.com; s=arc-20160816; b=GdAEMQ7ssxmSt3usrB2+53komCHT+Iq7cGXU2p/1cY+Xx94rpgsByIWHbxmMD/s8o+ 9TIuu9L4XXIZG88JWUJpEdzOBg9psAJq9na3hRTjPZgT84uC7k5R9wvw7z24ZGIsHhkO wwRGflNdThxFmA4W8eYgjrjwViMzgtRMr+KBpGqyarV27PkqMoOOi3Vh2tI1oFwlpOdc m0E/dfmAtP8Yrtc1Q9DIGngzW7XhSjaJZyozej5i5qmJTFRldB764goiOWLlpoTUUa8c cVnLcz9IDiOHwuDmwCquheiEdUAgB3ncmVh5WQUuibezt1rKGm1wh/8ftt8SWDTe9RcC 1RGQ== 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=XBA/ghiCvb7GcJIUB286cN/liTDKz+FUa5tEAIb8Vwo=; b=WRINLBlleC6T+vIehoCPNEHE/InbSJFU5Yc8CGwskGUclB4Eo+Sx+kSlBp3JVkByeV PjlPccBsGH7UlWJg6xe4IIp/s5gw3nms4lQ3pjR8ul20BvCZ2tjuN9pv2bs4tzk44TFU Hr5tLUDahZa2/+MewGUUe81cXTfCiSk0BEFPiaE8YOG2lzXMb2c0I0uJtjOcjD5+HBsJ ae8gZ3NcXt4xUeUlRGqxpKHo3uvICs9qDYIfi6e0A2x6ONlWOGga2xUtLRvVs4DjDby2 W+aGOOYW8t3Tv+Ozp3CT27A9T9/weCnuT4ImYXvsdCLjgHo3uQj60pPchmhUlDdgQNU0 /BtQ== 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 d25si5087876pgd.88.2018.11.11.12.22.43; Sun, 11 Nov 2018 12:22:58 -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 S1731405AbeKLGK2 (ORCPT + 99 others); Mon, 12 Nov 2018 01:10:28 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:53989 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726912AbeKLGK2 (ORCPT ); Mon, 12 Nov 2018 01:10:28 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 69E5D80694; Sun, 11 Nov 2018 21:20:54 +0100 (CET) Date: Sun, 11 Nov 2018 21:20:56 +0100 From: Pavel Machek To: Jacek Anaszewski Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robh@kernel.org, Baolin Wang , Daniel Mack , Dan Murphy , Linus Walleij , Oleh Kravchenko , Sakari Ailus , Simon Shields , Xiaotong Lu Subject: Re: [PATCH 03/24] leds: dt-bindings: Add LED_FUNCTION definitions Message-ID: <20181111202056.GB20160@amd> References: <1541542052-10081-1-git-send-email-jacek.anaszewski@gmail.com> <1541542052-10081-4-git-send-email-jacek.anaszewski@gmail.com> <20181111113157.GK27666@amd> <96296b4d-d49e-2b08-4306-196605a9f5dc@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wzJLGUyc3ArbnUjN" Content-Disposition: inline In-Reply-To: <96296b4d-d49e-2b08-4306-196605a9f5dc@gmail.com> 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 --wzJLGUyc3ArbnUjN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > >> +#define LED_FUNCTION_BACKLIGHT "backlight" > >> +#define LED_FUNCTION_BACKLIGHT_CLUSTER "backlight_cluster" > >=20 > > Sounds like one of backlight and backlight_cluster should be deprecated? >=20 > I think so. Agreed. > >> +#define LED_FUNCTION_DEBUG "debug" > >> +#define LED_FUNCTION_DIA "dia" > >=20 > > What does this one do? >=20 > I'd opt for something like "diagnostics", but this is a blind shot. > Let's remove it then and, and let people add more meaningful > definition in case it is needed. >=20 > >> +#define LED_FUNCTION_DISK "disk" > >=20 > > We have disk, hd, hdd and sata. Deprecate some? >=20 > Disk should be the best choice, especially given that we have > identically named trigger. Ok. > >> +#define LED_FUNCTION_HD "hd" > >> +#define LED_FUNCTION_HDD "hdd" > >> +#define LED_FUNCTION_HDDERR "hdderr" > >=20 > > Ok, I'll=20 >=20 > Hmm? I was going to say that I'll bring it up in different email. I believe we should have disk:green:activity and disk:red:error, not "green:hdd" and "red:hdderr". > >> +#define LED_FUNCTION_HEALTH "health" > >> +#define LED_FUNCTION_HEARTBEAT "heartbeat" > >=20 > > Sounds same as alive, deprecate alive? >=20 > Heartbeat may be designated specifically for registration > for events from the trigger with the same name. Ok. What is "alive" then? > >> +#define LED_FUNCTION_WIFI "wifi" > >> +#define LED_FUNCTION_WIRELESS "wireless" > >> +#define LED_FUNCTION_WLAN "wlan" > >=20 > > Same as wifi and wireless, I guess, deprecate some? >=20 > I'd remove "wireless" and "wlan". Actually I'd keep wlan, but... :-). We may want to do add some comments there, and sort it "most common/recommended first" or something. Best regards (and thanks for doing the work), Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --wzJLGUyc3ArbnUjN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlvojycACgkQMOfwapXb+vI7SACfW93uH8rBuPN5hycAP36oG2sk Iw0An1ppzjzwqhiG2q/mlkJqKjLroxAG =6Be5 -----END PGP SIGNATURE----- --wzJLGUyc3ArbnUjN--