Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3531386pxf; Mon, 15 Mar 2021 11:38:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw34dP8mYy9mtNNy2p5dwTFQYpb6eHJg7GMg0BS6TysS7qE6T1vMYrpY0HSlLopAftJwfKY X-Received: by 2002:a05:6402:30b9:: with SMTP id df25mr32131385edb.136.1615833485970; Mon, 15 Mar 2021 11:38:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615833485; cv=none; d=google.com; s=arc-20160816; b=hMnWNTOjEUMofv06SFlfHTR9UdlSWZGftVWvUEY+D8IB66Z3hBQnxKnnvWqMY1pVhi YmE/XetxY6MaTS/Hqtr58lswxeWP2WK+IHmZOIiJyNdmrtXDpsr/a15JXX4i8BKk+Xia McTxZ4cljP+qT58jYm/VRnTFgt4HvcOJkJ73JKCClgT3HxCFEmURzHTvYC5y5AJF0iI7 tx2EacIPIMNl9evKXrxpKgjGSOqggKeiABZ6px/XX+TbrROR5KzE7kBquAOvrcoICLXG TAHooqXgFdlPk1WypQhwjOIqoE5L2irlhYEyaVDtY9mrhCwWLWeRhKYOOW3bWS5U+SWk EJDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=V5/ZcuDUx8G1IJAmlwXvnFdKM/ySbPdmuYUqUY0bAT8=; b=EOa9qT4ozUXABR1NI1vG6Lokaow6sLF/N4CjiqzVdiYWR9RMMC8jlWV4F1B9uo33cC vW1P+4x6wpcKJxrrKLjqW95nD7JKCFc0Ff4QQGRfnNkwlIGe5IEE+ltWVt7UkUgWB7a6 U8wdQkQ+DhquYduG4fkl8OyEAY5eRq2LEaJ1KWobOqW32XUUzRfbc2++sr1gRLGOTChf cGs7xH9Yi46/mh74nKaueViQU4XpZBAuZAoBjEPVJ3sS3MPrEaD3Jeprgi1wB4DKkAKo wr/rPP7BoIxgCB2vlnBqX0fVkmXYnkUP7kItvKyFvt3+eijWmnW00vMjHGovafWgsxpK lGbA== 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 r12si12483382ejz.5.2021.03.15.11.37.43; Mon, 15 Mar 2021 11:38:05 -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 S233454AbhCOQi7 convert rfc822-to-8bit (ORCPT + 99 others); Mon, 15 Mar 2021 12:38:59 -0400 Received: from mail-vs1-f49.google.com ([209.85.217.49]:34293 "EHLO mail-vs1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232829AbhCOQit (ORCPT ); Mon, 15 Mar 2021 12:38:49 -0400 Received: by mail-vs1-f49.google.com with SMTP id m18so16693947vsa.1; Mon, 15 Mar 2021 09:38:49 -0700 (PDT) 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:content-transfer-encoding; bh=6+LwVnTq5aoTVvp7lLwT2APEy4pRL3wg/ASDpHleT/s=; b=Nx2je6utkvXK8HH/6j21CxE7Xhw2tGgAmuSnvei/GunDizwHc8Wy9hrMknDdWYfhUy T8yMcWie1ILfC4Z7r+gvZ0YWerQImKpuQBlEItlr0O5z7zMCZPharIie8RsoMPPXrvrs Yhc8RzA3OaWMk7i1K+9+Xym92NMjrm/cA/XwDCziMUWg5+LSurlPqXzhiMW5xp+CqEH4 Rx+dcn5s9sWb0xzE2jexn7Sxi5SdNJ2fIn0fTMpr/wuydtwuD9H8UZ3slP8Re47eDfNj Eo5iKraP2+gaBojk0gTQTzu+jIfkzPoHc7hMFcQKQoFwwbB67j8KKGJm1wTezHMCkkHY LsgQ== X-Gm-Message-State: AOAM532ttMiG0OzKSaYPwfD6O7Z/XpVd1/OWQU6aMVcOjf7dF15qUruu 6tjNSFv2gbyBIghJlyDpCIxtlcmAR8xoLmH4gGE= X-Received: by 2002:a67:ef0e:: with SMTP id j14mr13895505vsr.40.1615826329149; Mon, 15 Mar 2021 09:38:49 -0700 (PDT) MIME-Version: 1.0 References: <20210313032515.12590-1-cnsztl@gmail.com> <20210313032515.12590-2-cnsztl@gmail.com> <1f7f1a11-0b9b-b2e4-efbc-193f61d62832@arm.com> <67b314e7-92b9-8025-1a41-9b7da6ff2249@arm.com> In-Reply-To: <67b314e7-92b9-8025-1a41-9b7da6ff2249@arm.com> From: Geert Uytterhoeven Date: Mon, 15 Mar 2021 17:38:37 +0100 Message-ID: Subject: Re: [PATCH v3 2/2] rockchip: rk3399: Add support for FriendlyARM NanoPi R4S To: Robin Murphy Cc: CN_SZTL , Rob Herring , Heiko Stuebner , Jagan Teki , Chen-Yu Tsai , Geert Uytterhoeven , David Bauer , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ;-) > lan since that's both in order of GPIO number and how they are > physically positioned relative to each other on the board/case (although > you could also argue for wan, lan, sys in that regard, depending on how > you look at it). 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