From patchwork Mon Oct 29 09:42:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10659049 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 1277714E2 for ; Mon, 29 Oct 2018 10:03:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A651B28877 for ; Mon, 29 Oct 2018 10:03:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9930128895; Mon, 29 Oct 2018 10:03:44 +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=unavailable 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 510B028877 for ; Mon, 29 Oct 2018 10:03:44 +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=V5yvvzUymK/MW2ykvWpfyJv80yDHpKDWK0QoV0a4NVQ=; b=FCNJ3n/92r7pYqpaAyeYibS0zO uKwrkH/FPbFbMPKPQ6+Ox7tFyeZmAykEvvj/84XNzgTVsvMhp0+KjXrnAULYZfUhuVkmWVqMC+LDZ bW2Fu3W9DZmFf8KwLRqGtjvhlNiq5SowuhgzVBP1Ad6Re2QK1Zv1TcmyBDTqrf6OYoIcHlLZm1LVg 6xjV831ysplZw4lRAzmFrC+WFFoIxzNJ6JfYg+Bm7Wc50l+tIL4o18qwfADHfd9BFor7tv7+TkGqO JGxUTqc6y91EnPyUgtiYGTI6GKFcuXmxOXUHAnDzsNAUyWT/a+YJfWv5cQ6HKkUTu/u2QL5Rx5AQm tXK0ixmA==; 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 1gH4Oa-0001U8-3x; Mon, 29 Oct 2018 10:03:40 +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 1gH4OX-0001Ed-CF for linux-rockchip@bombadil.infradead.org; Mon, 29 Oct 2018 10:03:37 +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=qiPc7+pFvXoljKcM3oPGvfYWKPi0YXvGMfaOhIYBWYY=; b=DMALdM86vduo/bBVIVY4W0WGo ndUiR69XbTRIqCneKwginLq0/Y6L1H85EXouq9jvpggGXeJ7+NKVJ5Gn88twfdvAzjYzmnIliIG0Y xsnXeiY2Vw1K/otrXo2wxia5uIIHyk6efjvS/pKgXTHt+5gueG4dlHcL1AKtxXedUXtjgMNZkYhDh g7cLx6qZX1VgD/OTsoHTIRuiVlcGkRDwufy9NLHyJ6oxdOgyaz7Qz6vytdHvBzkXFOtStcS5UCIdx sjPp/PamneNVnLJREGS0+wTfNHxaOKtWLYR4agd0mvnAT+zheYs0Xa8ODHiApIim8Q6U1Uibxfp5X KzAC704yA==; Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH45N-0001eG-Rq for linux-rockchip@lists.infradead.org; Mon, 29 Oct 2018 09:43:51 +0000 Received: by mail-pf1-x443.google.com with SMTP id r64-v6so3710892pfb.13 for ; Mon, 29 Oct 2018 02:43:39 -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=qiPc7+pFvXoljKcM3oPGvfYWKPi0YXvGMfaOhIYBWYY=; b=OB1EooesqrBOElL1r+qtAJKzfKREBosKFIkMyzQv+2UMDOiOpARouqCWScAJu1QTGE Btl0EVNcWJdcBwWAegdJFiTIqnFnKI5HgK00hhBrDeffmE1G/tmtXTfkZihKYhGwiNNN eybhqnvb0vdCW/3v7xf4OyxOhrcr/IiOBRTT4= 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=qiPc7+pFvXoljKcM3oPGvfYWKPi0YXvGMfaOhIYBWYY=; b=nW0ggpIy3EUQjWQZ2E3YPHLjvn5HMirT0ASVrqTHemQyDqxesslyjJXgHj6Y6wbfi4 zqTFkVjYhIzKs5JNB1F1EMJIvGRlT0i4jcEWkSVvW2BJR6pfihIxC3c5v5jXpW5BZnil 7q84IVDW/TFs2WDmp+PKsM+ZFZpD5H+S6zK5MBaJXlTSTZfSxIBqJLpwZXMBeB2KJ2ME zdGETnpxfLQ/8r58sP7y/5PERv5T8p3eNfwJwYbmyvm2HntL0tLd3xOwqi0Ck7t4xqh7 1m6LAgq8EUJlboVk2fwi55Y/W21FMBz1ndA5VG0nmUp2zh6L1ln8H1WVlkekUH51uzvw oG8A== X-Gm-Message-State: AGRZ1gIsWxAplsC3GPb0Hm3yyYoEJIlI4aP9quEJ2v4F2lU4M1pWpkNP 7q5OmZfhprYRwQTwxac6YEPs X-Google-Smtp-Source: AJdET5fVQbYOZNP7Oh3TdpW9cuMBHiyYjfY1J8Iaufdo/ZniQG03o0UHHIFsxjB8NSeoIxeAvXpfNg== X-Received: by 2002:a63:1b1f:: with SMTP id b31mr12984602pgb.66.1540806218119; Mon, 29 Oct 2018 02:43:38 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:6091:9d4b:9d82:66b9:3ee6:ffac]) by smtp.gmail.com with ESMTPSA id b62-v6sm21162056pfa.159.2018.10.29.02.43.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:43:37 -0700 (PDT) From: Manivannan Sadhasivam To: robh@kernel.org, heiko@sntech.de, ezequiel@collabora.com, xuwei5@hisilicon.com, michal.simek@xilinx.com, pavel@ucw.cz, andy.gross@linaro.org Subject: [PATCH v3 4/7] arm64: dts: hisilicon: hikey960: Standardize LED labels and triggers Date: Mon, 29 Oct 2018 15:12:42 +0530 Message-Id: <20181029094245.7886-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181029094245.7886-1-manivannan.sadhasivam@linaro.org> References: <20181029094245.7886-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181029_094349_910555_15C7865A X-CRM114-Status: GOOD ( 12.10 ) 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, linux-arm-msm@vger.kernel.org, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, linux-rockchip@lists.infradead.org, koen.kooi@linaro.org, linux-leds@vger.kernel.org, Manivannan Sadhasivam , nicolas.dechesne@linaro.org, linux-soc@vger.kernel.org, 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. green:user1 default-trigger: heartbeat green:user2 default-trigger: mmc0/disk-activity(onboard-storage) green:user3 default-trigger: mmc1 (SD-card) green:user4 default-trigger: none, panic-indicator yellow:wlan default-trigger: phy0tx 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..46435466f1ab 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 = "green:user1"; /* gpio_150_user_led1 */ gpios = <&gpio18 6 0>; linux,default-trigger = "heartbeat"; }; user_led2 { - label = "user_led2"; + label = "green:user2"; /* gpio_151_user_led2 */ gpios = <&gpio18 7 0>; - linux,default-trigger = "mmc0"; + linux,default-trigger = "none"; }; user_led3 { - label = "user_led3"; + label = "green:user3"; /* gpio_189_user_led3 */ gpios = <&gpio23 5 0>; - default-state = "off"; + linux,default-trigger = "mmc0"; }; user_led4 { - label = "user_led4"; + label = "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 = "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 = "blue:bt"; gpios = <&gpio25 7 0>; /* gpio_207_user_led1 */ linux,default-trigger = "hci0-power";