From patchwork Wed Dec 6 20:19:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13482237 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 A15C2C4167B for ; Wed, 6 Dec 2023 20:19:40 +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=W1msYI1Q6PgXJVth1uQfFLMmQk8j1+fAchxTSV+CMS4=; b=KAKJnCqJWKMGEQ tK1ShH/aaX4LzuUoprM990Fj6prjE3apN7ZM3q8cPC2TsvvUHmNct0RaIiDpeyl9LraKtk+mBwTUB RpAua+7cL7mxjb05ifZhkEhd1WfbuCIRt+gP5Ita2jqhSpVoWZSNpnfk97wEaXMIz2Mgf67i5/DHo O9SV5jNIoTwMz+BKkNY/wQHOeFjWlayE+yt2otmrzKn2ZL785SgE1ewLuBMYKGjXWWZAUW4GKqGor ybMdpxos23T8qaMxKy0f6Q70F4vbe2OAnHK1qdifQWchN7vQdJ2IToAetcN4vUY2m8oQwj5HIdmvE Hj43DKT2aLZmK1vxRncg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rAyMX-00BCn9-0d; Wed, 06 Dec 2023 20:19:17 +0000 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rAyMT-00BCmc-2Q for linux-arm-kernel@lists.infradead.org; Wed, 06 Dec 2023 20:19:15 +0000 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1d03f045359so344975ad.0 for ; Wed, 06 Dec 2023 12:19:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701893953; x=1702498753; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=rZVDq9qgohJ3VUxj3oMWHjzsTYXtLMzBR4OcpdX+hkA=; b=iRMXq+78ypGxdCjexi1mW4jDVg5L16dFiamBCOBdykUH6ywiC3cvztA3FFzbk7dE9+ xHeIZrEPGfKg3LywDQkj2jsRq8CraVDcFzf6AsdeXMBbSGt0vUfU9oHuOC2ruIWb3Hps 64WT7FcewMahDxS/UO4xwRBgv88M+xoNDbUAiFrVq58eJiaY6tcX1FiFqhGc7dumDnZf xqsJgTDoAfvRwv6z7uUwxkw9Aj2wxOBEc1vGoKO64I485e9IphTMM3BtiG1ZYrc9S5c6 FyCdhdFlOt7L93G/3tqE2VKU3MSxOOY5xWWdzgo+xHuRmLMPbCMzbVHSxZ932QQq56QA x/mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701893953; x=1702498753; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rZVDq9qgohJ3VUxj3oMWHjzsTYXtLMzBR4OcpdX+hkA=; b=DnUSzzyJ+lj2vbxHtGyoqpzeuCmp0Raqi3EJ1T6wpWyxOyoNA1UMuEzSPuouaL6rfc I9IUAd8TLiS7LSGXmg6V+5cZmZn6UXvlrwbQJoMdWi5IuoFzOhH6xwZFGl5Zp3gOWlq7 DZXRfLtOVtCvheQ7063KFnsfi//be/MvPsvtbGLVtRb5XUKxdoyGxkJfapUBj4xLu8wr lbHyIOKE4KyzGS9fTbeTzHz0JlFQcoJ3ShnimXwlk/qb8AyyMC3A9ivWbhs9jVGhSnsH Pej3fnqNobA03majBguhn0/RODQUFLZQUAJLipiPqNKYgn2cK8G0cwM5ShvuVyG8Dflk YwfA== X-Gm-Message-State: AOJu0YwuOs6xhwZJ8x0pDZ0xKnOMGX2SM3R8UMF/+PDcYBVAUu4+mnFP SaH6D97fIZb6TryefD6y0UVUcnVCktY= X-Google-Smtp-Source: AGHT+IGDqtONn50xsJVA0z6q9KaZM/ccwaUXwni1OUugoeXMexNXjFLpFJda5BkKftXvX9uIKCI1gg== X-Received: by 2002:a17:902:db09:b0:1d0:c93b:fb9 with SMTP id m9-20020a170902db0900b001d0c93b0fb9mr2889011plx.3.1701893952892; Wed, 06 Dec 2023 12:19:12 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:6764:e124:5ffc:3f5]) by smtp.gmail.com with ESMTPSA id m14-20020a170902bb8e00b001d04d730687sm222301pls.103.2023.12.06.12.19.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 12:19:12 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH] ARM: dts: imx27-apf27dev: Fix LED name Date: Wed, 6 Dec 2023 17:19:05 -0300 Message-Id: <20231206201905.2383591-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231206_121913_806381_62244C1D X-CRM114-Status: GOOD ( 11.88 ) 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 Per leds-gpio.yaml, the led names should start with 'led'. Change it to fix the following dt-schema warning: imx27-apf27dev.dtb: leds: 'user' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/leds/leds-gpio.yaml# Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/nxp/imx/imx27-apf27dev.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx27-apf27dev.dts b/arch/arm/boot/dts/nxp/imx/imx27-apf27dev.dts index f047a8487073..849306cb4532 100644 --- a/arch/arm/boot/dts/nxp/imx/imx27-apf27dev.dts +++ b/arch/arm/boot/dts/nxp/imx/imx27-apf27dev.dts @@ -47,7 +47,7 @@ leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_leds>; - user { + led-user { label = "Heartbeat"; gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat";