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: 722020 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 A1A4FEE7FF4 for ; Sun, 10 Sep 2023 12:57:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344946AbjIJM5q (ORCPT ); Sun, 10 Sep 2023 08:57:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233336AbjIJM5q (ORCPT ); Sun, 10 Sep 2023 08:57:46 -0400 Received: from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC82ACCD; Sun, 10 Sep 2023 05:57:41 -0700 (PDT) Received: by mail-oo1-xc2c.google.com with SMTP id 006d021491bc7-57328758a72so863493eaf.1; 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=vger.kernel.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=WpoEbILrCrEkuPExC6rJSRoe3ac7Ps9qMyeNyropOKSGPnp2LQotoRex+Jh8AQOLg6 0NvWBWRQuKFn8KICehwoic/3/vueimV+cH1/vgbXR+Frxj4vYMF3FeoAIiSwP4/N0TBQ w0X0FG+yai7RXmxehohUknKcF7SmQF8aATUOz5a5m81QXY3CzRUS6yJ/BwmkRABmvOpa sRyuXb5xRr3YUNEuvKY39EgCraVdZIBKGsiEdExaFKHYq10M7Ga4aAgZ5sgP1iHSbqyw j5vBqCzTmLru38mgnTSGkxSTOiLFRIl8SVNuKkAzBPGDafwD1nWOgZMVC+HI+f5lw8W3 UCVg== 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=rCDxh9V/hpOFu2+3GCzJFsq8Qwd3qtwMqstA4nGug2RVSPSGmq7tGyDLiYc0ZhS9Ap J024Ug4vONHdUaXVWCTgKMorUiRfEuLYa0yeRaClIp7leaAD3tOTA1gKLpJf+ZkxjNEI rA7X6IqZiylfvd/qYX7NZejhdhTS2sQNK0mBdTes46VbyMfBy/0CXvANbKchxYs2aTty SS3cpN/HKqwPJkvVHqb71WKiIajguKJh4QACptmh2Q//ifQn+Y6qbCTzHqbgO3DMHZ5v IcQROb34N/Pfrb+pC/3swkeDT2NR+ZZI11AcNKBu5/vQtKHmCm7BkA52ogcxKW/Byff4 ia6g== X-Gm-Message-State: AOJu0Yy5JfUFE8TV2ZZy1JuZCDlpCLeM3hh9Q5NvTelHaQhdOzjjFrQX G7NWM6y/zzs10DU2LfQ7Hqk= 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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: 721408 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 C8D7CEE7FF4 for ; Sun, 10 Sep 2023 12:57:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346526AbjIJM5u (ORCPT ); Sun, 10 Sep 2023 08:57:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233336AbjIJM5t (ORCPT ); Sun, 10 Sep 2023 08:57:49 -0400 Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C47DBCCD; Sun, 10 Sep 2023 05:57:45 -0700 (PDT) Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-1a2dd615ddcso1126650fac.0; 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=vger.kernel.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=kAs2YlizvrT7+AhqbtYHN8ypbGj0lHSRUjexb4OT4ollPzGGkQlOuLmeaHr7auZ/DA w62zZqBW16TvhPo8QxplU/t3oXudROdQbeo4GAekAdKPFdR0WVOR2aCQm6CU7vPvTbvL nu55DQj5qW7aXhXl9/zo6ufLcbeWwxRUwcL7L6GQsD2h/rz85G3zB1aIOWBXVuV4TvlL mnapSlI/iBJNHPAqjdaSr6igCtm9bqj9V00l8P/9/yK1tI97foA0LFyo6mxpEg3F/N6g ggoRUM7efQxAf/2Oll4+xCQ5bFnKohLsQLdFzS8FgwF4jukjHC7xDQCoEPAat7DcQ+xA ALwg== 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=ZLAbVB7dWdgpNNPu8XwXDR1DkfEHO+51Z8BIdXSvyhiyh7NWfhzNCQzBJe7wy/hlFm 6UyBobzlf166NfdCYD3SXcbfoA6ZilaqlsCWB8suqWtlh2siFb3uGMfinZ2SAaOPAukI ZjemaJTYDMT7f/w+SJhigQbeSz+8ZdnWNUULZc1vAnjBs+afrAoHBNaMMilbe/O8xrd9 +wVd7JQ3221aG8u8WrjH6vcJem+ms8uy4nYE7dW2jutKd8k76hoHj/BhlomuvIGKBAuy YFiUFIQKiY3squTXzXdMbD1YmVDs1TluL7nNEuBj69mSCBPr5JFUQSOcwzh+K+HpxikU MoTw== X-Gm-Message-State: AOJu0Yx7BZ/BRkMX8zi9y2pqGFKS9YPToZKWbMo1ij+p6x9qk86LmFtk Iw6rKuskT1+eFhMV1CvNBEU= 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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