From patchwork Wed Apr 27 09:42:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 12828518 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 04FC8C433F5 for ; Wed, 27 Apr 2022 09:43:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=5Z+Uh7tswyJwO6tmcL6FeTeA//6ySTkVbDTbLOeDyLg=; b=11C4PJg1nRP9QH gF2mUNHnoXnU9/VGk3nRFOI0GNdo+rxT/QVe7xLQ9kkPp/mkx4OCoTYREu/CJ9Mnps9knTpmadN18 S7L+jpt3fO3c5eKoO3Nv6TS4vHmkK3qj7ibW0adj2Jz9BoHAx5FhYH4TErCaqlQ6myej9ZXfp1buL aek9h+FwE88awnAD7ZU7vM7FAyVOBFOVGapCjCioaOKH7rZN8Rv/5do/qM2/bn47uTqg3D04uc3eh KrQhjnO+FYMi0Jot4Mugq8JP6usnLFcM8/s48Y2PPBxoAdGH5E0YFomKnS7LLz4ZJATs2u2YJ6Vhv b2HuEIiLaH9ye+iVm6uA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njeBb-000oka-JT; Wed, 27 Apr 2022 09:42:15 +0000 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njeBX-000ojL-B9 for linux-arm-kernel@lists.infradead.org; Wed, 27 Apr 2022 09:42:13 +0000 Received: by mail-lj1-x234.google.com with SMTP id s27so1902178ljd.2 for ; Wed, 27 Apr 2022 02:42:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4zF6vmm1jqxhjrksodRhXTtgiZDnY67pwxK1sZVxNaA=; b=RsXdTr3NQ9dHDf33fEK0QaeiutbVPBu4hJ6U1hsOpi8kRhXpQ9h078dFs4nGTeb9bS AadO2RjZbl7IlMr1pM/6GzDa7AMvv/PVv5UIDLTSeovFNMvwGfunJRHUuyOVdKojFNjy fkl8dPR3czcZ7FhAfIWEQcStGnmB4rgfrfJgKen4Lw30/j0TjijlXhxSk+e4f8HJlOOv z7tguUMAtzxu7pQoFYXM4oj2P5R2gcbD5mQr2XqzRQGrpvglwSo7fwk0dcHsjSy9R/7O 04yLYQEC1QY1eIdzMocF0UgWLTcHt0G7+RW2jQ1bDOdKyYUjOGZ9fY8o2wDzdkbI9s8N U3OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4zF6vmm1jqxhjrksodRhXTtgiZDnY67pwxK1sZVxNaA=; b=UHTHST/PDieo9fHHcnzdy+MMWDlKxoBbh8p74s6JpkVrNPMuLiDPFRZFmw4ID8lTa2 qewybDsyiWkFZ4HLTOFOxX/TOprv/XmtMO1GONKhTF5TIj//kWR2B27tMH4MlTeDiCBX zuFTDm4VWQGtUhNdbr8RhH9RMKfhlBrw/Tam/0sPQC7jrkREpemyGS1EJ/0OuOvrQgAE Lt96ClOpNK0+CrqU6ok09DD/CkE+90vkreQNOzmhDoGId81fCd9e6hGRujwVjo3jVkDk JaTy0ypixsSY8BuSkeniKvt7KMjgDKAtyIkBb1x0LJYb5hJEXJOwk/2qJQ6OKK//6DmK miJA== X-Gm-Message-State: AOAM530dKt9v+U6IxQ+Gm6EITox3Ys2RJj7T8IjvSXKC3gxBWEYlWs0O eqIvIGBQVtzFkB4yVfRbWMAMUquHnhuKSD4y X-Google-Smtp-Source: ABdhPJxiqiHR8J9K1/0ZCOGnhhfkng9V5c1omjOS1cax3FQb1YWWNoavHNLe5/p7Y1Flp4Bd9hMsgA== X-Received: by 2002:a2e:824b:0:b0:24d:c247:c928 with SMTP id j11-20020a2e824b000000b0024dc247c928mr17374707ljh.68.1651052527607; Wed, 27 Apr 2022 02:42:07 -0700 (PDT) Received: from shc.milas.spb.ru ([188.243.217.78]) by smtp.gmail.com with ESMTPSA id x16-20020a19e010000000b0044ac4a38ef1sm2007568lfg.4.2022.04.27.02.42.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 02:42:07 -0700 (PDT) From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Cc: Shawn Guo , Alexander Shiyan Subject: [PATCH] ARM: dts: imx6qdl-phytec: Add LED labels Date: Wed, 27 Apr 2022 12:42:05 +0300 Message-Id: <20220427094205.10959-1-eagle.alexander923@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220427_024211_416962_5F80BB55 X-CRM114-Status: GOOD ( 11.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This allows boards the option of adding properties or disabling the LEDs entirely. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi index 1f2ba6f6254e..768bc0e3a2b3 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi @@ -47,12 +47,12 @@ gpio_leds: leds { pinctrl-0 = <&pinctrl_leds>; compatible = "gpio-leds"; - green { + led_green: green { label = "phyflex:green"; gpios = <&gpio1 30 0>; }; - red { + led_red: red { label = "phyflex:red"; gpios = <&gpio2 31 0>; };