Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3129731imd; Mon, 29 Oct 2018 02:04:38 -0700 (PDT) X-Google-Smtp-Source: AJdET5d9n4EUxuiUe5B8F+gTFgi9ey5rDqoJl1dwYSlbY2waqh6RgpkpjmR5Ir9RVMUET7YoPr+Y X-Received: by 2002:a17:902:7245:: with SMTP id c5-v6mr172738pll.251.1540803878267; Mon, 29 Oct 2018 02:04:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540803878; cv=none; d=google.com; s=arc-20160816; b=jjSLyYV0azxtR9MeL1EiplAfCZJrl6/OmCcye+m0MolAzJXJLYwbifZQtLO+AGqxp+ 2LhVU8w/xkCYKWnXenQJTqS74ER+MUjEJrxBdCqKy5YjK9QN0Jww5PTbvJxOHH8Hq13M ipK+6L3mLuZLZ8VlWBdedWBlvdwh0xsa425Auz7m0VNzeQcus+O78vnEqyK6TRzeEmvQ PQhS/z4JMv9asrKWOS7bc6sodfR+e3szB1gGEzQScDfyJh4vaENjZ2Dtkac2rzImek44 R3fhm6Q3kx0S3zrCa1/Bap3S6kpQGJZhRyzR7qv/C6N0PXbvXAEAQe6SDJ7gEZ6+xD8S WHDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=NLzRC/KoanQ3Q5K4K9dSGjby1oMGO+7mKnxsVzSkG80=; b=epAGGCA3vYXZB3m2xPcO/+y1kIYpT46vYN3mrgmpCYt25DR92nbQrplbve3Y+Yg2xE 1X8bwrQG8sJxf+wYs1VrjJaFtFBHkSv+n1VzH3LQDHDDRkaRq8abskn/536RHEqhOLAS DtaM33W8sUblbgGuMj/MZgD1HvQVrkgRbg5xswlapSTMn36izmR4NSUjmFwHKDRmk2Ns 6h3/mqZkjHCfuyRBabjqfT9WkRcigdiSp/gRQS31lW3Kn6RAs8vuTMB3mGO8xYtSUAgh HnzeIuBqdOkBy0lGlYEp1oOluVxqDBQ0H8W8yHK4vDxV3+9cVlU9cEZ6cHLzPDza69pD Rckg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aExSshoj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h14-v6si10061533pgi.495.2018.10.29.02.04.22; Mon, 29 Oct 2018 02:04:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aExSshoj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729734AbeJ2RtV (ORCPT + 99 others); Mon, 29 Oct 2018 13:49:21 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:39262 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729300AbeJ2RtU (ORCPT ); Mon, 29 Oct 2018 13:49:20 -0400 Received: by mail-pf1-f196.google.com with SMTP id c25-v6so3671415pfe.6 for ; Mon, 29 Oct 2018 02:01:37 -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=MeAhHIiEXG0tu8cZhhdJJeJFmZWeQpja63bxJX40rdAUmNqcGJUi9fhFOWBRh9f7K1 jX2J0XKk8H56drzOVZmNbRwwrkseZH/mlQu1+JkT6OW1tSR1mohSrl8ECoYh54Fy2oQv 6FpdfZqsUST1GcI/LxsxpB5kf9vEa0vbqZfcShsTt+W6vq+9ePxw5CD28qnUn8HIbX7T 1XzNNajwWTgYGqs4mYq0qhbygkT9jxVIv7I9dyLflyTC88DYyjX2viYa2ftPjd1gA8JN F3Cs5GAMdpvStvQLEmxfyhfauSi7fjN6tiLCcT/ugA3m46yrrNgbXLcSCGZaTqVy3WB0 BQ1w== X-Gm-Message-State: AGRZ1gKzvvu6cH5ltMY0BKtmw7lrgLcNrTHWK/Tn2voPMTWVWjr5ULUy HW6r09d9w0fP7U77Zlgrl7+Y 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 Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linus.walleij@linaro.org, koen.kooi@linaro.org, nicolas.dechesne@linaro.org, Manivannan Sadhasivam 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 */ -- 2.17.1