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: 10658979 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 878A814E2 for ; Mon, 29 Oct 2018 09:44:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 77E1C296EF for ; Mon, 29 Oct 2018 09:44:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6BF5729865; Mon, 29 Oct 2018 09:44:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 067B2296EF for ; Mon, 29 Oct 2018 09:44:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729812AbeJ2ScE (ORCPT ); Mon, 29 Oct 2018 14:32:04 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:44270 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729594AbeJ2ScD (ORCPT ); Mon, 29 Oct 2018 14:32:03 -0400 Received: by mail-pg1-f196.google.com with SMTP id w3-v6so3597687pgs.11 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=AkGpDk7PDw/6P8iB7l3i4E6ADxOvCXqSc8SuIHeZOarVDPNS67+UCB/xIiuz+qnsxf oxC/bCaGvsiF3J72PfN5perFOY7/TkHkgqjdtgVkNr/tLIgjEHtNNU5iLd+wo02KNSKt GGKQPNFazJKD6QXos/Wo8LRz+iZh1Fm4X0yJRY247ZtaCAsEgyP7MUiGPTVFi7b3SbMy MMCT1Ma+2Jk17L8T29pzP+deRCRctQB5lDU1FWGRF5BUNHS4fXEHAfLz8mPpTzCuj3V8 QeMQdkRmZIj9tnEb7i0056jPqIKcGCPo/ZJqdhjWcUrZ3mzjObWU29SWLtrt65uSxFGw o7Yw== X-Gm-Message-State: AGRZ1gL//OBRl0oh+TtXVkIzxqW/UEq5aTlk78knDbtaub2aCnX2Gdgl GdoCRNKWG1+DDWRja6QPuX6y X-Google-Smtp-Source: AJdET5dh26ozskmBKMA5GgwGQbYkZ/VwESeLq6Vc00fJ+16kUQiaRegGfWQFsMZ8bzagYFVZen2a4g== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Nicolas Dechesne --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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";