From patchwork Thu Oct 12 08:00:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 733167 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9FB3CDB46E for ; Thu, 12 Oct 2023 08:00:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347098AbjJLIAl (ORCPT ); Thu, 12 Oct 2023 04:00:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347199AbjJLIAk (ORCPT ); Thu, 12 Oct 2023 04:00:40 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D7C2CC; Thu, 12 Oct 2023 01:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1697097636; x=1728633636; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Llh/lnkSAp58X6xL4PsI82prPrdE86rvb844sXbMTkc=; b=pEXxw/pvygXyCn6uJfO5NTi9uSH5uyVPKxhjrntEaVbqCfUgLe5p69TW 1gm4eMeABoCyEj9x8P9SWfGp9FwGmHE3VMGKTFpMRAnAvHcAMn/dm5poW pHOd5pas7wduGiOuNliEosY1RuSoZTT7Qor3WU1VkMS8YT8C15TGJKeZ/ AklBsu9ueqGisfP+obnRX1qh4Fma7Fn1AlFk8+zR4E1FkGtaTvVozlNhX VAFznTFNnt/OfHpC4lt/dqV3nMfy0NLmIIm7lEI1h63gkjm+LycRTb027 RgjWmhudW8J89SNmXLWZEnhe0WyD0ybpmnQkJev80C6CORIHRsZSOKdS5 Q==; X-IronPort-AV: E=Sophos;i="6.03,218,1694728800"; d="scan'208";a="33422564" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 12 Oct 2023 10:00:34 +0200 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (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 CD8BE280084; Thu, 12 Oct 2023 10:00:33 +0200 (CEST) From: Alexander Stein To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Rafael J . Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Shawn Guo , Sascha Hauer , Fabio Estevam , Thomas Gleixner Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Conor Dooley Subject: [PATCH v2 1/3] dt-bindings: imx-thermal: Add #thermal-sensor-cells property Date: Thu, 12 Oct 2023 10:00:31 +0200 Message-Id: <20231012080033.2715241-2-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231012080033.2715241-1-alexander.stein@ew.tq-group.com> References: <20231012080033.2715241-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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 Acked-by: Conor Dooley --- Documentation/devicetree/bindings/thermal/imx-thermal.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml index 3aecea77869f0..808d987bd8d1a 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: @@ -104,5 +110,6 @@ examples: nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; nvmem-cell-names = "calib", "temp_grade"; clocks = <&clks IMX6SX_CLK_PLL3_USB_OTG>; + #thermal-sensor-cells = <0>; }; };