From patchwork Mon Nov 21 14:51:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13051262 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 681F6C43217 for ; Mon, 21 Nov 2022 15:17:30 +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=zHZQnKKyAQY8rCu44D917CI5vnr7Ptj9Au10XLkN3zc=; b=gpY+0rwN/xJOTN RpCjvj01tI9UaE9bufqUZXWn4hFMGsmzAvee3uAl9eBLaIxOwKJUejyw4s7bn+dm0q0uE6jsM8vCF 52Z9nWYG/6CYTOryysCYlDH/qPprlV3WHVZ1yacSUpElTYbRydVEX3aWo4V5PeguFCowTBoL4NG+b b8xsBFRQuCcIapODM+LZhY+oUEfVtx8eJQYxSB9/tGUeG5mYHxV05xTRiTiK5VrLQn+40sJZv06Hm cfFqcldxO7Zpa7iAQkLOzM0dwEw6GHsS/b9a6DZXxcESgGtzc7hSSTQHoZ+2XRakghtnP0v1w6JCT mEDhsn4+0aoG/pQuZimw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox8Wx-00F4TW-41; Mon, 21 Nov 2022 15:16:19 +0000 Received: from mail-oa1-x32.google.com ([2001:4860:4864:20::32]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox89E-00Ernv-0O for linux-arm-kernel@lists.infradead.org; Mon, 21 Nov 2022 14:51:49 +0000 Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-13be3ef361dso13901272fac.12 for ; Mon, 21 Nov 2022 06:51:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wA019ozzivEsYXA0Qyuqw9vrdFbGKFLaFrgPJ9wR3H8=; b=lWTyBjh7bCIBAqro9fMLMkSNraqFrcdkpSncxBcX11OXDg+xr2pX1Rn3rz8OWUA3dx SsPndJngI8oGEcmVEZMLbtk8d/6xBLr0mS7zI2P5Jet/Wwqomx20HCReKEjAyXGjWZId +QprvZk2tme1JeR+Z4NdNBcvvvj7a96MRyKGxQi2ltluPdkqL4Rqhvu5AQpPCka/KbIj GU6UP7vwh4P87l8+pQ9tBfXQdhsvwCFYrYD/5JERabuF2SAJdl79iuHZa5CXidgygyMJ zkMt/R1kyHSJXr9rEzj9TdqrdsXP4Ox8qNqYymwwHtBC2/zxxhuPXaE8iqxfYIu/S7cK qIDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=wA019ozzivEsYXA0Qyuqw9vrdFbGKFLaFrgPJ9wR3H8=; b=e5Wj7pPuMtvFhn/NAzhZHKBXNX4adFjCQDWZ5VWC6vo156Zhc4OfpSbNdxNBlK0MYi Z9LaNqMHarSRpjPiHt3HDcVefMa/6vvmWZGmv7qNvGkv3Z3A61Tyx0ATv2cUGujBqAdq NI8Xb6KYHndGuYu95IwHcX5f+pp+/7VQUbPUSNz+18NJg3a0/lceTlYd3Xw79nPmkjJf OpBv7x4XZJWGB9wogZ59YSkx5mHxAD93UaDULwXPegNjFWRQ4PNOzJAWeO8Th/dWjqnx Acl4V9ky+GLzeReRUYeaZi9GQF9HnJNSO/KUCPZLx8p3n1gHbYNL9semVmmx7gTP16Ob ZPtQ== X-Gm-Message-State: ANoB5pnKv1zoWXhh9XoZPl/r0NPTJoExVCRcIyfWHEWyRrEVzst2iMR7 wRFbCj9hKF6H5yrsM1R+sIo= X-Google-Smtp-Source: AA0mqf5ycGnRWbOLJyrlKyUeN3JJhkKrPEjYBxoYs3NTACGsiE3yG4i3TYZeWI0gCD8cEoKvKnwnxg== X-Received: by 2002:a05:6870:41c9:b0:142:6216:64bd with SMTP id z9-20020a05687041c900b00142621664bdmr1530172oac.232.1669042305869; Mon, 21 Nov 2022 06:51:45 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 06:51:45 -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 , Manivannan Sadhasivam Subject: [PATCH 1/3] arm64: dts: imx8mq-thor96: Remove invalid linux,default-trigger Date: Mon, 21 Nov 2022 11:51:12 -0300 Message-Id: <20221121145114.2362260-1-festevam@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221121_065148_123689_FE78155A X-CRM114-Status: GOOD ( 10.78 ) 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 "none", "phy0tx" and "hci0-power" are not valid values for the linux,default-trigger property and trigger the following warnings when running: make dtbs_check DT_SCHEMA_FILES=leds-gpio.yaml arch/arm64/boot/dts/freescale/imx8mq-thor96.dtb: leds: user-led4:linux,default-trigger: 'oneOf' conditional failed, one must be fixed: 'none' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'ide-disk', 'timer', 'pattern'] 'none' does not match '^mmc[0-9]+$' 'none' does not match '^cpu[0-9]*$' From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml arch/arm64/boot/dts/freescale/imx8mq-thor96.dtb: leds: wlan-active-led:linux,default-trigger: 'oneOf' conditional failed, one must be fixed: 'phy0tx' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'ide-disk', 'timer', 'pattern'] 'phy0tx' does not match '^mmc[0-9]+$' 'phy0tx' does not match '^cpu[0-9]*$' From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml arch/arm64/boot/dts/freescale/imx8mq-thor96.dtb: leds: bt-active-led:linux,default-trigger: 'oneOf' conditional failed, one must be fixed: 'hci0-power' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'ide-disk', 'timer', 'pattern'] 'hci0-power' does not match '^mmc[0-9]+$' 'hci0-power' does not match '^cpu[0-9]*$' From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml Remove the invalid linux,default-trigger entries. Cc: Manivannan Sadhasivam Fixes: 68ca364d4812 ("arm64: dts: freescale: Add devicetree support for Thor96 board") Signed-off-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mq-thor96.dts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-thor96.dts b/arch/arm64/boot/dts/freescale/imx8mq-thor96.dts index 5d5aa6537225..170e00c2447f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-thor96.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-thor96.dts @@ -35,7 +35,6 @@ user-led1 { user-led2 { label = "green:user2"; gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "none"; }; user-led3 { @@ -49,20 +48,17 @@ user-led4 { label = "green:user4"; gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; panic-indicator; - linux,default-trigger = "none"; }; wlan-active-led { label = "yellow:wlan"; gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "phy0tx"; default-state = "off"; }; bt-active-led { label = "blue:bt"; gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "hci0-power"; default-state = "off"; }; }; From patchwork Mon Nov 21 14:51:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13051263 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 2294FC433FE for ; Mon, 21 Nov 2022 15:18:12 +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=s4kQ1CevkaFRuVTRJr2FPFlUahOiRnL/FQvdmF89wHU=; b=gK6gNUm9AqPRHR p6Q3ycJgXFV6w+tuenQ1JPgjqjQaaX1mZG6kBQdoyuFGw5TX1cz6S7Di+JLQUOS7rVhGcUfkfrIyb 0IYKogYG6Gw7KS/B50n3nAE4puJApfJsHlFk0u2Z9EXUt0jqSZelHh24NwUXXz42a/yFhiRLrQJdJ wY5yJALXr6iVvE4RFRwoa8N/D65TG/fU/KffYKdYTwxsbL1Ya08NwlOCamzO93YiLM+QByNetwrt1 K43j6LtSUJjoLF6rtG0VttLEKBq43TruM0kFaZcAyOJDNEUUUoFPtP/ZbDMb3QZKBfeNC+ReBRi98 /ZrCg6lv5C6zjyInk5Pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox8XY-00F4iB-JY; Mon, 21 Nov 2022 15:16:56 +0000 Received: from mail-oa1-x35.google.com ([2001:4860:4864:20::35]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox89G-00Erpo-JS for linux-arm-kernel@lists.infradead.org; Mon, 21 Nov 2022 14:51:52 +0000 Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-142612a5454so13307977fac.2 for ; Mon, 21 Nov 2022 06:51:49 -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=E7g0H+ehIGZNdqa4A7YDkdZ/+lECQ9VREU5C8HDYekU=; b=S94Rkx6glASozdUDqhoaAg2fZt0biTwpJ4nWBCv2t2xIUu4RhmdcfAVqQgVP5qH8cT DHi1z3KpvNJ0NTS7WdwQsaDbYqB1b5YEvCACgNt0QDo8sXgxZz7k1l2Z+amt236GuDoH J+P6G1CLPzJsSaOav2G3iN1HJQNE3h+GH6KanF9f5nKq5YwRoczm/FXK41cd3Ftnwg0+ xaVepiEs3exVd+tJTjMlhi2f1tjnGQcKga3KhQnmnRMI8LZ9VHiux39u2e625Nyy1Ypg q30jo4zA6z7u2SgbFniiMQp/Vs17hgzveOBgeDcUoCgiGNJnnZtPLLtIs68G4v0gkKiN uGKA== 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=E7g0H+ehIGZNdqa4A7YDkdZ/+lECQ9VREU5C8HDYekU=; b=Qg5fI1aMaIhO9lE04r27rt1BqmcackyfzqVgZyV+/34IcgsbShsbZWR1EoRwWmRcIa AUVY0eLQUL1dOpUnBZ07McxYU026WR2rU+0g93LP6gaw7AvjG+GOuwD4/CiMmtMxsUR7 pezmc+HCpnXAqqjRt/6YTay5803jCEmRfyCnkayd2QTFUUDH+4f2wAIU+cQvcSccAQiA 2G01qKPlA1MMsw9oaZVIgXMaCdQO0RBjhlCTEpe+nTr12tN2Ue+YyYNXRCEcO/r81QlL gRtYgEK0V4CcQzZu7WwmVM48qEkly4okQZxI4jwW/oYVh7wvQm1wy2YH/HvZE5FJ/IXU upmw== X-Gm-Message-State: ANoB5pmzD3kZ6z2M3FwaDX/LmvN+tK5AUdWK4lGhe5YPQ7Ep+/qR6Vkl kbnIyGyC17hbuy2YOZ8Asds= X-Google-Smtp-Source: AA0mqf6OAphaYCi7O3nu3nGRWvwLs3Mby0lJKTSAl8dF0MzCg/ZqlmYgE50BAC4NDWADVvon8P12BA== X-Received: by 2002:a05:6870:ea8e:b0:13b:a31f:45fd with SMTP id s14-20020a056870ea8e00b0013ba31f45fdmr13385064oap.194.1669042308404; Mon, 21 Nov 2022 06:51:48 -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.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 06:51:48 -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 , Manivannan Sadhasivam Subject: [PATCH 2/3] arm64: dts: imx8qxp-ai_ml: Remove invalid linux,default-trigger Date: Mon, 21 Nov 2022 11:51:13 -0300 Message-Id: <20221121145114.2362260-2-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_065150_682981_C0D19BAB X-CRM114-Status: GOOD ( 11.43 ) 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 "none", "phy0tx" and "hci0-power" are not valid values for the linux,default-trigger property and trigger the following warnings when running: make dtbs_check DT_SCHEMA_FILES=leds-gpio.yaml DTC_CHK arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dtb arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dtb: leds: user-led2:linux,default-trigger: 'oneOf' conditional failed, one must be fixed: 'none' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'ide-disk', 'timer', 'pattern'] 'none' does not match '^mmc[0-9]+$' 'none' does not match '^cpu[0-9]*$' From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dtb: leds: user-led4:linux,default-trigger: 'oneOf' conditional failed, one must be fixed: 'none' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'ide-disk', 'timer', 'pattern'] 'none' does not match '^mmc[0-9]+$' 'none' does not match '^cpu[0-9]*$' From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dtb: leds: wlan-active-led:linux,default-trigger: 'oneOf' conditional failed, one must be fixed: 'phy0tx' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'ide-disk', 'timer', 'pattern'] 'phy0tx' does not match '^mmc[0-9]+$' 'phy0tx' does not match '^cpu[0-9]*$' From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dtb: leds: bt-active-led:linux,default-trigger: 'oneOf' conditional failed, one must be fixed: 'hci0-power' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'ide-disk', 'timer', 'pattern'] 'hci0-power' does not match '^mmc[0-9]+$' 'hci0-power' does not match '^cpu[0-9]*$' From schema: Documentation/devicetree/bindings/leds/leds-gpio.yaml Remove the invalid linux,default-trigger entries. Cc: Manivannan Sadhasivam Fixes: 56838644f9dd ("arm64: dts: freescale: Add support for i.MX8QXP AI_ML board") Signed-off-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dts b/arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dts index 7d00e17f0447..233dea6dde22 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dts @@ -41,7 +41,6 @@ user-led1 { user-led2 { label = "green:user2"; gpios = <&lsio_gpio0 6 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "none"; }; user-led3 { @@ -55,20 +54,17 @@ user-led4 { label = "green:user4"; gpios = <&lsio_gpio4 21 GPIO_ACTIVE_HIGH>; panic-indicator; - linux,default-trigger = "none"; }; wlan-active-led { label = "yellow:wlan"; gpios = <&lsio_gpio4 17 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "phy0tx"; default-state = "off"; }; bt-active-led { label = "blue:bt"; gpios = <&lsio_gpio4 18 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "hci0-power"; default-state = "off"; }; }; 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";