Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp641373imj; Wed, 13 Feb 2019 14:48:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IaEpR3QjiKZwX5GlmUR2LTKjMT3GxQ7XJYiZgPmVqhravxqgoead4SrXQ5I++B8F4OLn1Kt X-Received: by 2002:a63:134f:: with SMTP id 15mr536866pgt.19.1550098112981; Wed, 13 Feb 2019 14:48:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550098112; cv=none; d=google.com; s=arc-20160816; b=wCwM0Men5Bq61Mz0b0FIa4GH7yMMhdcM5lb3lKY8urS7KZZGeu9pmD0px+uJwocFAV oxnLtBoEnZ0x6ISFiv14z3rLSiaoWXu//fvpZyKTgQ776fo62y7Fo3Zz9bN2E+ypU67z JdbzviCYBvPIjLJYilT3evclodPbY8Qy7lutLDyM3XcVYu/4w72pjC04GnYviXsgD04T 0ArnDG+UUumI9I9TeKNbrds7dvwjV2yUMiILcPQb71JVs5PaR18mmzYbATnpoTwglPVi EDjiRFoEg6ujSrLF++nvzWgVModlKmVySIlI5A/XdCl8MNXD53OcoZ7hAYi7AvOW/ek6 HRPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=qs7Ew/N+A0NnG47MpOi2p2c5ImxUr1oJyBYvN76hlg8=; b=byAx/5ya28vQ49cpmMQ4/tm+uC5IvbItmOPDhYHlg+4F4vsOlhtSloJtZnELdO+mZx o51NMc9qcE0of5M9vxW3N61/eua0l/0csJ6xUiOuYrmTqoOJrn6XUTvwc231TjY4w6Bh aA4L9HjvixonKF+s2rnc5rdn7FVEV0ErGoaqrE0HA4K4Loa5IlfjiOxgXGbO0gNgSA2L mcoNVZkhWIsQU7/nkkO4Ymk4XAvnPz+Wc2cVE8WDYd5xWwC3avUar2xodUF4bPy8Bem4 BxknvdBMeatLaw0w6DfCAWBF5luQPh2Jj0A/6lQ+vPnjuqYf65ZL+MfMH2vnrVsjF4Gp bnUg== 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 v25si573904pfg.135.2019.02.13.14.48.16; Wed, 13 Feb 2019 14:48:32 -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 S2388499AbfBMRJ0 (ORCPT + 99 others); Wed, 13 Feb 2019 12:09:26 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:59476 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726174AbfBMRJZ (ORCPT ); Wed, 13 Feb 2019 12:09:25 -0500 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-04.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1gty2F-00048H-1j from Akash_Gajjar@mentor.com ; Wed, 13 Feb 2019 09:09:23 -0800 Received: from eyas.local (137.202.0.90) by SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 13 Feb 2019 17:09:16 +0000 From: Akash Gajjar To: CC: Rob Herring , Mark Rutland , Shohei Maruyama , Oskari Lemmela , Levin Du , Enric Balletbo i Serra , , , , Subject: [PATCH 3/4] arm64: dts: rockchip: rockpro64 dts rename LED labels and default trigger Date: Wed, 13 Feb 2019 22:36:39 +0530 Message-ID: <20190213170651.3210-4-Akash_Gajjar@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190213170651.3210-1-Akash_Gajjar@mentor.com> References: <20190213170651.3210-1-Akash_Gajjar@mentor.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- .../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>; }; }; -- 2.17.1