Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp842768imj; Fri, 15 Feb 2019 07:42:53 -0800 (PST) X-Google-Smtp-Source: AHgI3IbLdfsNeRQIhNB9S0KUEE5ppPPYaCJCkDC8CN/ZfiaSDD63ZYeEtgdi+70KGrqy/fKfQ1L3 X-Received: by 2002:a17:902:a50e:: with SMTP id s14mr10921869plq.311.1550245373827; Fri, 15 Feb 2019 07:42:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550245373; cv=none; d=google.com; s=arc-20160816; b=zc9an8yd04uuuksqDZLs/u9K6zFWwpwVH9e1DTZqyBPQD8xSFGO3x+OLNXBWte5xn0 ajy45heEd4TNbnWPNYRXMF4q1Li7qaXk1Jysh0P9h4bQ4vPvzlTjpPbJ2G3d4cmoRQ3Q coaj1etq4pgyHIaXbS/uIPyGBmF4ULl9l0RO1YmrTZ29XVvD4GecPEOyuDPqt884lvYR utzlNML44a7nKAewtFI+5N8GGCEx7vZazXDZoWalUWuteXDd+YQsJZvbMXPEas8gODLt ksjIaRJzkpiDyD7GjKFjRMNpxNHDqO4jFmwylpRUeVFsxR4mM7tOABfzJbHgfGyt65MH oIzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=T+f1OC5yQyxPjI0r1LF6aiCnldXEixyt6VzmVKr6LhI=; b=cJzXEYdloRL2DEwgetJSkc4Gp5fNdRCzwh2iVnj2CR8o96wXBK+svacEx9x4n+izpJ p6iP0wShXzyCS2vtM/2l4EixJkq87NsNKhs7wur5bkwxp/+1+6SbCBaR1ce8yhJlp+Zw c9qOzcGEE1Lf/8fe+v8k78mFZx5nz+QNjXWvWxOb5o7iu7TzZr4BWUTVfYktEOQbI0Gj RWW8BFFLU5+E6sDtZN7ucNT44DZEW+9zlzI7zP1TiacMKb4oM9zKJ61FpqhV3sojP9nG H+FYR6doNWKdYBH8Vb47k7OaBIGYDbK3ewHOJCWE7lvYG3fdnZHt+/7gT0R3j4qqKkEX U3kw== 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 n59si1213013plb.388.2019.02.15.07.42.37; Fri, 15 Feb 2019 07:42:53 -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 S2391814AbfBOJWW (ORCPT + 99 others); Fri, 15 Feb 2019 04:22:22 -0500 Received: from gloria.sntech.de ([185.11.138.130]:60142 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390871AbfBOJWV (ORCPT ); Fri, 15 Feb 2019 04:22:21 -0500 Received: from ip5f5a6320.dynamic.kabel-deutschland.de ([95.90.99.32] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1guZgx-0000DU-91; Fri, 15 Feb 2019 10:21:55 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Akash Gajjar Cc: Rob Herring , Mark Rutland , Shohei Maruyama , Oskari Lemmela , Levin Du , Enric Balletbo i Serra , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] arm64: dts: rockchip: rockpro64 dts rename LED labels and default trigger Date: Fri, 15 Feb 2019 10:21:54 +0100 Message-ID: <2294853.gTMg7XEmWK@diego> In-Reply-To: <20190213170651.3210-4-Akash_Gajjar@mentor.com> References: <20190213170651.3210-1-Akash_Gajjar@mentor.com> <20190213170651.3210-4-Akash_Gajjar@mentor.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, 13. Februar 2019, 18:06:39 CET schrieb Akash Gajjar: > rename white and red LEDs with status and heartbeat respectively. > replace red LED default state off with default-trigger heartbeat. > > Signed-off-by: Akash Gajjar Hmm, in the schematics the leds are named work + diy as in the current devicetree, so I'd like to keep node names + pinctrl matching schematics please. And changing the functionality of the LEDs would require a bit more rationale in the commit message on why that is something we want. Heiko > --- > .../arm64/boot/dts/rockchip/rk3399-rockpro64.dts | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts > b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts index > c9a2b26d7cad..dab53d2eb676 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts > +++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts > @@ -43,17 +43,17 @@ > leds { > compatible = "gpio-leds"; > pinctrl-names = "default"; > - pinctrl-0 = <&work_led_gpio>, <&diy_led_gpio>; > + pinctrl-0 = <&status_led_gpio>, <&heartbeat_led_gpio>; > > - work-led { > - label = "work"; > + status-led { > + label = "rockpro64:white:status"; > default-state = "on"; > gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>; > }; > > - diy-led { > - label = "diy"; > - default-state = "off"; > + heartbeat-led { > + label = "rockpor64:red:heartbeat"; > + linux,default-trigger = "heartbeat"; > gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>; > }; > }; > @@ -502,11 +502,11 @@ > }; > > leds { > - work_led_gpio: work_led-gpio { > + status_led_gpio: status-led-gpio { > rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; > }; > > - diy_led_gpio: diy_led-gpio { > + heartbeat_led_gpio: heartbeat-led-gpio { > rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; > }; > };