From patchwork Sun Sep 10 12:57:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13378524 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 C0451EE14D8 for ; Sun, 10 Sep 2023 12:58:13 +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=AXd3lJDub/oLCpPva0AgPExndL/hKixbmwtLeB8cQ/s=; b=4cftsewnFbnzdC bmBifewMT2dfGfR0k41Z+PO6SiyHyQoLRs5AgDuUFwekxrdxncxzHnSqdk64p4vqjDLPJedXIVul8 zU9Qn3N41xpIUVL3ZzwXg7vm3DVoaEAC61Rl3kOiKTcGhahqz4kQ0rni9HrdQSJImoltLjNJpu4Wj VPgjzBLm8egFmE7HUA/OePto1VS/GqTrbxGQivcXxTr2fBmDln9nvj9Mg4YTPWTasHS2aXKgXB89O i9IBl8bWfx3uEfDCPl4eDCQ0OrTag6OwuamoI3vfYd1kUkjFc2tpRwY24Dkjg/j4stfTqBtUe2Rz0 YlkZaZASqNEfVbJ6hWvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qfK0c-00GcVL-1W; Sun, 10 Sep 2023 12:57:50 +0000 Received: from mail-oa1-x2d.google.com ([2001:4860:4864:20::2d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qfK0Y-00GcU4-0X for linux-arm-kernel@lists.infradead.org; Sun, 10 Sep 2023 12:57:47 +0000 Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-1a2dd615ddcso1126649fac.0 for ; Sun, 10 Sep 2023 05:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694350665; x=1694955465; darn=lists.infradead.org; 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=sgwfLaYSJ5WLNmQQVlnmctv4wdhVxz6XAmlsUYvHCyU=; b=mChthmrafPQ4IxCxGa0JFKJrEfpzOyKp0F0fEs0UKR92kj9xDhZFqF5SQwFXnGnb4r osQ1AeObzfh06q7FrT2ji27uTR3wLd133m7YyJ6zsZJJYvKvSOLBf0IVuw8LLjRFq6MG H/+LQtMFZKfTixFE4NG78x+w+ULgX+935knMEAU05CiIvGSiQsNIIKlx+B3C3ijr+LnK NsPl0rd4Gc5UVw4oAtM2gqeJclfDdTCRuzJi+BERymrxaR9jWa6mCt2L58G70GNwHKVY 4pAgrI7iw4yJFvJH8uBNJlATh9MSnzm9C1ks3BoVnXu57RYOZEjmA9yuGjPHvl1QF4e+ p3CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694350665; x=1694955465; 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=sgwfLaYSJ5WLNmQQVlnmctv4wdhVxz6XAmlsUYvHCyU=; b=nSGornSvWPMg9v5UMMaA8lw/fpjiwN8K5q3codFHZDEFK81bROpHHbljtFSOrmEggy VL0HAyt0MsFOYC5W+YjY4dUNJTcz9U0GWbbD1sG0rRT8IlpJmr3syuFF78B3a9iOzkB3 UdSW924orrtp5AZsMNZjUHR1ZTruiW8eVaVgym6WQV4CblSJ9D/xaZ+mBot43gdSW9DW NHlhOG1P9pkTsxeGYxeBd/zleeM8oXcD40+2BxUWIxsZaw+JTYg+GITwRqFqve/m+f89 hwzOjflACLcB68wZFGHxdIaKKgaBxyaWeDNPmR1Lahh35DgFD8P3SizW+VFOQTkP6ngG y+0w== X-Gm-Message-State: AOJu0YyxVvFyiQxAmiX2JlhCg0IQvubZ1DroN3RlWIZckBXUHyEJ3ukc EbpsUAfRGZP67lBfe6TTExw= X-Google-Smtp-Source: AGHT+IGQYCYevNYPYqdUE8fLe1mdOJ2joHXFt0x+hbNSkhZOhcio0Q1nFxqVJzMl5p0v01YSKVGXWQ== X-Received: by 2002:a05:6870:970f:b0:1bf:9fa2:bfa3 with SMTP id n15-20020a056870970f00b001bf9fa2bfa3mr7252379oaq.1.1694350664922; Sun, 10 Sep 2023 05:57:44 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:8ae8:e729:67d1:f8d9]) by smtp.gmail.com with ESMTPSA id y2-20020a056870e3c200b001c4ede43955sm3003140oad.31.2023.09.10.05.57.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Sep 2023 05:57:44 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, linux-pm@vger.kernel.org, linux-imx@nxp.com, Fabio Estevam Subject: [PATCH v2 2/2] dt-bindings: thermal: qoriq-thermal: Adjust fsl,tmu-range maxItems Date: Sun, 10 Sep 2023 09:57:26 -0300 Message-Id: <20230910125726.1243652-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230910125726.1243652-1-festevam@gmail.com> References: <20230910125726.1243652-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230910_055746_280495_AB94005B X-CRM114-Status: GOOD ( 11.76 ) 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 imx93 has a maximum of seven entries for fsl,tmu-range. Change it accordingly. This fixes the following schema warning: imx93-11x11-evk.dtb: tmu@44482000: fsl,tmu-range: 'oneOf' conditional failed, one must be fixed: [2147483866, 2147483881, 2147483906, 2147483946, 2147484006, 2147484071, 2147484086] is too long Signed-off-by: Fabio Estevam --- Changes since v1: - Reduce the context of the schema warning in the commit log. Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml b/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml index 145744027234..d3734fc66f78 100644 --- a/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml @@ -33,7 +33,8 @@ properties: description: | The values to be programmed into TTRnCR, as specified by the SoC reference manual. The first cell is TTR0CR, the second is TTR1CR, etc. - maxItems: 4 + minItems: 4 + maxItems: 7 fsl,tmu-calibration: $ref: /schemas/types.yaml#/definitions/uint32-matrix