From patchwork Tue Oct 9 14:05:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 148499 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4948002lji; Tue, 9 Oct 2018 07:06:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV619hrPSUVatiHN/iTIF+JPB3WRJ+toeWJbyGeApIYt1AhofYn8yL00xlyX72mu1OGQbKkrw X-Received: by 2002:a62:35c2:: with SMTP id c185-v6mr25848247pfa.69.1539093976468; Tue, 09 Oct 2018 07:06:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539093976; cv=none; d=google.com; s=arc-20160816; b=Xr3ZJAveB0lzw3qbBsrIt45d8Uro2wxAIJ3y+5WCbjFcMUXXCppZAyjGa77Y61VtR7 uucPtnngd4xrK+8ti5TuYnDbqIvI8v6F9Hu8HHlwhM/JnuHjXvGh298s2VqIeP3nDl90 1RAg9jLFlq9vnOxqXeWpez7mRoANw5Vc6R8exw1sJxQ99q6Ofk3QA9SPiba4iFIS1t/b VRYANPdd7PfAy7dRZvwOn+ZSdxxr+ga0TgzYU7MHDTiCSk2V9lU35A9UoCH0AVF70bsU 86IaW/KVBkMsZe3jWBIMHDGzboMWK58DyL4X4ujKfPSKapyMcw3CfuzYonVeL2GdFZMi u/TQ== 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=hChhdla9rTd0uwo6Xihafa/FlHoPiHoTl0N1PS2CtQE=; b=bAVPGyvT0tRaZFQamsZON0JbMBWW1/MkXyjA1FCzoy1/ly7l7d3EhebZ8thVFvZEl3 WfxGwgHO4P8eAmMp1eJ2NMBCZ3441twWL4XyyieOMd7ycAZV1YVAVktVWvk/IMjH5sOo MsIiVrf4wKOlH/9CXIMx+gkxuxALZGHVCcDoqSrI0bjssR3I4ZkVCv6LVwdZY4v/WSNQ AjeJjrfR00+uDwAZdi4umkPd9QKDlJeYnlcY21pfoETpKmr/qsg9DL7/z62fTT+LpoSK JuRCN0BskEFPjQ6oS6JWx7Mt4JwInDrlz+8Cek3mtx83Ib5BP75CBeigRxBP6hlvEq7F bf7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P9fYlfKW; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 d38-v6si19592246pgb.30.2018.10.09.07.06.16; Tue, 09 Oct 2018 07:06:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=P9fYlfKW; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1726979AbeJIVXU (ORCPT + 6 others); Tue, 9 Oct 2018 17:23:20 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:39088 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727166AbeJIVXU (ORCPT ); Tue, 9 Oct 2018 17:23:20 -0400 Received: by mail-pg1-f196.google.com with SMTP id r9-v6so868643pgv.6 for ; Tue, 09 Oct 2018 07:06:12 -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=hChhdla9rTd0uwo6Xihafa/FlHoPiHoTl0N1PS2CtQE=; b=P9fYlfKW1jr/ywASq1XVvFTGvIGUZaPBqHtk0jZzHS/lrYNP1fhXkUBV22XPzVGZG3 rmuOU2KgdV8OdoBwKrqeyPANe/JX+371cK5tScZSXir6PPjqdWRs+YT99pglU3w2pNAv P41ReJ8m+GEtbRFAmEhk/SMIiFnqtCGfD6jUs= 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=hChhdla9rTd0uwo6Xihafa/FlHoPiHoTl0N1PS2CtQE=; b=kVXn8PvwT+g+GedmzsSsKu3rKQhI9Akl4+qK0goHd7DWUNQ/Z1j5LmUZHfJOAuZSXh YxPCVYshUSdKHYJ8DYPtHC/M2AZXfm5t+UAjvqEzH1xIl9sG2d5eKQ3TJorBmP0bSeOj WKFmeosiDsKwfPySzIgon20kx5LlgXqzY9rzb3no0gaWjHUi5W7ksHzivj/tA3TBhgkr K6m/iUxwbNixK5NK9dh8tZjeeM2+BgAdsrms/9tdtgNibPrB2qsDbmSl/qesH34NxHBt 5NLXy0+RaVEqL1n5USjbncovXnSW22k7eDef7EAwca8zktBqCachGPI42bdaIvJactAY +waQ== X-Gm-Message-State: ABuFfojVj2sgUKbY7ziUFE7PGI0/+mZYQQqOL5Ze9wQNzTH7EHTzg+Xu B5b74aDSh0KfuyrV5KBPw7m3 X-Received: by 2002:a62:aa17:: with SMTP id e23-v6mr30276853pff.211.1539093972325; Tue, 09 Oct 2018 07:06:12 -0700 (PDT) Received: from localhost.localdomain ([103.59.133.81]) by smtp.googlemail.com with ESMTPSA id e64-v6sm28947722pfe.55.2018.10.09.07.06.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 07:06:11 -0700 (PDT) From: Manivannan Sadhasivam To: robh+dt@kernel.org, heiko@sntech.de, ezequiel@collabora.com, xuwei5@hisilicon.com, michal.simek@xilinx.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linus.walleij@linaro.org, koen.kooi@linaro.org, Manivannan Sadhasivam Subject: [PATCH 6/6] arm64: dts: xilinx: ultra96: Standardize LED labels and triggers Date: Tue, 9 Oct 2018 19:35:22 +0530 Message-Id: <20181009140522.6492-7-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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 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(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts index eb5e8bddb610..565ceb390f99 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 = "zynqmp-zcu100-revC:green:user1"; gpios = <&gpio 20 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; ds3 { - label = "ds3"; + label = "zynqmp-zcu100-revC: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 = "zynqmp-zcu100-revC: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 = "zynqmp-zcu100-revC: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 */