From patchwork Mon Oct 29 09:42:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 149647 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3906561ljp; Mon, 29 Oct 2018 02:44:01 -0700 (PDT) X-Google-Smtp-Source: AJdET5em/5XGVJzeI+AQ+TDsnZ7LSvjrgrjSSsqBLXjNZAVt/LnZH6VClFeTSYELDQr4fnKkIcQp X-Received: by 2002:a17:902:443:: with SMTP id 61-v6mr13454056ple.216.1540806240937; Mon, 29 Oct 2018 02:44:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540806240; cv=none; d=google.com; s=arc-20160816; b=RgPTZM2NrFBwxCSpXkjdkPPy7rvmjea0N27sjSICppazeLv/W/mQCbD7aHlYr+v1aP So0ZqLQ3lV+BLHCJTtdW4+Q16i5Mdmlq64QdXEff5KH8kjqfqOJ+UX9mat3kmKxkZGRQ 5/sgq+mD35R/XHNf0NduU472Nn/4jUIELEDnywv0kLnswqfLnpFvqM8vsLW9Is7sZrCF puwCxNhJquAXAFqEdp/mTU3kBKOXiTIMGkBZtFtXf/ZMHqLufJjk3IBXh/YCngXcpwwA 4zq8+a1w77Y6XSIm4df1FfbLo1DZzzktkMbawc9OUpVxpgET19717LcPdWvCidVFrtoA Djng== 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=k+HBkSZxdifCKr7KjBqibkGpGI+NldTaUnog0lN6XtoEDOHpTaPpW7rFqcDu1vQSTu 5Ud3tVUwuSD/seylklKUJXZAwzlqYqDj+A2T3ZAlpHU75bFItd5fQVNLxPPQhevyaaTW /Us4dYhkRxHwfNYC+OMdYZFaGMJz282jGIJ5+5POSfoIHIrNnSi1dCtClrQsmvZhtZ8D QxYLl3lJ4mKiplqXyisPRPJFgI3PToJ0N1hlyJMqqjmFcHCq+6d57nJajsl9Wigrh4T1 upAL0tIDAhbdIeOnyXzOrMfCn2mRiQHb+Ij7F1XwqlgO1EHxg+GKTbbcI9WCVtEkiDJy jmnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UqpfGP0y; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-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 l30-v6si6664190pgb.404.2018.10.29.02.44.00; Mon, 29 Oct 2018 02:44:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-leds-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=UqpfGP0y; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-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 S1729568AbeJ2Sbx (ORCPT + 1 other); Mon, 29 Oct 2018 14:31:53 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:40732 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729707AbeJ2Sbw (ORCPT ); Mon, 29 Oct 2018 14:31:52 -0400 Received: by mail-pf1-f193.google.com with SMTP id g21-v6so3725195pfi.7 for ; Mon, 29 Oct 2018 02:43:59 -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=UqpfGP0y4a0XVR5XmPWfmU2gcJBdOFyV/s6u1ofBMMYrnjTHVK4pBHDZo3FOVqiK/0 E8/VFEtos9QeFecDjI0WWI/VNe4Dngo2PZa/rDwJzDXOy/wECWzzl70mZiTaps1Oe1ks nwSE0dSujh4pAUV1LkO5bVT6uWmhX9Jej6AzE= 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=cc2TTyCYDck6RmnK2QnNpkXNjPK5OplORzv+aEK6iKyGx0b2VXiYp2vJSvrPjIlLU2 dF+UFBRKvFWVZtWlsgiLfzyzja5E4A09pNHd3qGPIbdnQdPzXLLQl/y5c1FY8t6lAQNn 4VNxbw9RCu59+pHFft/hBBxvvmiHHrICXvkVD4kZJQJgeUTvzxMeGidtcRfMzXPDVkeK oMyUGnQKFA1ETNBOF6yIqCs2Mv0zCXK/VAAmUaiPWfSbhYAgDwWg0knBiig20+BwczR2 YeNVlSKQDTI7qyAEMK9EjwYY1OKaFbNXh5XDA9DgKSePGlXfgiZh25qKv9mQK9qyyxEC WP0Q== X-Gm-Message-State: AGRZ1gJLKIPxYCyRHiz7WExM0MuCXsCVleLo70Axpbe4ogZUTvFwTtMi 754OJGeTmZOtHfaNM8Utp1ow X-Received: by 2002:a63:c949:: with SMTP id y9-v6mr12958292pgg.331.1540806239504; Mon, 29 Oct 2018 02:43:59 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:6091:9d4b:9d82:66b9:3ee6:ffac]) by smtp.gmail.com with ESMTPSA id b62-v6sm21162056pfa.159.2018.10.29.02.43.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:43:59 -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 v3 6/7] arm64: dts: xilinx: ultra96: Standardize LED labels and triggers Date: Mon, 29 Oct 2018 15:12:44 +0530 Message-Id: <20181029094245.7886-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181029094245.7886-1-manivannan.sadhasivam@linaro.org> References: <20181029094245.7886-1-manivannan.sadhasivam@linaro.org> Sender: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@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(-) -- 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..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 */