From patchwork Mon Oct 29 09:00:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10658927 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 8731514BD for ; Mon, 29 Oct 2018 09:16:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7548F2873E for ; Mon, 29 Oct 2018 09:16:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6861F288D3; Mon, 29 Oct 2018 09:16:37 +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 3335D2873E for ; Mon, 29 Oct 2018 09:16:35 +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=vSZFN5wYvxkmM9teLoNsJLPLzFYIl/Gu+Iqfht1Xl/I=; b=bwyK/DjOSokUyakWcwC5Cjh5vx eSZtmaitT9/ax4fWNWSrh7kiUzbWUBcZnbWwYBltU3d7Wy6f1QUK0YvRAJ+K4O2BBTNK8mB/aoXKi seJOn1HFpON4H2WyDLmXE+BVZU95MHDs/n/Ak8oGhGoVxqYxHK7kGr0+N8FkuWCngn67RDp5L+OWU 6t+AFBZ6kFQjUw49OcWEDgCibIXMW5fmApmtHXmtVBLDbkHsrnD89J9IIGxBllCL2MchuFpe34D+Q RrfY7eyh7E14FZI2hKgo4kLh+HkbiXZq5yXYfT4QUR8n2zHM4edy9xAO3dbKSQUCmkP6qR9CqTQ2u hIciny9A==; 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 1gH3ej-0001Pb-Fr; Mon, 29 Oct 2018 09:16:17 +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 1gH3e5-0000mh-6p for linux-arm-kernel@bombadil.infradead.org; Mon, 29 Oct 2018 09:15:37 +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=NLzRC/KoanQ3Q5K4K9dSGjby1oMGO+7mKnxsVzSkG80=; b=Z1hO96UK4WKGRg1Wxv4c/IR0G f3sMOeIjgifWX+sKXnkBClaj14oYhtc/XJlPcyXZgodllqaI+rjNUyC+i8UH/QdoTW9lxiSpA23hW uw0AWFZvzm76D+V+JjCvhhjHXvd36OVVUnS2553M4Qk25x+CGSIhjTCpg6RZaCWz3uLsA3B5fJQDm F5KArFzrbKdgcNAYX2Y/T/IeP3OyxxvO/YDShk0rJY6uxd4BPUphidypcBylG/BTOpg69rM5ZbEUQ E6J0NiYcUhzUrG9a/jRg46rxjKjU1pAChusLOicInq2i/nGAJ3NIGS5TWWXG9+yZRvGA987J6Bp1/ EZOf5GBmA==; Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH3Qj-0003ER-3d for linux-arm-kernel@lists.infradead.org; Mon, 29 Oct 2018 09:01:54 +0000 Received: by mail-pg1-x544.google.com with SMTP id 32-v6so3570410pgu.2 for ; Mon, 29 Oct 2018 02:01:38 -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=NLzRC/KoanQ3Q5K4K9dSGjby1oMGO+7mKnxsVzSkG80=; b=aExSshojtG9ni6smjsNi6BkeI2F8jP3k9Okm2/0Su0Zm9mu3nd5jdu4BOnd/Jqdcf7 c9C1/yArFC0+QRZDVuTBiCmd2Qrwx97GhmSlKFxUyhwSueFbawNiFpmZWopeAc+to0lh 3Ut5O+z3O4l+6cqAyLNi3DTC6ehqiKzTcJhKo= 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=NLzRC/KoanQ3Q5K4K9dSGjby1oMGO+7mKnxsVzSkG80=; b=BMuVQZcFibTLVM9IaoMpRKZcl/tqh2TSVvZ5TKAXiYo9WjnUXCKMSJnt2NQa29gXdH fNVlducOMNxQYwp+A3R54EFf+1gT1AOXhwUq84PetUB81WPd2Ta4p7QXC//R9DVoxEYI F6Pk4xSkaSBp5jEXFEoV8tTOGd8t6ZFzuS0t53O5B9//5IblGqvalD1LPzBarUunqtLf PpenBIIgaPPWXactMZkJpSzaXF37VACl52fUJc7IWZBnu06/ZsMLNzFKX1VF0pUwatkN wVUrr+9MwFDE+5wMwUrD9Jn3wXgQ1sSZzxrHBAis+x5MZHil5ZodnINA5NZ1vVDymyYJ RqOA== X-Gm-Message-State: AGRZ1gLB1wJ+3mg21uBkum0VsBbNm5LmsQSLLe1KOZ8mls87gehO/Xjm XPYeKgllbWR+6gck/x3ZzTPi X-Google-Smtp-Source: AJdET5f7yjdBhpK0/xvzalXuvlcstZCO6jqqq0YRdqKCfVbbmQaoBj0I3B9c5NdxC8HKkfiYsUG4VQ== X-Received: by 2002:a63:ca0c:: with SMTP id n12-v6mr13075596pgi.109.1540803696842; Mon, 29 Oct 2018 02:01:36 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:6091:9d4b:9d82:66b9:3ee6:ffac]) by smtp.gmail.com with ESMTPSA id m11-v6sm28265245pfi.102.2018.10.29.02.01.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:01:36 -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 v2 6/7] arm64: dts: xilinx: ultra96: Standardize LED labels and triggers Date: Mon, 29 Oct 2018 14:30:05 +0530 Message-Id: <20181029090006.4353-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181029090006.4353-1-manivannan.sadhasivam@linaro.org> References: <20181029090006.4353-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181029_050149_164846_6A849141 X-CRM114-Status: GOOD ( 12.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 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(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts index eb5e8bddb610..c08a8753215b 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 = "green:user1"; gpios = <&gpio 20 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; ds3 { - label = "ds3"; + label = "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 = "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 = "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 */