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: 10658929 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 13DC714BD for ; Mon, 29 Oct 2018 09:17:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 091C5288D3 for ; Mon, 29 Oct 2018 09:17:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F13E8289BA; Mon, 29 Oct 2018 09:17:31 +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 4E937296DB for ; Mon, 29 Oct 2018 09:17:08 +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=/+3J5xMYhvlC87MEF0GiCmqJj84VgWHuM99xKxTCJwY=; b=kLn2FzQiKxOIvgHGpGBxlOoxa1 kj+KUtteetKFZoHIY8aDTyRJO8FrTjDNaMxGgR7r/AC9Vcz+V0nWYCtpGIOIjMpcXYFzkFJ9BhoRL GxHaBNFaxJIGkPjP8qDyo9QR4vCINcnTbzPt2ahnwh4WRzzhkB43v9xjXRkqSOjC/PlhuvwhBFiI9 R81TqvRyMIQtF1U8slQ7AT+5+3loLA8AJyWA/ZxiLB6/ClUtUuS0pHt8uVBW37s4vyJYxDyhviPe0 K89LYbwBgYFta5g9fC4MuFwIUXtrOhA96UajccMdNYRykU0uv9Ib6JZHZZ0TPXYT1Q5+UbtgN+2wa jQwXoXUw==; 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 1gH3fQ-0001nD-Hl; Mon, 29 Oct 2018 09:17:00 +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 1gH3e7-0000mh-3D for linux-rockchip@bombadil.infradead.org; Mon, 29 Oct 2018 09:15:39 +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-x541.google.com ([2607:f8b0:4864:20::541]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gH3Qj-0003EQ-25 for linux-rockchip@lists.infradead.org; Mon, 29 Oct 2018 09:01:49 +0000 Received: by mail-pg1-x541.google.com with SMTP id m9-v6so850789pgl.13 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=HIvU+L9yq3G5TMs3FkRN2wou0f/rJf5QxXEnqBjRlva0qjsP6sVSvcSRHeKrx2cI/V qpNmDRFv9PCi+QmL4AzQMhdCH4DW7UwSZQf0QnJ0QVxhrN431CHZlU3YGE2+O2tY7o+e nmgGiEq0xMfEpMjFyWIaZiP+ZnWIMtLa1kKNGCCJCp7Usnuuwq2+nKpry9OFTHvzUTLB 29+ud1OQ7whizWFdWrEr+YDOKhp3awucLgl9LGooEtbqetvMf/4NhAOo+H5Qa0ABULUs 8eehS2B6l2gx06zsJ1ItXL79up6bx4T0lUbLunoNtLAuUQ7gJlG2bCTBET1YZokhUMsW RugQ== X-Gm-Message-State: AGRZ1gJ2izChs7m6q6Fmy1Q9AkMGBxLDGCaSryjEvpAcQg2HKgfa77l8 9dERyEu6ix1tAjh7hg/yVBLp 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_137388_DBC926AA X-CRM114-Status: GOOD ( 11.17 ) 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 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 */