Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1584109pxb; Thu, 4 Mar 2021 15:29:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZR4VgIKD806xVHt6FZX0v+6KLnFOQoHDbZgmi1b88dqbprBRI8tN1jTcwmhS/EuTpxC5O X-Received: by 2002:a02:9382:: with SMTP id z2mr6796946jah.120.1614900563424; Thu, 04 Mar 2021 15:29:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614900563; cv=none; d=google.com; s=arc-20160816; b=qDrU6uNq0UmuRkYUr6bnUiuGuebHBNoT3axEfQW712kUmcDO5W1a+ZZ0dsarmXTj87 LomTX+HN+Pw3n/S0AcUyA2rSgTxHHbdWar46WEOKT8RqUr4x7vdckWALyKuo0qZlt2lf yQladAmkvh5G3tDxXWKv/UMc+uldYCmAIEuSvLtRuhXh7v+xFhs/4K/ek7M7SZsE/PyZ LMJabHs0FAtRp0wyr+EB/A/jbpDQW4c9UdUMqmqodBl3ZVo6lmpOhxPm72gjLXZ+mBf7 iJR7CbBJBQnghjgWqcJW71NkusUiduBq0wGjhM3bZ1XzM7WMpAu3GyvFQ2uFRuBYXiYK k0Lw== 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=8AJ+juKqmAM40WHS7Pk7Rw9xMjnqgAlNnroi+TJh0mw=; b=NBgE95G7KygpHdrLVQAiPWurjrE9mtU9C4UsKaXp9Tn0GEE7inT0affuMP/T8g94SZ 0H3fIXJJyR0iyZ3mo7bRMlHo6sJaI04QJm6F4Pt+6FT5EKg+uwUOgt0htUhNbNPqTxfA yyhcKgHbyeE8JQ8vd7t2gOWJbZo2ZE590U//V2RSePhABlTnLUXmjZd7Kbz89qcQbWlz UUROOkxjcKibdYuOE8DfU5c9Ku49ih2BBUEyqIazQYuu6Geky7WVddwm1zDF1F5Hp+Tw Oeb9k083WWYX7eJFupdydV7d5nmx2NZD4SeOoFEYAZP34maRDZ1eO7zVBBFp+q4dl9i8 rPjA== 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 w18si633210iod.102.2021.03.04.15.29.09; Thu, 04 Mar 2021 15:29:23 -0800 (PST) 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 S231184AbhCCX7k (ORCPT + 99 others); Wed, 3 Mar 2021 18:59:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233368AbhCCTgH (ORCPT ); Wed, 3 Mar 2021 14:36:07 -0500 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [IPv6:2a00:da80:fff0:2::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D41FC061760; Wed, 3 Mar 2021 11:35:26 -0800 (PST) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 1509A1C0B88; Wed, 3 Mar 2021 20:31:35 +0100 (CET) Date: Wed, 3 Mar 2021 20:31:34 +0100 From: Pavel Machek To: Henning Schild Cc: linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-watchdog@vger.kernel.org, Srikanth Krishnakar , Jan Kiszka , Gerd Haeussler , Guenter Roeck , Wim Van Sebroeck , Mark Gross , Hans de Goede Subject: Re: [PATCH 2/4] leds: simatic-ipc-leds: add new driver for Siemens Industial PCs Message-ID: <20210303193134.GB8720@amd> References: <20210302163309.25528-1-henning.schild@siemens.com> <20210302163309.25528-3-henning.schild@siemens.com> <20210302205452.GA32573@duo.ucw.cz> <20210303141052.30641e6b@md1za8fc.ad001.siemens.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uQr8t48UFsdbeI+V" Content-Disposition: inline In-Reply-To: <20210303141052.30641e6b@md1za8fc.ad001.siemens.net> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --uQr8t48UFsdbeI+V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > +static struct simatic_ipc_led simatic_ipc_leds_io[] =3D { > > > + {1 << 15, "simatic-ipc:green:run-stop"}, > > > + {1 << 7, "simatic-ipc:yellow:run-stop"}, > > > + {1 << 14, "simatic-ipc:red:error"}, > > > + {1 << 6, "simatic-ipc:yellow:error"}, > > > + {1 << 13, "simatic-ipc:red:maint"}, > > > + {1 << 5, "simatic-ipc:yellow:maint"}, > > > + {0, ""}, > > > +}; =20 > >=20 > > Please use names consistent with other systems, this is user > > visible. If you have two-color power led, it should be > > :green:power... See include/dt-bindings/leds/common.h . >=20 > Well we wanted to pick names that are printed on the devices and would > like to stick to those. Has been a discussion ... > Can we have symlinks to have multiple names per LED? No symlinks. We plan to have command line tool to manipulate LEDs, aliases might be possible there. > How strong would you feel about us using our names? Strongly. :-) Do you have a picture how the leds look like? Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --uQr8t48UFsdbeI+V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmA/5BYACgkQMOfwapXb+vIK9wCfQwnYrmkVRInVpriJCbZaZoMW uVcAn0kh4wxyuJCBuz8Fi4tylz+NNX38 =INzV -----END PGP SIGNATURE----- --uQr8t48UFsdbeI+V--