From patchwork Thu Aug 10 14:44:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13349560 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 D2E87C001E0 for ; Thu, 10 Aug 2023 14:45:35 +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=TjjhQ5YQanKWuagBDHUZVMuijRly/sYohEYTTXm2gN4=; b=CEC8mvHUAHtr+F DmpMu1b0VUcmtN1IOWWr8zG1i6w0AdGePv/px7rJAqWiGqjosMQT8m1L3eRQqoMrZ9o6iVklV8JEx NRP4wxzOzJFzL0MsfYemassoSeDI0se2e8FXpXPAuT9iFKb4Zb59dChQ2SXWcWppaJop4hyuSz4ne VPJ/nOEminnE7qDA1nkk3rMsuh712WnmcMVV6eOFPcJ1C+IavvE/y/5y4AsQ++vXvMbBpRGOQ6/sj nH5ZLXoUeEoOLVOwssq624QzWsdhp8jYPwrVU5MSF0hJHBl17ufbDScE58gO5lHAocC/3gRG1Al6b ld5wfFYruWfGy5p8yWdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qU6uW-007u8G-2x; Thu, 10 Aug 2023 14:45:12 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qU6uL-007u1O-1K for linux-arm-kernel@lists.infradead.org; Thu, 10 Aug 2023 14:45:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1691678701; x=1723214701; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/8fr/hvcmqsJO94upZmC0Hy1/wTw9sh/EMCxiuhZshE=; b=IopXsbLzlzRrJjxXRe5mOx1fV5wOEBcBcpmFhL6mzEWL+1rcPRwcjdXt JTNJfyixoUaSvysPLdydtqBWGkvQ7hp98cAvWCnNBi8UKQjpabwYp/a/V bhyQIBRYF5lGDaOsvQzjY6sXf3IkcRPOslQgVRuHFqFVZa5YVaDvOVVGR 7PCT1ztMzZZQvmEZiUR2ot9a8LF+RsqlSTEXEvge9yd1GcoJmwuTqxLAL JIy8gop/mI6uI6fKO8Z2MRdPKiisJiItbCk0vwUiZVt+5I2JRTyQFJzci lvcIUQLHpFsul3c8C6Ii1UfnHqiZoUu0JfHm86PKlsjSZyfAO1rsqZpFZ w==; X-IronPort-AV: E=Sophos;i="6.01,162,1684792800"; d="scan'208";a="32396720" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 10 Aug 2023 16:44:58 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id C94C328008D; Thu, 10 Aug 2023 16:44:57 +0200 (CEST) From: Alexander Stein To: Philipp Zabel , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Thomas Gleixner Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 2/6] dt-bindings: imx-thermal: Add #thermal-sensor-cells property Date: Thu, 10 Aug 2023 16:44:47 +0200 Message-Id: <20230810144451.1459985-3-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230810144451.1459985-1-alexander.stein@ew.tq-group.com> References: <20230810144451.1459985-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230810_074501_764542_5738C4F6 X-CRM114-Status: GOOD ( 10.70 ) 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 This property is defined in thermal-sensor.yaml. Reference this file and constraint '#thermal-sensor-cells' to 0 for imx-thermal. Fixes the warning: arch/arm/boot/dts/nxp/imx/imx6q-mba6a.dtb: tempmon: '#thermal-sensor-cells' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/thermal/imx-thermal.yaml Signed-off-by: Alexander Stein --- Documentation/devicetree/bindings/thermal/imx-thermal.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml index 3aecea77869f..a746f6a6395a 100644 --- a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml @@ -60,6 +60,9 @@ properties: clocks: maxItems: 1 + "#thermal-sensor-cells": + const: 0 + required: - compatible - interrupts @@ -67,6 +70,9 @@ required: - nvmem-cells - nvmem-cell-names +allOf: + - $ref: thermal-sensor.yaml# + additionalProperties: false examples: