From patchwork Tue Oct 9 14:05:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 148497 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4947747lji; Tue, 9 Oct 2018 07:06:06 -0700 (PDT) X-Google-Smtp-Source: ACcGV61Yfts8W4PqTSmpQYgNisnqEq/sMikpBK/4hMTFGHSZbK50Z9nf1qV+h9gwlZ3jG1BSMTcC X-Received: by 2002:a62:7d8d:: with SMTP id y135-v6mr30091353pfc.245.1539093966205; Tue, 09 Oct 2018 07:06:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539093966; cv=none; d=google.com; s=arc-20160816; b=gqZWtI5izASpFWMuiaHkUOH4aHb8kEtQXhJJvaReSj4XAmF+PhUxHGby5ce3ZLYdbs DJbLVc9780rhuYmmN3yjr1UngsvfwhWjgWjK1mGqj8i8MV7ogrfVRwLtYJSIQCSqSA8B VFC+gl/vrQnSmVTsEBEAoU++sd+gB+XQQPs+af3HWkzvSis9jmrXNZ2DzwhSo0P+rtKk pjjXI7PEXzBs+t1nGLWTi6PIryANWnK0i3TUtiZHOTuT5mERuXe13BORVRq1mODgbHHt YDpjYOohdO8LWW8wxWpIZU5mQJ+s0cLMtTmxqPyKQpn/fKTfAf0hysU2GTwFMthDbZNH g70g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ramjEGzY4YO96nqd2/8xdohTx62cvWs5MAFFc07+hXE=; b=XuCyusnwBKLjT0liMUp5eS5sdER97VwBmskBentlkNcP2sW9FQTn6ycVeIIcizPhE+ IqVQUBOyJoFeTj+ADcN5cBqJJfuSXGtrjIBxW3WDp0+eMpsAB3RbP1/3u5WNf786/AbJ dIt8bGhyTABgcwdRLihxiFz0ic/Tg05wPo9ZrGSdlHN9iOwNPOqoR6zsGrj2QMZ51yTA K3tI8jQCW2Pwazlcvl1hjKu0x7OeySzocnNmP4KGlrKH3+6QtJOnB0fPvGxq97h25+Nl 5FGUwj5ddTSQHaWC2/7WEwomsAyg6mARTN3AtzX5B07QEXv3dbNG4lavwVOvyg9Dw2yS X+Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DTQ8iaak; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15-v6si17257837pld.374.2018.10.09.07.06.05; Tue, 09 Oct 2018 07:06:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DTQ8iaak; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727031AbeJIVXM (ORCPT + 6 others); Tue, 9 Oct 2018 17:23:12 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:34032 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726882AbeJIVXL (ORCPT ); Tue, 9 Oct 2018 17:23:11 -0400 Received: by mail-pg1-f194.google.com with SMTP id g12-v6so876026pgs.1 for ; Tue, 09 Oct 2018 07:06:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ramjEGzY4YO96nqd2/8xdohTx62cvWs5MAFFc07+hXE=; b=DTQ8iaakVTc77iQV8PrO6XrTZoRuyIRf0JxOtp+oj43zEivtEOJE7r4188RevoYNGz lrk2ywKFsq63WbpuDfB/0Klbna8kYlqH0k4m1x8O5v3RzT6Cp+aoJJwzizRdWd5hAeuh Ns/fF7AhoXunIG9qesHtm2pzIUFgDHosvIBI4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ramjEGzY4YO96nqd2/8xdohTx62cvWs5MAFFc07+hXE=; b=OPav/bC9FAmGas//Zfgmb5jbkwnpXcmOAxuxVVHoZZFiDA303Eogy26pyA4aJE2Waf P8nY0LH53ptFuIGeKSn7coZmxjFMWzK4qorpyJdO3L4QM+kcKn9ieS1wE+4m0rF67wcV bEh+czuMeXJKs06byebGAABjgxC6WlCqsTDOgyamfWZRbsbMy6jcsPATQk4tQOkt1+wU YzWrMR2dC22L5UbQyX/eSQDtO3AsdwSY5Y60ygqe7bikMfPhWkId+xzPGf3D88OtW21A jlW2D4eM2qC4SEhMyXxpec68yi5bJNkrb6wmyPj/bgZ9CAs9Kaq0JQcJAYrKU1RCPC6w Sdag== X-Gm-Message-State: ABuFfogloJD71C8QImKwd4l+pe/A5kFg5YrooE13wvCaCe5U43KnuhZ8 M0Ica43G6RJiyluoJlUIGPg1 X-Received: by 2002:a62:8a91:: with SMTP id o17-v6mr30582200pfk.184.1539093964274; Tue, 09 Oct 2018 07:06:04 -0700 (PDT) Received: from localhost.localdomain ([103.59.133.81]) by smtp.googlemail.com with ESMTPSA id e64-v6sm28947722pfe.55.2018.10.09.07.06.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 07:06:03 -0700 (PDT) From: Manivannan Sadhasivam To: robh+dt@kernel.org, heiko@sntech.de, ezequiel@collabora.com, xuwei5@hisilicon.com, michal.simek@xilinx.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linus.walleij@linaro.org, koen.kooi@linaro.org, Manivannan Sadhasivam Subject: [PATCH 4/6] arm64: dts: hisilicon: hikey960: Standardize LED labels and triggers Date: Tue, 9 Oct 2018 19:35:20 +0530 Message-Id: <20181009140522.6492-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181009140522.6492-1-manivannan.sadhasivam@linaro.org> References: <20181009140522.6492-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org For all 96Boards, the following standard is used for onboard LEDs. device-name:green:user1 default-trigger: heartbeat device-name:green:user2 default-trigger: mmc0/disk-activity (onboard-storage) device-name:green:user3 default-trigger: mmc1 (SD-card) device-name:green:user4 default-trigger: none, panic-indicator device-name:yellow:wlan default-trigger: phy0tx device-name:blue:bt default-trigger: hci0-power So lets adopt the same for HiKey960 which is one of the 96Boards CE platform. Since there is no trigger available for onboard-storage UFS now, user2 trigger is set to none. Signed-off-by: Manivannan Sadhasivam --- .../boot/dts/hisilicon/hi3660-hikey960.dts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index c98bcbc8dfba..35ce460b3ed4 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -85,36 +85,36 @@ compatible = "gpio-leds"; user_led1 { - label = "user_led1"; + label = "hi3660-hikey960:green:user1"; /* gpio_150_user_led1 */ gpios = <&gpio18 6 0>; linux,default-trigger = "heartbeat"; }; user_led2 { - label = "user_led2"; + label = "hi3660-hikey960:green:user2"; /* gpio_151_user_led2 */ gpios = <&gpio18 7 0>; - linux,default-trigger = "mmc0"; + linux,default-trigger = "none"; }; user_led3 { - label = "user_led3"; + label = "hi3660-hikey960:green:user3"; /* gpio_189_user_led3 */ gpios = <&gpio23 5 0>; - default-state = "off"; + linux,default-trigger = "mmc0"; }; user_led4 { - label = "user_led4"; + label = "hi3660-hikey960:green:user4"; /* gpio_190_user_led4 */ gpios = <&gpio23 6 0>; panic-indicator; - linux,default-trigger = "cpu0"; + linux,default-trigger = "none"; }; wlan_active_led { - label = "wifi_active"; + label = "hi3660-hikey960:yellow:wlan"; /* gpio_205_wifi_active */ gpios = <&gpio25 5 0>; linux,default-trigger = "phy0tx"; @@ -122,7 +122,7 @@ }; bt_active_led { - label = "bt_active"; + label = "hi3660-hikey960:blue:bt"; gpios = <&gpio25 7 0>; /* gpio_207_user_led1 */ linux,default-trigger = "hci0-power";