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: 10632851 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 85B9815E2 for ; Tue, 9 Oct 2018 15:01:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A30328F49 for ; Tue, 9 Oct 2018 15:01:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 56E6628FEF; Tue, 9 Oct 2018 15:01:20 +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 0E47828FBF for ; Tue, 9 Oct 2018 15:01:14 +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=3vIBVUWrAAxVTc+y8AeF2NgH3np0iCjC4yqrx6xTRIs=; b=paU9NzrtOyv82eAeyUzcrQ8J7x 7f1AmJuRa4etY+FhedVEL+4BgoMAKvVRk+UwIzDeEkb35tyYsD1YOrb2DRKsXWuCNKTfdkOh6YjXF FwXqtWT31R8ZxuautyxfzeincCUW+pwe60qIrLGfUPLgQg9i5ta5aI5zZOO6EIK6FHbDiVcH2QqIg h/gydtu5A37/P8xNMvyrASnlK7RVYEWyEOp7uJBDzlm0khrtZYV3Sg9P5+Vhp0/dYhgSaxO1pkPY9 tkOXrqr2S3ejGTP4pmJlvkg+NmLPRYgq6pug1WtACeV+TgLOJqjKXJ6b1cJ2U2sEKiJtSWXOlAo34 d2RJZkLg==; 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 1g9tVW-0003n5-Hh; Tue, 09 Oct 2018 15:01:10 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9tGu-0005SQ-OP for linux-rockchip@bombadil.infradead.org; Tue, 09 Oct 2018 14:46:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=dqiYckb7Q3F8kaPDDVtcaj9+/KOyQnhiQ9kyaN/rDMk=; b=v5DC4kVx9gCi5tlynxscd3S7U rbInFZdHLoLHRIl8cHbvAmzzx8XkN6DU3Ph6PjgpF9S5ifimKmxyMBEOHIybtwbALP08TuV8bxpSa v1wNxf7F4PN0fGtlAoedPIr8lA2o3tyb41ODcGc7V1+H81JPWTlaQPIiYY4hvYs1aWKdAZgqsrXh0 impe2GzZKLb2w8prm22pPMsmaQHC8bulbxUriEATRTXY6ouH9YH5kldfjdKy+acG88Qp007wb0EfL Xllijonvo9/XNJB8jmQx8kyZ0jkTStX8obp/EmYlA4bRp81bP+oiKA/6wDfF1lUVeAAsUqHKIF4pb dxH3PXnOA==; Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9seK-0005IB-Sb for linux-rockchip@lists.infradead.org; Tue, 09 Oct 2018 14:06:18 +0000 Received: by mail-pg1-x543.google.com with SMTP id y18-v6so881787pge.0 for ; Tue, 09 Oct 2018 07:06:02 -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=hzsl1+nB9hLdb9P8o38ltQ+7yO3T6bqqq+BUckou3OFll9Topmu8lnD2i7FDYYtnE9 D4PlLZjUz6ULr7yEJHryX2UMXuW0gWl7yzW1M/T3Gc3Q9G0R4JoBNDecVdEJrD7IJdbh DLvWydPKj75HNcDvHCaWzZCdDvctc2/UnCgsUWDrQALcW8ow9UZNcwBZfR2kYi9MKeF0 R5wP8Ao22nxJK/Xu+iCNuzjmazKKH0rPXAgYqXasq+21/SZMAzVOwDqYzFVIxzrVzwFx KVYjFKQSQy79vMZRz79zjJEA7EsPwO2e+0frs31ElAm+OHhj2/DLaziIE93hODq1ehUA tPdw== X-Gm-Message-State: ABuFfohrrypunGmLlHQXbJRk4MeIQxDvcSjU2baG305OobyMAcT/jfN6 pwHXJdgsNqi+bNhcOe4JrgAl X-Google-Smtp-Source: ACcGV62jKg4lFYLo2Ygo+ApTeJ0uXrtpznjGYeRaxyuqrh8dKL4zEGk9n9FwsmdnzY2xvsQGzhcrHA== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181009_100612_951437_885B7845 X-CRM114-Status: GOOD ( 12.02 ) 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 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(-) 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"; }; };