From patchwork Mon Oct 29 09:00:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 149636 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3869348ljp; Mon, 29 Oct 2018 02:01:17 -0700 (PDT) X-Google-Smtp-Source: AJdET5f3uiy57Y+1ts1cn9hpbp9wKkuhSZSp4GU1xafBTKWe7lsh/owFKxZvICv+8R024P7r0vOA X-Received: by 2002:a63:14e:: with SMTP id 75mr13176239pgb.340.1540803677461; Mon, 29 Oct 2018 02:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540803677; cv=none; d=google.com; s=arc-20160816; b=CEBpOmCfXZixCrsA7Euqzc1H7Ies3gbJ8OI3DwncRfCb0UW+noZGgtdb4tHHRNcVKk H8EJ94kHt1slYu4vn9f5z4eCoZ0+MBLyC5/EmnlStJdQIq3+LsfQfpM8OgulXvYXaces Hi7LcNH9AIrXU0liAan0YjAskC5140Fg4xH7XjTsfWpaPadlo0BTzaIhnwYiI2463alp rMm3ixG2/kEpDdXbI711uCrMKFWbpH+Mo17spSXG37HdaeTmyFNvKQH3dq+Zc3KBUKu/ 1FXl/ouvgFVRja/baxsIw+M3IYA3T8g1FxWGb5TZZ/TFqcpoewdr7512ap3pmGLdYcKQ YQwA== 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=qiPc7+pFvXoljKcM3oPGvfYWKPi0YXvGMfaOhIYBWYY=; b=yKdlXJcITs3S7rqat5hfWeQsPV7hvBlPOq1/BuB8Q1jS2qpc7mvHZT/Jb/5GH5/k6D 2igL4qDv5L1RY2trVLoODzbqAU8+KxLm16rGWt7F8d5/Dbg7X5W2ymaHE//sQTRwwss8 qJsVLayjYYSqX1VTZ+x6PeDL1pFlBBQEHkcP3zm0GSAnz0emtHgiFp+is4C1UruTgyl9 Yf+mXJaXI7rBHlz87K0L2yaGH4ogLg+te8P0tyTCzOD3kTKg96h4AnbV8yiNVknmx1UW /x9gvsyIyb2HheHedjOXZ5Ja6IRNQkrMUkhXllF1RhbpMtga67kmkJ5vFvbe3kS+x48k N6SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ELZ5WO0S; 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 l26-v6si20029897pgb.251.2018.10.29.02.01.17; Mon, 29 Oct 2018 02:01:17 -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=ELZ5WO0S; 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 S1729487AbeJ2Rs7 (ORCPT + 1 other); Mon, 29 Oct 2018 13:48:59 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:44959 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729694AbeJ2Rs7 (ORCPT ); Mon, 29 Oct 2018 13:48:59 -0400 Received: by mail-pf1-f195.google.com with SMTP id j13-v6so164820pff.11 for ; Mon, 29 Oct 2018 02:01:15 -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=qiPc7+pFvXoljKcM3oPGvfYWKPi0YXvGMfaOhIYBWYY=; b=ELZ5WO0S/23V0UdRmgKRvDxZVuNu6bYA5IenqCxz5yktJa7MW60rvS+wcD1cZ+MkIS Xkl3eWIzSiIb1K93HoSZorED2aIJUgUBg2IcoCM3glPbjDopmMz5WrutlClBCFMoK85u OjbR/cap8ylCkd+J/bUjSRLirqaumdi+9CBic= 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=qiPc7+pFvXoljKcM3oPGvfYWKPi0YXvGMfaOhIYBWYY=; b=OIeLvDVDK8x5xOfceMWITyaylZG0EscIBibZORzvLNZAuTXCWDbxcN/eOI1xudGj9o ROGJQ2DIokORGgWyiM3M+A8Eva8tdoAe29M0hGiLPykGkpqkIb2bgECycmevKGHlqhSg 82SBEskQlInr7nQ+lDO3/60JuEx3xuQ1r4A2rM3rgXcwx1DXJL+B/yCgGGcu7ptL/6EL ot9HK2lt87Mp+2Hcdi2FLwFb1EX/9Xt7PRmNA/6NIQuiVhG4HQKrot4Hb+E7f0b/NOwM ReMncGEUanK2SFrZlYzniRQgGOObI/YBNIO8eiSUovqibEMW0mLf+CXc9ICCkhVSnVMG M2Og== X-Gm-Message-State: AGRZ1gLCPmJ8rQwKQZY35nK3w6x4so9jsNATLE8rEkAG4VGOE5vi9RVC 0mk7q+isXgqYW0eUPggoHJAo X-Received: by 2002:a63:e40e:: with SMTP id a14-v6mr13070918pgi.28.1540803675488; Mon, 29 Oct 2018 02:01:15 -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.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:01:15 -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 4/7] arm64: dts: hisilicon: hikey960: Standardize LED labels and triggers Date: Mon, 29 Oct 2018 14:30:03 +0530 Message-Id: <20181029090006.4353-5-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 HiKey960 which is one of the 96Boards CE platform. Since there is no trigger available for onboard-storage UFS now, user2 trigger is set to none. Signed-off-by: Manivannan Sadhasivam --- .../boot/dts/hisilicon/hi3660-hikey960.dts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index c98bcbc8dfba..46435466f1ab 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -85,36 +85,36 @@ compatible = "gpio-leds"; user_led1 { - label = "user_led1"; + label = "green:user1"; /* gpio_150_user_led1 */ gpios = <&gpio18 6 0>; linux,default-trigger = "heartbeat"; }; user_led2 { - label = "user_led2"; + label = "green:user2"; /* gpio_151_user_led2 */ gpios = <&gpio18 7 0>; - linux,default-trigger = "mmc0"; + linux,default-trigger = "none"; }; user_led3 { - label = "user_led3"; + label = "green:user3"; /* gpio_189_user_led3 */ gpios = <&gpio23 5 0>; - default-state = "off"; + linux,default-trigger = "mmc0"; }; user_led4 { - label = "user_led4"; + label = "green:user4"; /* gpio_190_user_led4 */ gpios = <&gpio23 6 0>; panic-indicator; - linux,default-trigger = "cpu0"; + linux,default-trigger = "none"; }; wlan_active_led { - label = "wifi_active"; + label = "yellow:wlan"; /* gpio_205_wifi_active */ gpios = <&gpio25 5 0>; linux,default-trigger = "phy0tx"; @@ -122,7 +122,7 @@ }; bt_active_led { - label = "bt_active"; + label = "blue:bt"; gpios = <&gpio25 7 0>; /* gpio_207_user_led1 */ linux,default-trigger = "hci0-power"; From patchwork Mon Oct 29 09:00:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 149637 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3869535ljp; Mon, 29 Oct 2018 02:01:28 -0700 (PDT) X-Google-Smtp-Source: AJdET5d9z7nMqcbNI+RhIL5N7MF2JX1goJJIQvR6bxH83kRAo26kce5blu2Cy543RgH8j2g0hlVq X-Received: by 2002:a63:4c23:: with SMTP id z35-v6mr13107435pga.312.1540803688332; Mon, 29 Oct 2018 02:01:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540803688; cv=none; d=google.com; s=arc-20160816; b=BdfP9PJcLyLStceOIu0mfQ2OZlYh39v0uB0am1+/959tLgFyu+VBCbddptZAuwqdam YB9+KxtXSeaO7j+1lg/9cjO2nQALSyHsrXe8xDUWJLMySPhuZWkiyuesFLnepOnfbAy3 fMsBgdvx2rZUVwlPwSYx4LlW2A573UIxm4L1OisHksISuGDRqCU6kjarIFeytEVOIE8A RkgoemIsbyWColf6xfkc+YTbT8At+WZ6CQj8cs2z+zAp+uiBW3rHUk+vtyolL8ISZjnb 4bBuBCaVWkmnlXzLNFZ4xStnEgjxDEM6k/58B/hrvrMJ2WQlXi3jOQRXpB4T+d0j3Tmb C5Ew== 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=Vbqz/FFQSiZYMz4Ct6V+6er7vQMDEB5XowGv/dcExWY=; b=PJQJhGagAWS2b+ljMBedG/9IX/N8XAtLzb2nhhCv5lEvhvTusjkgMI3Lh2dBef6q+4 4wfDNlHm86r3WZJHg+scjHc9WG8lzvjB4jCBSUrRLyYsdR8n16FagTufgIs6UgAMPfry zEIxbplTrid0huxqzCjqgmqzJCoR2MuyyJ7ld/9kPcrIqfMa9AruXGaEMAv6UT7LUzLW BfwlZ0znwGLpi53rHtlcJ2QKmv+VW/SKXHHlk8m9gTB2+4GGGYH4H/i64KEm7Vdqr4/U EThwpsOMqQe5bgRVDji6NlD4LmGYDCefa45EYJgfdKfAhkx7Dx+OAdSJd7gglAh0AsbN paXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ebZDNOIl; 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 f8-v6si18292314pln.368.2018.10.29.02.01.27; Mon, 29 Oct 2018 02:01:28 -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=ebZDNOIl; 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 S1729643AbeJ2RtK (ORCPT + 1 other); Mon, 29 Oct 2018 13:49:10 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:36597 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729631AbeJ2RtK (ORCPT ); Mon, 29 Oct 2018 13:49:10 -0400 Received: by mail-pf1-f196.google.com with SMTP id l81-v6so3681195pfg.3 for ; Mon, 29 Oct 2018 02:01:26 -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=Vbqz/FFQSiZYMz4Ct6V+6er7vQMDEB5XowGv/dcExWY=; b=ebZDNOIlEKX7hx6BlBHcemhr+HLPaoSt2U0XQFC+CPJBEhjHMe7qiFAeOXuC7T4XVs bmPNma2YUkdycffAOC7nyECgJ5M2TlpIt/vauRBNOp9QcgN019BNj9UYrHPeYiGqsGqb ogA5vbqtg6LuiRXUgHDGDwOvc5/kmp7U04osE= 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=Vbqz/FFQSiZYMz4Ct6V+6er7vQMDEB5XowGv/dcExWY=; b=ggbI9KtdEBgbCphtsDqtm1dXZJf74x1GoS8XKUojDeEb+pOoFWqVCyV8Y31jpaHqO9 9fpx9Xtjp+4shW0eGkMKDFUrk2xVEFVWnAn7ip3K5CPHEs0clnrGAZm/7eMLb+sinsAt LStoUHnZWnTCWzZStRzZNJDEtTNV1h+b+P4uyoN9o1RXQknIJqS1JN4bJgiY57IlU4kd n7FRnXbHFyfRNhDX/+hJ0rZYhV0VQhoGQofNL1AgpuvX3N/glG71O4x9jEcv4Qb65ORF RYFp++UBCBuRpJbnm21X+SkGzCtnXNNlS+svksNYMs76kIwKT+Lz4P2IvEqZSTXA3KM1 ZuIw== X-Gm-Message-State: AGRZ1gIBu+V3g/hxYrMoA5yoy0PppWDlfw7wvhJPRe2Dju0XHGevrN+7 cg5QMWpBnCUiHBwhS0pNRwS2 X-Received: by 2002:aa7:8603:: with SMTP id p3-v6mr3225827pfn.247.1540803686248; Mon, 29 Oct 2018 02:01:26 -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.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:01:25 -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 5/7] arm64: dts: hisilicon: poplar: Standardize LED labels and triggers Date: Mon, 29 Oct 2018 14:30:04 +0530 Message-Id: <20181029090006.4353-6-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 Poplar, which is one of the 96Boards Enterprise edition platform. Due to absence of WLAN and BT support, corresponding LED nodes are not considered. Signed-off-by: Manivannan Sadhasivam --- .../arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts b/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts index d30f6eb8a5ee..32716c96b457 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts @@ -35,30 +35,31 @@ compatible = "gpio-leds"; user-led0 { - label = "USER-LED0"; + label = "green:user1"; gpios = <&gpio6 3 GPIO_ACTIVE_LOW>; linux,default-trigger = "heartbeat"; default-state = "off"; }; user-led1 { - label = "USER-LED1"; + label = "green:user2"; gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; linux,default-trigger = "mmc0"; default-state = "off"; }; user-led2 { - label = "USER-LED2"; + label = "green:user3"; gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; - linux,default-trigger = "none"; + linux,default-trigger = "mmc1"; default-state = "off"; }; user-led3 { - label = "USER-LED3"; + label = "green:user4"; gpios = <&gpio10 6 GPIO_ACTIVE_LOW>; - linux,default-trigger = "cpu0"; + linux,default-trigger = "none"; + panic-indicator; default-state = "off"; }; }; 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 */ From patchwork Mon Oct 29 09:00:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 149639 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3869922ljp; Mon, 29 Oct 2018 02:01:48 -0700 (PDT) X-Google-Smtp-Source: AJdET5f7RCcHZq6eN+9qxfBROQ9xp7oSbcOp9CvslqkANYtb1E5sRXY14p8TD49KUCeCldn31eJ3 X-Received: by 2002:a63:9845:: with SMTP id l5mr13009516pgo.142.1540803707950; Mon, 29 Oct 2018 02:01:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540803707; cv=none; d=google.com; s=arc-20160816; b=WuiHzoZ7Iwo8ihpIybvbWZjynb+oR800AW8LpTkwJgFR/gIBje3qC2hvaQpJDQgFw8 LiYIIkm72H06+9zW8SAOdlnf3tj/WcPkY0skaKqFzMTS0aEWQSSYRgFlssQO/8VjBY25 bzadqaMYqywF47RGLZH36VFxgAO26S78ELCl4c5bqxlLiZH2t7tffzD68XYt5eEb4Hjq p4HZkA06qlnsgVDHqi3zYu2FtDyL1y663JHJX4U+ukt43xrR047DqOSBe+7xAf3FRj/f 0PqVaeAchxKqYUvYgZUWxNrStb1CCVA7mKXVslNWrSrd83THTlUM5PWMisZh9WnQRT86 eFxw== 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=TvxtMQMr+s0zlpORARx/dbFxpLuRgUmSr0bYiw/Dal4=; b=QqMHM9p1qYc95YnuvBzbI6WavA0Pqsyzol3EZmdgXXMnAibiUlk+NRZVr9Ao7AD9wZ dtg2quOAtHYUaGPvqVV0bv8hsGG/QCn+VMRSUg7i1unEQ+6I8MyHS/DhhK70NzgMSGT2 D1DKdmgqfDUVvMdD7xNZqWpF5181j8GFxynPrIbYoDDrL/NK2R0ZEub0kgaAjciNNddy NruDojsDDUd+scijfu3WakxoElvNSbNKm4+1/OEdf7FYO+mCTS8DK3qOXRTxd0upsrpC frFnzngowDHmvINgSM+ShB7vYKlHEJMTTiePe1RJjkftThfsARiyP/CFJG/ykTpgKkpr ZAWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jS5l+EQU; 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 c10-v6si18755668pla.251.2018.10.29.02.01.47; Mon, 29 Oct 2018 02:01:47 -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=jS5l+EQU; 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 S1729524AbeJ2Rta (ORCPT + 1 other); Mon, 29 Oct 2018 13:49:30 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:36074 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729464AbeJ2Rta (ORCPT ); Mon, 29 Oct 2018 13:49:30 -0400 Received: by mail-pg1-f195.google.com with SMTP id z17-v6so3564372pgv.3 for ; Mon, 29 Oct 2018 02:01:46 -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=TvxtMQMr+s0zlpORARx/dbFxpLuRgUmSr0bYiw/Dal4=; b=jS5l+EQUy3AoLDQPMcTl0MNhVvcK6XiZ9hCvRysSZQ/QF8OmiOT4tzM7upYKpQuwfd LvbKRHgkPkmQswrQA4HmgtwBc1OadC6/UFL91j/04/2muix7bM0ntruw1sIbZtx3tIfY KYYOU6dGCOKPXTwspZw4tX3xmJgKb8EdYZgOw= 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=TvxtMQMr+s0zlpORARx/dbFxpLuRgUmSr0bYiw/Dal4=; b=cn8fNKcFYnIf1AcCp04+KUAE0nPjBXSugXkJZ9eJLXEHK0+kJRklqH4K9rHsvMbmgF c2rnmaZFk6pz60RpQHEM3W7Cxv/57WdAG0enuRVkgZonwmHgnQHOOPs1zG3ufQGDujvN DM2GHyqxyWOCbRgihgOyunQw/RXH36CJny/NsEILw+4L33SK7AS977QXlJPI+xkpGoZL 2CDdIXLjEzjmGOW5QSK2Z+K9ZpuG6ayovVMgj2B6aImPTM8RDhXNSfqWAzlWbqitIyjb +JlaXsQVyKEXbVhUXpKmtmu4CYGjY/Z5cCAmOfFLe00qLQpPJ2MiuORf2OfnocPuXz3s Sd3Q== X-Gm-Message-State: AGRZ1gLpSMszRx25t1m6paXVjjV+RcnBWdN5T6HaHd9Po5/eebp5MfJ8 O9OOBEgUlGevfa6YrmodK8M7 X-Received: by 2002:a63:e302:: with SMTP id f2mr13154444pgh.320.1540803706419; Mon, 29 Oct 2018 02:01:46 -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.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:01:45 -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 7/7] arm64: dts: qcom: apq8016-sbc: Standardize LED labels Date: Mon, 29 Oct 2018 14:30:06 +0530 Message-Id: <20181029090006.4353-8-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 APQ8016 SBC (Dragonboard410c), which is one of the 96Boards CE platform. --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi index 46feedf7c989..35f95154316b 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi @@ -300,28 +300,28 @@ compatible = "gpio-leds"; led@1 { - label = "apq8016-sbc:green:user1"; + label = "green:user1"; gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; default-state = "off"; }; led@2 { - label = "apq8016-sbc:green:user2"; + label = "green:user2"; gpios = <&msmgpio 120 GPIO_ACTIVE_HIGH>; linux,default-trigger = "mmc0"; default-state = "off"; }; led@3 { - label = "apq8016-sbc:green:user3"; + label = "green:user3"; gpios = <&pm8916_gpios 1 GPIO_ACTIVE_HIGH>; linux,default-trigger = "mmc1"; default-state = "off"; }; led@4 { - label = "apq8016-sbc:green:user4"; + label = "green:user4"; gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>; linux,default-trigger = "none"; panic-indicator; @@ -329,14 +329,14 @@ }; led@5 { - label = "apq8016-sbc:yellow:wlan"; + label = "yellow:wlan"; gpios = <&pm8916_mpps 2 GPIO_ACTIVE_HIGH>; linux,default-trigger = "phy0tx"; default-state = "off"; }; led@6 { - label = "apq8016-sbc:blue:bt"; + label = "blue:bt"; gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>; linux,default-trigger = "bluetooth-power"; default-state = "off";