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