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";