From patchwork Mon Oct 29 09:42:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 149648 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3906711ljp; Mon, 29 Oct 2018 02:44:11 -0700 (PDT) X-Google-Smtp-Source: AJdET5fmvmrUbqDRQO1w3nKtFbZIk2ROQ6e/2mZgXYx4xx7/1SW6kruDEDcJxlISsJ4mHAEqDSUL X-Received: by 2002:a65:55ca:: with SMTP id k10mr12957193pgs.448.1540806251669; Mon, 29 Oct 2018 02:44:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540806251; cv=none; d=google.com; s=arc-20160816; b=lAbIbLIZGvz3Xq2caGGk1p9RoMPoC3aRJAGDlOqb995OBh1X/wjYGgOwqxxtSaVB0u RhssajfqZFFF+ccgNUxGysuGLOaFySN7ynzMmazeyDPQI1sxtl+NexVRsiR3CqO0qaLr 7qPOJOLMBmv1ghPsv6L+tpVmPO8+OQ5fUpd4yWIh5Ch/sxQHC2iLHIbikIPmXPUm/sGO h3cH5zBqnaX3jap7ouncaMeQAMjz2/FdYTsCCYmb8NbEHg+f6bGQeqhFFmEBLHzRRyw8 JUtV9PkP2ilbAC/wJp6IhzhpZnW14CwUhvSCvtJQqdgdKpSOaD8OoCGJOqp2VowQkJdC 9Nxw== 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=iuq32Mpk0vaszYzvXRhuQKiIl4nbHWKFjX6gYWdOdwU=; b=Gh/wdYNvTQL2GJweJHCiwkFvOBwz+7/wo4xuZ8osXoZooIgVQLhr+9ugSaXPreEA8v yNVVWE+sKqPjK+q4qg2DWdVSef1EOj696Lh5y+lmAHNA8HT6L0na+13D2dX93APaOEB3 IamwBzKiXD2ONpT4gNJ02iqbIe+HfCa/T3m8Wfbm3xzmD0H0ocJ/G3Rj+4tqizy2lJQv 0zTu4Mk17dkzmoNVzXxCZxhzOaaw8mSZ5fTthjG7GPU7BI56Q7Ya598eE5UTGlkE2zKu oHaB2KYWp38fgOC4d+6xJfGd6vh2DAq323bUnw+RHs9a+sKBkkvgVxFLzpyLfNtH87Hh p5pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="E/GmGliZ"; 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 w5-v6si20303127pgw.184.2018.10.29.02.44.11; Mon, 29 Oct 2018 02:44:11 -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="E/GmGliZ"; 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 S1729813AbeJ2ScE (ORCPT + 1 other); Mon, 29 Oct 2018 14:32:04 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:33106 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729661AbeJ2ScD (ORCPT ); Mon, 29 Oct 2018 14:32:03 -0400 Received: by mail-pg1-f196.google.com with SMTP id z2-v6so3630494pgp.0 for ; Mon, 29 Oct 2018 02:44:10 -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=iuq32Mpk0vaszYzvXRhuQKiIl4nbHWKFjX6gYWdOdwU=; b=E/GmGliZXELDu7cEVJRJIqsKJbck9GtHx6wXKR+a7fgJ5zFzeK5Vjp7ZYEX1eBSmf/ /jAcysQLI9vxwNmOE4b3KBF8gOY9YvNEB0pVppDe0GQt4KCiRS0+G351HO8YH43ZPjyK Ncn2WifJJ41EKEguAIgM+htmHFgGKPpd51hSY= 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=iuq32Mpk0vaszYzvXRhuQKiIl4nbHWKFjX6gYWdOdwU=; b=m6x3aFxSYkYIHBqcqJTWMR6ysisaIOSMrz1ebtBPHDKfddwFdHOEpZtz6+Fusfd15s fZO+OPp5PCZWfsBWeZAtIFdXTEjynu8E8eJipvqWNJAov/Zu3Ka9bYKUOrdq0Te0ZrkG JaBnoTwxRhg7kApAAa6ND6IxYr3+O+ZvusTvqS2hpLeuP4asRUTpXKZg9cnoXHmo/z/q d18gjZCE0QYvYtEbZYrmC5rvyof0E2cW30VFOYonJ1fbCLM/7SSplm3x8uedEh14YhcY TvwfII+3cL07stFXfDDKQJ+r7H0RcqI69Wj0R9xQDp5920TD1D7FO6gwUsZoCMS4S9IE buIA== X-Gm-Message-State: AGRZ1gJfyTLxK6JSwt9tFA+M9Ie33RtGcXSLwiWy/A6KIWWUT/j7kn0x mrd52e4WrG6UEBakH0ON/jUt X-Received: by 2002:a63:2f86:: with SMTP id v128mr12722562pgv.407.1540806250535; Mon, 29 Oct 2018 02:44:10 -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.44.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 02:44:10 -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 7/7] arm64: dts: qcom: apq8016-sbc: Standardize LED labels Date: Mon, 29 Oct 2018 15:12:45 +0530 Message-Id: <20181029094245.7886-8-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 APQ8016 SBC (Dragonboard410c), which is one of the 96Boards CE platform. Signed-off-by: Manivannan Sadhasivam Acked-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.17.1 Reviewed-by: Nicolas Dechesne 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";