From patchwork Tue Oct 9 14:05:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 148496 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4947668lji; Tue, 9 Oct 2018 07:06:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV60emeTZrdcQtjyE8mVPYalOC0OTdoSpo3HjtJRaCbpH9TbP2glHHUqO2xewt0Tz7AWhgwC0 X-Received: by 2002:a17:902:bb96:: with SMTP id m22-v6mr28772683pls.117.1539093962426; Tue, 09 Oct 2018 07:06:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539093962; cv=none; d=google.com; s=arc-20160816; b=pp2HHjhNxxehRXDICD3W0aBLKiXWOS70Hi9RCyfyKsqBxJb4lHV2pLVrL6EWAZfBI+ 3EM+mFPG3c55QtguciSpQKtT5yQ1pitOdLi7l2MwWBS35EEXXDhEnR+yyvakFOh5qt74 zZ3UpMFFfGrM4CzgMuZo9bQfF7ubVAcR/tdvWgU/JXsK0azOvpRBySNorCgIXYS/e+Iq zDmZYArZPE1SCr8Cwuo0jQ/GP7vaVx+vlMpgMa7Ct4iRs8gWUiQeTdi+ZdCLfwHOSR4+ TWWnkbGQ/dUGhdwVqhRX/sd8D6WnPAOMrN2084sQlPrNOazGIq+TdZ5UBTFy2IuaoGo1 SeCQ== 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=dqiYckb7Q3F8kaPDDVtcaj9+/KOyQnhiQ9kyaN/rDMk=; b=lF9THFh85qtD+4JnkSL/Kyd1OsOywt3KrJpwjgjZK3kObFt2xHFx9BoxYHK5xQVBRC iasGONTt/x3w36GI7VgMF01bSF1A1ukl9ePjRkhIK8oZi7cMl7XoX4AyNJn3Gzl19/Fm GlaZDIESc0qvFRBWZajya9srEWpFWX7fwWJ42p4vMSP0ph1R6NGW6Xn8LXVjKzzWNY1F EFIrfuEOI7kHS4c57vQEXBzBntQEkbpnefeWDsRteMeTAwQKBPVm1s3l5SmPBJPWDPnE zntLfKoXcP0ENxIyQEmi+pXg4PX58UfpjOxbOu4fl62v834CIhJbTmqeiSGgKel4q0zM JYaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cIj4DW1S; 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 185-v6si18569034pge.516.2018.10.09.07.06.02; Tue, 09 Oct 2018 07:06:02 -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=cIj4DW1S; 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 S1727028AbeJIVXI (ORCPT + 6 others); Tue, 9 Oct 2018 17:23:08 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:34024 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726579AbeJIVXH (ORCPT ); Tue, 9 Oct 2018 17:23:07 -0400 Received: by mail-pg1-f193.google.com with SMTP id g12-v6so875911pgs.1 for ; Tue, 09 Oct 2018 07:06:00 -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=dqiYckb7Q3F8kaPDDVtcaj9+/KOyQnhiQ9kyaN/rDMk=; b=cIj4DW1SfQaNlFJdhnGgnF4jb/XGXIwnEgEEcFf1Tp7iWKUMxnWNdiMDh1qM6uybzM PqwWmbQyWCCz5HsqZd4uxFqDxNhvoJUgTesCNu6bgQ1c/r9Wpn9zeRAns+7MwEGjrVOe WBIb3z5JExOkgna6KkUfKqnmnLX8Y2mol9hvE= 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=dqiYckb7Q3F8kaPDDVtcaj9+/KOyQnhiQ9kyaN/rDMk=; b=uVC4e1XyvfUeeia+GDR4fC8ltsNAfAIubGHGxJjXOhiKQqm4PdMzcti2RapsMbY66v aiBb9in2ZsQrejN00uL7lSsAOHH2nGKwH/pKnwA84KVBJCSh1kDyR6iUGQGVj3IFBvYA QcVm07T2ttMmV/x799d8kXr2e2YtvzDhfUnMpqA4/1S3RggYm9Y5TYT+hUKjaYyHYMbJ hb4i+zWZNf9Hlxx8hIcgMpz3JbvjgnRG7lhY3v4CvpdG1wdPZakApten10rgwcPLdBYX n0UDJE5D3RrxriioTXqZdVDjeQtSctzS5VWB2uhI91Kgkqmt5aPGt6Z01WHAgu40DDBD xeNg== X-Gm-Message-State: ABuFfojrORY4rXmSuiBPn43zCM2ajcfIij2BIyTGVCnlxxrrBuMeO+rU 8Y5CDZeRPIgWHumrokAfFbJ7 X-Received: by 2002:a63:cc51:: with SMTP id q17-v6mr25509145pgi.291.1539093960346; Tue, 09 Oct 2018 07:06:00 -0700 (PDT) Received: from localhost.localdomain ([103.59.133.81]) by smtp.googlemail.com with ESMTPSA id e64-v6sm28947722pfe.55.2018.10.09.07.05.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 07:05:59 -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 3/6] arm64: dts: hisilicon: hikey: Standardize LED labels and triggers Date: Tue, 9 Oct 2018 19:35:19 +0530 Message-Id: <20181009140522.6492-4-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 HiKey, which is one of the 96Boards CE platform. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index f4964bee6a1a..3dd9543da0b6 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -340,42 +340,43 @@ leds { compatible = "gpio-leds"; + user_led4 { - label = "user_led4"; + label = "hi6220-hikey:green:user1"; gpios = <&gpio4 0 0>; /* <&gpio_user_led_1>; */ linux,default-trigger = "heartbeat"; }; user_led3 { - label = "user_led3"; + label = "hi6220-hikey:green:user2"; gpios = <&gpio4 1 0>; /* <&gpio_user_led_2>; */ linux,default-trigger = "mmc0"; }; user_led2 { - label = "user_led2"; + label = "hi6220-hikey:green:user3"; gpios = <&gpio4 2 0>; /* <&gpio_user_led_3>; */ linux,default-trigger = "mmc1"; }; user_led1 { - label = "user_led1"; + label = "hi6220-hikey:green:user4"; gpios = <&gpio4 3 0>; /* <&gpio_user_led_4>; */ panic-indicator; - linux,default-trigger = "cpu0"; + linux,default-trigger = "none"; }; wlan_active_led { - label = "wifi_active"; + label = "hi6220-hikey:yellow:wlan"; gpios = <&gpio3 5 0>; /* <&gpio_wlan_active_led>; */ linux,default-trigger = "phy0tx"; default-state = "off"; }; bt_active_led { - label = "bt_active"; + label = "hi6220-hikey:blue:bt"; gpios = <&gpio4 7 0>; /* <&gpio_bt_active_led>; */ - linux,default-trigger = "hci0rx"; + linux,default-trigger = "hci0-power"; default-state = "off"; }; }; 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"; From patchwork Tue Oct 9 14:05:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 148499 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4948002lji; Tue, 9 Oct 2018 07:06:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV619hrPSUVatiHN/iTIF+JPB3WRJ+toeWJbyGeApIYt1AhofYn8yL00xlyX72mu1OGQbKkrw X-Received: by 2002:a62:35c2:: with SMTP id c185-v6mr25848247pfa.69.1539093976468; Tue, 09 Oct 2018 07:06:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539093976; cv=none; d=google.com; s=arc-20160816; b=Xr3ZJAveB0lzw3qbBsrIt45d8Uro2wxAIJ3y+5WCbjFcMUXXCppZAyjGa77Y61VtR7 uucPtnngd4xrK+8ti5TuYnDbqIvI8v6F9Hu8HHlwhM/JnuHjXvGh298s2VqIeP3nDl90 1RAg9jLFlq9vnOxqXeWpez7mRoANw5Vc6R8exw1sJxQ99q6Ofk3QA9SPiba4iFIS1t/b VRYANPdd7PfAy7dRZvwOn+ZSdxxr+ga0TgzYU7MHDTiCSk2V9lU35A9UoCH0AVF70bsU 86IaW/KVBkMsZe3jWBIMHDGzboMWK58DyL4X4ujKfPSKapyMcw3CfuzYonVeL2GdFZMi u/TQ== 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=hChhdla9rTd0uwo6Xihafa/FlHoPiHoTl0N1PS2CtQE=; b=bAVPGyvT0tRaZFQamsZON0JbMBWW1/MkXyjA1FCzoy1/ly7l7d3EhebZ8thVFvZEl3 WfxGwgHO4P8eAmMp1eJ2NMBCZ3441twWL4XyyieOMd7ycAZV1YVAVktVWvk/IMjH5sOo MsIiVrf4wKOlH/9CXIMx+gkxuxALZGHVCcDoqSrI0bjssR3I4ZkVCv6LVwdZY4v/WSNQ AjeJjrfR00+uDwAZdi4umkPd9QKDlJeYnlcY21pfoETpKmr/qsg9DL7/z62fTT+LpoSK JuRCN0BskEFPjQ6oS6JWx7Mt4JwInDrlz+8Cek3mtx83Ib5BP75CBeigRxBP6hlvEq7F bf7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P9fYlfKW; 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 d38-v6si19592246pgb.30.2018.10.09.07.06.16; Tue, 09 Oct 2018 07:06:16 -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=P9fYlfKW; 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 S1726979AbeJIVXU (ORCPT + 6 others); Tue, 9 Oct 2018 17:23:20 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:39088 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727166AbeJIVXU (ORCPT ); Tue, 9 Oct 2018 17:23:20 -0400 Received: by mail-pg1-f196.google.com with SMTP id r9-v6so868643pgv.6 for ; Tue, 09 Oct 2018 07:06:12 -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=hChhdla9rTd0uwo6Xihafa/FlHoPiHoTl0N1PS2CtQE=; b=P9fYlfKW1jr/ywASq1XVvFTGvIGUZaPBqHtk0jZzHS/lrYNP1fhXkUBV22XPzVGZG3 rmuOU2KgdV8OdoBwKrqeyPANe/JX+371cK5tScZSXir6PPjqdWRs+YT99pglU3w2pNAv P41ReJ8m+GEtbRFAmEhk/SMIiFnqtCGfD6jUs= 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=hChhdla9rTd0uwo6Xihafa/FlHoPiHoTl0N1PS2CtQE=; b=kVXn8PvwT+g+GedmzsSsKu3rKQhI9Akl4+qK0goHd7DWUNQ/Z1j5LmUZHfJOAuZSXh YxPCVYshUSdKHYJ8DYPtHC/M2AZXfm5t+UAjvqEzH1xIl9sG2d5eKQ3TJorBmP0bSeOj WKFmeosiDsKwfPySzIgon20kx5LlgXqzY9rzb3no0gaWjHUi5W7ksHzivj/tA3TBhgkr K6m/iUxwbNixK5NK9dh8tZjeeM2+BgAdsrms/9tdtgNibPrB2qsDbmSl/qesH34NxHBt 5NLXy0+RaVEqL1n5USjbncovXnSW22k7eDef7EAwca8zktBqCachGPI42bdaIvJactAY +waQ== X-Gm-Message-State: ABuFfojVj2sgUKbY7ziUFE7PGI0/+mZYQQqOL5Ze9wQNzTH7EHTzg+Xu B5b74aDSh0KfuyrV5KBPw7m3 X-Received: by 2002:a62:aa17:: with SMTP id e23-v6mr30276853pff.211.1539093972325; Tue, 09 Oct 2018 07:06:12 -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.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 07:06:11 -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 6/6] arm64: dts: xilinx: ultra96: Standardize LED labels and triggers Date: Tue, 9 Oct 2018 19:35:22 +0530 Message-Id: <20181009140522.6492-7-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 Ultra96, which is one of the 96Boards CE and AI platform. Since the WLAN and BT LEDs are hardwired onboard, consolidate only User LEDs. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts index eb5e8bddb610..565ceb390f99 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts @@ -57,29 +57,30 @@ leds { compatible = "gpio-leds"; ds2 { - label = "ds2"; + label = "zynqmp-zcu100-revC:green:user1"; gpios = <&gpio 20 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; ds3 { - label = "ds3"; + label = "zynqmp-zcu100-revC:green:user2"; gpios = <&gpio 19 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "phy0tx"; /* WLAN tx */ + linux,default-trigger = "mmc0"; default-state = "off"; }; ds4 { - label = "ds4"; + label = "zynqmp-zcu100-revC:green:user3"; gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "phy0rx"; /* WLAN rx */ + linux,default-trigger = "mmc1"; default-state = "off"; }; ds5 { - label = "ds5"; + label = "zynqmp-zcu100-revC:green:user4"; gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "bluetooth-power"; + linux,default-trigger = "none"; + panic-indicator; }; vbus_det { /* U5 USB5744 VBUS detection via MIO25 */