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: 149638 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3869770ljp; Mon, 29 Oct 2018 02:01:38 -0700 (PDT) X-Google-Smtp-Source: AJdET5faGIbpRM0VxodGuSea1ksuOKVxGdh3O73Z6rN4tAX6N4tbd6qBcM7d3JeT3Pacw7c7A9GA X-Received: by 2002:aa7:8685:: with SMTP id d5-v6mr524247pfo.58.1540803698842; Mon, 29 Oct 2018 02:01:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540803698; cv=none; d=google.com; s=arc-20160816; b=LCNNmqTrtyalkeTLrg6uyBkZFACmPkNuBH+tfrxj+eQ2KO0XGAtmCpNnhopzhcKcPX S8SO2WO2r9/BUD35u1okEYQL8oVf2M12romPyG6bj2ZK7uWor7ITo9M/IXkwsyFT2YEd s91YZqSPBtZy4Q8bR4I3qmilwNcxAQlkI7QENHoBR9LThLcOmLgRXq9UPSJBWXIzMqNM SUo7p3wD78aIXcMpL9cNquQ/SQvbK9hXotLGcSpUJqWN8zxOfBhSbd6UuWbXc2uIwcO1 qSPQ3EGecQGi+pxkbKspX/SRwdNyOay66G1evzoz5xt1ZSg4rt7g1QdL4tVtm+5N8Ce+ 7CUw== 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=an4k+yt4K5AAO0u9dbsQdAZZqnmGrMEx5XKGBbA3YUAPyJ+QLmFBGEm1HzTNXATssw Co66YLywhmkzSKP/4qILStZ1tqBWH+mywPP+Ykz0oHG5w/IzM32n0O8PvVvOs7Exniu/ T4oAmTdiXIYNatiRqmnTCNPwBjidzv5+X+L+qzrMhyWxr6cnpP5DbUp3DjkN76m+aRFM HQ/CUjP//8v3DZA9/yYkJjj8r/gYehmwIrPG9dValc4tWVVRIxSfquRHxVYaKpqzhm+f LQ5arqIyBnqpQsX5hzt7kzFxF13AmbvKrzavwc54/yn3CzJQn1ff7hkBSP8Jk+9upHzT In0Q== 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-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 o127-v6si23968003pfb.128.2018.10.29.02.01.38; Mon, 29 Oct 2018 02:01:38 -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=aExSshoj; 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 S1729300AbeJ2RtV (ORCPT + 1 other); Mon, 29 Oct 2018 13:49:21 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:33549 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729591AbeJ2RtU (ORCPT ); Mon, 29 Oct 2018 13:49:20 -0400 Received: by mail-pf1-f195.google.com with SMTP id a15-v6so3687397pfn.0 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=qUDp6XllP3PjqL6+T+IZhxummFp1RweYSnyS81vW4y6P79Nj+4qUG7FPedDUdoRE4P dHZ1eLDlmkqpIXeQMmesfG8dFQy/C3o8ENQTJvxD10Ab1TwHy3Yg5zIj+8Wb15+V1TE3 LcI1oMFaI4kFRMj+6w+q06xxWjT8RURKDZHWpuHgL4NtMGvytS8c7Y3zchVYkx4wQTER /rpcoeBHV1PNJgGrVXez8VWtMIwkoaLQlP+4q4+I+hPe9JPulBIwYsGewsDl64t7U9wr /KUJSSXxz7SmI8atOvbiYn5tc4Vzb9kVuZDmseZuSOitUudBZs/BQq3UAHua67uBR6hT I4Fw== X-Gm-Message-State: AGRZ1gI3nfKZWWIBWlkfrAZV7U2Z6Jxg8wSQfOCG4cCP+B82qdPwZLxU 79LZKTUMHJf4iBaMW6RDZ1ic 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-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 */