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: 10632823 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7D9BA174A for ; Tue, 9 Oct 2018 14:31:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 682A328E4E for ; Tue, 9 Oct 2018 14:31:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A5A728E64; Tue, 9 Oct 2018 14:31:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D922A28E4E for ; Tue, 9 Oct 2018 14:31:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=L7voOinb3K9OvtKYVCPt3ANqQKeyoMPcO5xEzGYSRbo=; b=S22hm1jGayHroW2vPHfoEcg+FF LtYeTe0BH2bkV7Io5h1RoujT3EosdBnXgENVUw3Ycmpbf2gVLBF23bjx1KHGnWDMsExczlwULHOUF 60Zea/Q5sNuiHz8euotQ5XkV/BhYuydY8jTh/+xK/eb7pE6F6iErBaYD0F+7YGdBlaiciEx8uoveJ E2zC4uO8976G9gI6z04Wa0ZC3JhOknLVMao5RFbiiKArZxtsoqID79BaKFk7igngeUmjA/NR68Hax r7nwiQNxkmBI0uvST43reE4w4AAmH0kGiphRrQd/dRG1QOc3J7rTVlzQEaF0m7EHiiUBhwR41+6Nb M5jKVOTQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9t2U-0000kp-Fv; Tue, 09 Oct 2018 14:31:10 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9ss5-0003CX-BY for linux-rockchip@bombadil.infradead.org; Tue, 09 Oct 2018 14:20:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ramjEGzY4YO96nqd2/8xdohTx62cvWs5MAFFc07+hXE=; b=KpjhywohWKtJGKzNP0cy2xOB5 GjFppNoTMpxvFZSLBBakeEam3S529xofKDpePykjb8XglOZoUm23KDVFAoXMgSKfQTrko/xcejaZM IV+ezeVH6QhAtJjX7SKbDfKGGHJnEuaGKLuERrh/uMi8M8dUa+/B6o9qwfT35UotuNTX/coSesiPY YodbcFgVRILyXFdO/XFnunYWijX0HRwOAxfu5J1OaBevdDMJdFvItPNYmyBGSmmFTU/Yu43KfZLNO 6nnq3BESDwHZu48SDyZZ86brNBUy9Icyy4sGMLQ2+j2pPqtigBWlsME+M1hYpiyhfnA8KFBpve9/6 8TCCj5X/g==; Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9seO-0001Nn-1w for linux-rockchip@lists.infradead.org; Tue, 09 Oct 2018 14:06:19 +0000 Received: by mail-pg1-x541.google.com with SMTP id c10-v6so873450pgq.4 for ; Tue, 09 Oct 2018 07:06:05 -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=Y4GZNOTJ8uhJB8L79bN3e9s8cI1P2B1EbdOSSvfcOBHauTM5lH+vdclfJSCctULYLH z35Wo0OQikUr9CWR1wbdD8T8cryz8TYdRlZcMg8vo+s6SVxval++ANV6t5hcXNPdSdnK xI7iqgC7mE7IKL/FnA+jziFgR75zWY3SeEw8v3ifViIfKDGg2YsVjyudqeu82l9LiTyL 89VOddNGgeHIBOSWlLOz2Z4H0d0az5SPfflAra/VU2bfi4HunIdNJlFXpQ+BEVJQuVB2 HHWlDiOu0xFvqUzN5VxSjC6Y0Eb9QXIx++WDfLxIWos9VNm4wn/x5MBlHIDNi4mAo2yc 4euQ== X-Gm-Message-State: ABuFfoi9yFDpTKhr8+8EgP+cUmRu7ZVTslBhbDeQ/3fX4LayhoMVTqqm n4XGxBQJDct665cBswfCVdPQ X-Google-Smtp-Source: ACcGV60TGLESIeG2G19goPR7a0QeB+Oam6R+kYUq7sm17wCFmRAXmhTyA9GNYcq9BTeqg6vC00g+cA== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181009_150616_114309_F99280EE X-CRM114-Status: GOOD ( 12.55 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, daniel.thompson@linaro.org, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, linux-rockchip@lists.infradead.org, koen.kooi@linaro.org, Manivannan Sadhasivam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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";