Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3531753pxf; Mon, 15 Mar 2021 11:38:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweYt4XRoSsMoe0/2zq+4AldN8lbuNafRpQBZvGpn2/RlL07xMwJwgyKOgCWvdorYEeayID X-Received: by 2002:a17:906:845b:: with SMTP id e27mr24911920ejy.487.1615833519179; Mon, 15 Mar 2021 11:38:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615833519; cv=none; d=google.com; s=arc-20160816; b=rApWdaWifSrYM7hRul3c5XBv1XzdtV/Kw0P1yvGqqOjdW6g7yJ1O0VxTy2mMIAXRsv nh/O5mXHnDim0SjkJ0WusQ69pmwMOjsSkJfXne8jbWRlPZ7NCkWnwcQMSThenjrAQPP3 6uV9v/R4m/DViwNNFsF9PTdA5b0wuiw1ze3VW5qx1gwxq8wosSHVYCLB+JwxayRrf8+R 7/8jyxJmlJ16TDaWf8nDZsvY650R7+IYQbdis7hJR3F20XEHMKEhCHv9+iHHKrNANcTA NXw8g213N/x2CCwVH2qyrtsqxeZX2Wq8VMM9zwTnsva9inuNWqniUXeCwZcfLv35I/Jq c57w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ATJb/CSwlyi4n83Ynhh0/SM0JGOvPjWuWY7xiz/A7LE=; b=U7kQ3IypJu3c6Jx/u39HAX+RP1Po8SP+FI07HtxI8JNhVRiv9zC7m/zDVXkra4U1Wt VWzOEVagfjaP530pkGgaK+jSn+deNaSSIxDFMntBTk/kp8an3RZL4CqWTriBndbYwpnk 61mrbyFsrZAaDjpaLORjsASZIOaS07HpaKk+OyiZjgy3IvRhV7VgO6iViCZBGjv5ZGzp 3qgfvVzvVUumIPsF5D/7FBdr/+EbBh6zI3OSZQL831lBoSx27kKGsWfnIrJX0SiFItDJ RtoGguUrqG0Aq5t+3qWgDT5SxY0lSXYC1GeYSFZujhjZFBiC7kvdTuFNwkdGiiROungT /vQQ== 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 x21si12233209ejb.180.2021.03.15.11.38.16; Mon, 15 Mar 2021 11:38:39 -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 S233268AbhCOQxX convert rfc822-to-8bit (ORCPT + 99 others); Mon, 15 Mar 2021 12:53:23 -0400 Received: from gloria.sntech.de ([185.11.138.130]:35506 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233468AbhCOQxG (ORCPT ); Mon, 15 Mar 2021 12:53:06 -0400 Received: from ip5f5aa64a.dynamic.kabel-deutschland.de ([95.90.166.74] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLqSI-0001JB-1E; Mon, 15 Mar 2021 17:52:34 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Robin Murphy , Geert Uytterhoeven Cc: CN_SZTL , Rob Herring , Jagan Teki , Chen-Yu Tsai , Geert Uytterhoeven , David Bauer , Uwe =?ISO-8859-1?Q?Kleine=2DK=F6nig?= , Johan Jonker , Michael Trimarchi , Marty Jones , Jensen Huang , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , "open list:ARM/Rockchip SoC..." , Linux Kernel Mailing List , kernel test robot Subject: Re: [PATCH v3 2/2] rockchip: rk3399: Add support for FriendlyARM NanoPi R4S Date: Mon, 15 Mar 2021 17:52:32 +0100 Message-ID: <17376355.sWSEgdgrri@diego> In-Reply-To: References: <20210313032515.12590-1-cnsztl@gmail.com> <67b314e7-92b9-8025-1a41-9b7da6ff2249@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, 15. März 2021, 17:38:37 CET schrieb Geert Uytterhoeven: > Hi Robin, > > On Mon, Mar 15, 2021 at 5:32 PM Robin Murphy wrote: > > On 2021-03-13 13:22, CN_SZTL wrote: > > > Robin Murphy 于2021年3月13日周六 下午7:55写道: > > >> > > >> On 2021-03-13 03:25, Tianling Shen wrote: > > >>> + gpio-leds { > > >>> + compatible = "gpio-leds"; > > >>> + pinctrl-0 = <&lan_led_pin>, <&sys_led_pin>, <&wan_led_pin>; > > >>> + pinctrl-names = "default"; > > >>> + > > >>> + lan_led: led-0 { > > >>> + gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_HIGH>; > > >>> + label = "nanopi-r4s:green:lan"; > > >>> + }; > > >>> + > > >>> + sys_led: led-1 { > > >>> + gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>; > > >>> + label = "nanopi-r4s:red:sys"; > > >>> + default-state = "on"; > > >>> + }; > > >>> + > > >>> + wan_led: led-2 { > > >>> + gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>; > > >>> + label = "nanopi-r4s:green:wan"; > > >>> + }; > > > > Nit: (apologies for overlooking it before) there isn't an obvious > > definitive order for the LEDs, but the order here is certainly not > > consistent with anything. The most logical would probably be sys, wan, > > Looks like alphabetical sort order to me ;-) yep ... led-0, led-1, led-2 looks pretty sorted ;-) Generally I'd prefer sorting by node-names ... especially as the phandle is sort of optional for most things - and they sometimes come and go in dt-files. Heiko