Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4466168pxf; Tue, 16 Mar 2021 14:23:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpc21KXmUyA7QHrnJApiVWvvUtaXBLlGdz7lNL1kMJspVmq9wcWuUEue5xXqPS0BeQB/iM X-Received: by 2002:a17:907:3da3:: with SMTP id he35mr31399867ejc.148.1615929792399; Tue, 16 Mar 2021 14:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615929792; cv=none; d=google.com; s=arc-20160816; b=Jkko+01TaycTCTrbm21Fxy7FHnuE1bPkPDf06GAQDqzLqQvlwOr9uS28Q2niKupgMR GaCGQhobFfRWRAeOngcm3025aJyToS3LOqCqnSYRDzw4DuhZ3ntsfJ0QvRK6Fem9Ng7c kLRQ9rNS6lyxmCtzpG25cL783O+buOcaf7HRSoyXV5mzol+aL0NuBHIdTXX6lM+2Ct8R lV9PdV/nam2eWk+lgF5ZlSbd7RrLTG3z9BVTT5kx4ivq4Aycuj6fa83kIkvGa0CYGjkh qCzWLE+x7Tpb4N2JP+LznqUKjTTwKTR+d6QIxr4aGtxfUjVy2rvmT4C+CheMnuxYsJXH xxJQ== 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=PX+QJGdGvotJKhAnLu4RbIxzVcSg84tkPwkCKTWyVi4=; b=tLJotf0HEsOMZRUhOeBVfNX7w08LZ0e3PteeHkUjBZtuF7ZaXlKim5QOg56fszAsR9 2HT9nw4zsJgnrcNnLpHUZa5EdfoOtaM2FltabP1Z2mqIAiaqTdB9lyQIS65TnbFY89lM LiQZgleDYrV/BJhZJHivtxpoWkE98IGDoJnbF7wNtTL6MBWLvAppYuGsX4eWktzr6oc+ JK7OHtt3AAUUpCQIq3jFKTsmTZT+3tv0ynkAgPqBKUoIhtrPBYNBaTrVUjN0PGsSNjAt w3O7uoo72F9PHKySa8iaBMdD+vJxJVzn7NfUnr+vweQykEO0XONGwX8ul3eZbjZs3YOd n9Rg== 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 qu2si14577964ejb.373.2021.03.16.14.22.50; Tue, 16 Mar 2021 14:23:12 -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 S240504AbhCPTjI (ORCPT + 99 others); Tue, 16 Mar 2021 15:39:08 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:32864 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234578AbhCPTim (ORCPT ); Tue, 16 Mar 2021 15:38:42 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id C00841C0B93; Tue, 16 Mar 2021 20:38:39 +0100 (CET) Date: Tue, 16 Mar 2021 20:38:39 +0100 From: Pavel Machek To: Geert Uytterhoeven Cc: Tianling Shen , Rob Herring , Heiko Stuebner , Jagan Teki , Chen-Yu Tsai , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Johan Jonker , David Bauer , Jensen Huang , Marty Jones , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , "open list:ARM/Rockchip SoC..." , Linux Kernel Mailing List , Jacek Anaszewski Subject: Re: [PATCH v3 2/2] rockchip: rk3399: Add support for FriendlyARM NanoPi R4S Message-ID: <20210316193839.GA28184@duo.ucw.cz> References: <20210316150033.15987-1-cnsztl@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2021-03-16 16:34:50, Geert Uytterhoeven wrote: > Hi Tianling, >=20 > CC Jacek, Pavel >=20 > On Tue, Mar 16, 2021 at 4:00 PM Tianling Shen wrote: > > On 2021-03-16 02:23 Geert Uytterhoeven wrote: > > > Personally, I'm not so fond of the -%u node names, and prefer > > > -. With the former, it's way too easy to have a silent > > > override in your .dts(i) stack. > > > Cfr. commit 45f5d5a9e34d3fe4 ("arm64: dts: renesas: r8a77995: draak: > > > Fix backlight regulator name") > > > > How about using `lan-led`, `sys-led` and `wan-led` here? >=20 > Documentation/devicetree/bindings/leds/leds-gpio.yaml says "led-%u" > is the preferred form, but that anything containing "led" as a substring > is accepted. So I'd go for "led-lan" etc. >=20 > BTW, you can validate your DTB against the leds-gpio DT bindings > by running: >=20 > make dtbs_check > DT_SCHEMA_FILES=3DDocumentation/devicetree/bindings/leds/leds-gpio.yaml >=20 > Background info for CCed parties: > https://lore.kernel.org/linux-arm-kernel/20210316150033.15987-1-cnsztl@gmai= l.com/ I don't care much either way, lan-0 is okay as is lan-led. but... + label =3D "nanopi-r4s:green:lan"; + label =3D "nanopi-r4s:red:sys"; + label =3D "nanopi-r4s:green:wan"; It would be good to have common labels, that means LED_FUNCTION_LAN, LED_FUNCTION_WAN, and figuring out something better than "sys", possibly LED_FUNCTION_FAULT? Thanks, Pavel --=20 http://www.livejournal.com/~pavelmachek --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYFEJPwAKCRAw5/Bqldv6 8oJXAKCPwj7rucsgGyf7XZK9sfEne3jGTQCgqNLsTvXmKfFgv9fd007fRTCH1mM= =HMgP -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs--