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"; }; };