From patchwork Sun Sep 10 12:57:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13378523 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 5ED64EE57CD for ; Sun, 10 Sep 2023 12:58:10 +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=N5a+dAoY0ZJRZvbhNxhCIbXv4Z5w0MMQcQQq918Vric=; b=D94W6cZRJ8w1VQ vnde6XvwKcXB7ownPzN19CrHXyAZDbtb1vjyyhXSPrC8b7ok7xo1a7YkQXNQg/lOGcboc3bp9YBda fnM9xwgoO6lQepT77AADxHkGjpQQD0/Y7wZTcrrMQsV+dSH3xYrRIIqop2HdBM932YJ9BavH6Ey2L 2AmiDjZzCq6Nu72cibNSqwwjTHEX93lSv6sI91KVnk+ong0y1vOLAH0nfgmX5u2sCBcfH2xXkSc6N nC3gLCb8G9iuXsmVryEgXkrIxMBZvDWKzqVMRBWwRIQmQVkxDNtc1vvWpYrIZUQIZE9TZvfB2Vuvf 98B90KPoWtPSpbavUjLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qfK0Y-00GcUM-2j; Sun, 10 Sep 2023 12:57:46 +0000 Received: from mail-oo1-xc36.google.com ([2607:f8b0:4864:20::c36]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qfK0U-00GcTe-34 for linux-arm-kernel@lists.infradead.org; Sun, 10 Sep 2023 12:57:44 +0000 Received: by mail-oo1-xc36.google.com with SMTP id 006d021491bc7-5711d5dac14so870579eaf.0 for ; Sun, 10 Sep 2023 05:57:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694350661; x=1694955461; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=grqhlL3knoEWtAMfMGLrRQSBW7r6euOi5D/2w+ituKo=; b=FbAp1JDYdbTqQT1xkXi5UQtHudub4CGt8phzPs1IBmDTxbwId/f4ibnlRP32kVo4S0 rpfW4eXdL+6/apAfks+MfnaKDBHDJ1j8jGZuIKUv6cTEk01yTQb2qirC3rVlF/RUhAkC +vAmWP45qmFq3VPDdd5y0hnYUsl+OuFZYfp4jdEFNazaefu1qbaa67DHwpxJ0m8Z0X0g lheXTx5BqpJ+X9XaXuIQNvKvaVG/Ams7HFTNEDb7++rkr2hHWs0Cyob4JTAb8qVEV0wy q2UYwNslaLg1Rx36B0UV6SwqepTZgsy55IfarYFg2VZCbXzgrBFij5O6z7juWg8Pwdbe htEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694350661; x=1694955461; 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=grqhlL3knoEWtAMfMGLrRQSBW7r6euOi5D/2w+ituKo=; b=OsogK2+RNll7v7Tjid86pan3ok3uRklzhbsJsvOw3tTWdjl5Z5WxW72zSoaLaRXH6S uz9Wf+FsraN5ZFGk0ppNU5eddNtdOkk/S57rTGYCDi/hJ87D8A7AkeW+Ti1cJSAz8u9h sJEG4dRntOSAcQWpf/dGDnRZ1NuBRgj6ZKVkc0A2PvzOuxzvx90QZjH3yi6GWYXMc06T 6H8QiOmzVU4mox3IXPfMp9d4kNAF2KfRHJq+3Twgt/8Sij73+o4ZZzaFnwfAZ/dLu8mb dMgltFdTfS2DyteKF9Tbn6pWoN1HiQzpICG24b/a1CRu1i9Maasb4ij4rbqKoiKBLIrB 7KnA== X-Gm-Message-State: AOJu0YxrW3usIx82Ebvib0DnM0Ss7cObBjNMToQtYukwxrnpwPKFzE58 TDlUyUHeCHylwh16hv9gxfA= X-Google-Smtp-Source: AGHT+IHEpZvvG/cwJtLIZ6GJX6F/gbDVkukTvAOt3ddIqDWNedydPsmarXIMONisTWx1aZiGxnt7DA== X-Received: by 2002:a05:6870:b014:b0:1c3:c45b:92a7 with SMTP id y20-20020a056870b01400b001c3c45b92a7mr7378747oae.0.1694350661175; Sun, 10 Sep 2023 05:57:41 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Sep 2023 05:57:40 -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 1/2] arm64: dts: imx93: Add the TMU interrupt Date: Sun, 10 Sep 2023 09:57:25 -0300 Message-Id: <20230910125726.1243652-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230910_055743_013870_35078933 X-CRM114-Status: UNSURE ( 9.81 ) X-CRM114-Notice: Please train this message. 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 The Thermal Monitoring Unit (TMU) interrupt is number 83. Describe it in the devicetree to fix the following schema warning: imx93-11x11-evk.dtb: tmu@44482000: 'oneOf' conditional failed, one must be fixed: 'interrupts' is a required property 'interrupts-extended' is a required property from schema $id: http://devicetree.org/schemas/thermal/qoriq-thermal.yaml# Signed-off-by: Fabio Estevam --- Changes since v1: - None arch/arm64/boot/dts/freescale/imx93.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 6f85a05ee7e1..5d36b7a5bbd5 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -385,6 +385,7 @@ anatop: anatop@44480000 { tmu: tmu@44482000 { compatible = "fsl,qoriq-tmu"; reg = <0x44482000 0x1000>; + interrupts = ; clocks = <&clk IMX93_CLK_TMC_GATE>; little-endian; fsl,tmu-range = <0x800000da 0x800000e9 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