From patchwork Mon Nov 21 14:51:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13051264 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 9E4FCC4332F for ; Mon, 21 Nov 2022 15:18:58 +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:References:In-Reply-To: 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: List-Owner; bh=fQ5Wr4FRCCSHTCJn/g+XjL/oPFXlLrmH8kh4Q9jBSys=; b=nzvVBrs4o4Gw31 IxUnz34jW3whSy7jjSII4YhRT2rt2+PL8DofcnzYoUzt+BmDHu9IXfBzwX5ouKuBczSBBzkqMTYwo JGr6eKhD+vwgcSB5uOpJQzsVQtojTFIB4Jqi/DsTSYWeBlaQ9RSMVPkvEZsksc7KI7WPR868uP8CK IE+p9ZW8VoAl/+OYxkBv56uSwZDtbNvEsNjbvS27Ljve+ltIFj37kmUWaoUdnnSeI/EyQ2Tft7mkl JxoZHM5yRlglPrvdbucfbQ2u5Q+aN/DRKCrsYNAjuMiOEyncleq0Cl/T2Wq75rraUzkDJVqJ6L9ee 37xrcBbQ8EIU/jWL9ZMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox8Y4-00F4up-MI; Mon, 21 Nov 2022 15:17:30 +0000 Received: from mail-oi1-x232.google.com ([2607:f8b0:4864:20::232]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox89J-00Erry-1Z for linux-arm-kernel@lists.infradead.org; Mon, 21 Nov 2022 14:51:54 +0000 Received: by mail-oi1-x232.google.com with SMTP id b124so12732933oia.4 for ; Mon, 21 Nov 2022 06:51:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8q7SKQ9g5/zxPNM7fJ8X/EZ+UjWDF2jimLKwk1nqyfU=; b=cr71KAWq/USQsv/3oDTOIdP9Io0YYVB/WRMI/qWv+/CdkqKU85iHKQ/irQkZl0Oi77 LD8Av7H6MjGMV18hxoU1eTLo7BaIfyfVlglJkKlp5Eu0LAstncc/eV970fGBRnvVTbz3 Z8WQK36XyDJNP1arfefosJrHFKgiWBFlk2AF53avkIbiLVOAopx2Z7IGRl2AgLHScz4u afHrkrWemWx+G+CLsOElaZ07E01IJhZ/Fja9ba6w2zIFBB0LEz6oQ9yzlUBQ3+aCyiAQ wBBfWQoin3b5nTt1rTC3SmpoMYnmV/BIw8vgNekibCPPwBGlxIZXnP0RBZAPiBc0KdLv Clig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8q7SKQ9g5/zxPNM7fJ8X/EZ+UjWDF2jimLKwk1nqyfU=; b=ihQzshlakY/4SSpN74V3iCT06Ivp/y8xVZUTfdgZFg1HWo+m6VQTGoVzmTEYK9QZM3 XammrHJmNFRgDbP6tSFTOKdK5gTSUCqLoTsRf1k3tykz8tfUMq5RzspXWBN+/s2dvNT7 LCOMhF8GnSlrs4L4//fwZcshDiXbZQ/asB3QrKOpI9pmxyb1WzdgKae4UDmWxhTBu9AP 1lM/OdyYo9qmZm6GgiUw2JrJfiGKw6eZ7D7CHW/90K/LbFIwhwK0O1vb/rFYADOLlxFA wawRHCwScs5CaEoN36A21inLNjkgxcdHWbcQZpQjZkwE0+rZNVFCsHbbocSie4sS8qeP uRFQ== X-Gm-Message-State: ANoB5pmjEJj35AWjoHm+rHngcnXZWNe1YAqrcHw9iaZHaGyxwjauo+Di 5tFp8DslDQ+5y7fejVUIyGo= X-Google-Smtp-Source: AA0mqf6XLaQkLV1krOuwJHcmGJGiO0WS/zgS5WXhtmLYjYIL03KOKYkgK5xRVR7tHf2zLG4QEXF5oA== X-Received: by 2002:a05:6808:2024:b0:35a:90d3:ef29 with SMTP id q36-20020a056808202400b0035a90d3ef29mr12337541oiw.241.1669042311687; Mon, 21 Nov 2022 06:51:51 -0800 (PST) Received: from localhost.localdomain ([2804:14c:485:4b69:5204:9130:9b29:a926]) by smtp.gmail.com with ESMTPSA id b43-20020a056870392b00b0011d02a3fa63sm2661434oap.14.2022.11.21.06.51.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 06:51:51 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Fabio Estevam , Reinhold Mueller Subject: [PATCH 3/3] arm64: dts: imx8mm-emcon: Change LED node names Date: Mon, 21 Nov 2022 11:51:14 -0300 Message-Id: <20221121145114.2362260-3-festevam@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221121145114.2362260-1-festevam@gmail.com> References: <20221121145114.2362260-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221121_065153_135915_80A4DBFB X-CRM114-Status: GOOD ( 12.44 ) 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 From: Fabio Estevam 'green' an 'red' are not valid names for the LED nodes and give the following warnings when running: make dtbs_check DT_SCHEMA_FILES=leds-gpio.yaml DTC_CHK arch/arm64/boot/dts/freescale/imx8mm-emcon-avari.dtb arch/arm64/boot/dts/freescale/imx8mm-emcon-avari.dtb: leds: 'green', 'red' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml Change them to led-0 and led-1 instead. Cc: Reinhold Mueller Fixes: 2449d0440a2b ("arm64: dts: imx8mm: Add support for emtrion emCON-MX8M Mini") Signed-off-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mm-emcon.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-emcon.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-emcon.dtsi index 0dbdc9ec3fe5..421f0aa317c7 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-emcon.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-emcon.dtsi @@ -18,14 +18,14 @@ som_leds: leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_led>; - green { + led-0 { label = "som:green"; gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>; default-state = "on"; linux,default-trigger = "heartbeat"; }; - red { + led-1 { label = "som:red"; gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>; default-state = "off";