From patchwork Sun Sep 10 12:52:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 722021 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 59C20EE7FF4 for ; Sun, 10 Sep 2023 12:52:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240225AbjIJMw5 (ORCPT ); Sun, 10 Sep 2023 08:52:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233336AbjIJMw5 (ORCPT ); Sun, 10 Sep 2023 08:52:57 -0400 Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AF52CCC; Sun, 10 Sep 2023 05:52:52 -0700 (PDT) Received: by mail-ot1-x32a.google.com with SMTP id 46e09a7af769-6b9cd6876bbso1010843a34.1; Sun, 10 Sep 2023 05:52:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694350371; x=1694955171; 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=HAvTvLohe9TB635fRBSatAf9eavmCCemddZkbMItGg0=; b=pLlmYXGmkckMTFH3xNOlqMKYaIQIoj77uWLfJD/CswgJO5c6yKG1rkukEzZCJ4BUzz lWSgzAnI9oaouIBBasZz3QtsTcSRH1jvD7OY2qn3yY3Ho5367fOUFabLeZur8L6UEf0/ 2+uGTCoHW7vmTZLNzto+FGUg1APbXSHFZCAEmNRYtAP4zNRcVZ8jXTRWCnh+PrDctAef JlozvgLQ3aTMYr9BV5VxKdf6gJDVwx9Yj81CM+/7jIRLHn5NYBO4NNju2nveIrqJOqJ4 B6XQZAGir3hFZCsC/Pb/uyiDqxMzsM5mEzPTwL6sHR1R4iO6QXaUX9XuRenLmwZm/j+X lTWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694350371; x=1694955171; 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=HAvTvLohe9TB635fRBSatAf9eavmCCemddZkbMItGg0=; b=eryQxCzgqdam1X+GxF8vsOJH97UR4pZLFXhi9BKwYPHv78sThVqrznsjwuy7VRjkBx 5qDoOj3h6PC5kw3722u/KKGTBaZVYq48cIp+4bD2bAkQhdXIeJAGMWub1L/YHjYaWGia DJsNj6mD7iaBDY4VHczHQ3tkvvXWUjOyv/sarQ/tgXgapixU0DqL/L18eUon7m5Fdsaq 6wI3t6G4SvZq6O1qoMCx4/RcT+NsAQ4ig6DyJOTuOGsS1zBoC/XO6FI3eHhIvMOdbxNf ip1SgveMamb1CGqvkMJ/eNNFZN3uloTB7A+0aqQ/MQu0S6twj+4ttWjgcAJc8/DW1VC2 Gyrw== X-Gm-Message-State: AOJu0Yz0cRFLbn9DBsfMt/5YiN0udL3sIZB9oECFWFyabDPxFkYgof1J jmTRUNSLxBYn5wwj+9fwXVA= X-Google-Smtp-Source: AGHT+IG/HKjsdSfIiZKBB6CVUriBl+xQx/S12XScDSCnxf4upOTi/6euM+wpcYRvcVG1pbbY6g9FNA== X-Received: by 2002:a05:6870:170d:b0:1d5:53c0:c1fe with SMTP id h13-20020a056870170d00b001d553c0c1femr7534222oae.3.1694350371412; Sun, 10 Sep 2023 05:52:51 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:8ae8:e729:67d1:f8d9]) by smtp.gmail.com with ESMTPSA id li9-20020a05687c354900b001d4de767807sm2972308oac.28.2023.09.10.05.52.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Sep 2023 05:52:50 -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 1/2] arm64: dts: imx93: Add the TMU interrupt Date: Sun, 10 Sep 2023 09:52:42 -0300 Message-Id: <20230910125243.1242722-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 --- 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:52:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 721409 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 90269EE14D8 for ; Sun, 10 Sep 2023 12:52:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242404AbjIJMxB (ORCPT ); Sun, 10 Sep 2023 08:53:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233336AbjIJMxB (ORCPT ); Sun, 10 Sep 2023 08:53:01 -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 00326CCC; Sun, 10 Sep 2023 05:52:55 -0700 (PDT) Received: by mail-oo1-xc2c.google.com with SMTP id 006d021491bc7-5711d5dac14so869686eaf.0; Sun, 10 Sep 2023 05:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694350375; x=1694955175; 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=9a+wuJLbWRTyVfU1bagE+bARgYrIJ9juNamK94yJ+QA=; b=DoRC9jwOLbw96sjIux1+UFK7x30snhXhOE+o+B26Sd4N50DFi2vOnKzesFZMdPgxEZ 8GK8qhzqj0X32zoLGdXnUHNFtk3dTspeclcTJz3/ogDi2V6/2s81lwLCQQsBphRl211C 3m40mWRLS84ld15hLPdTyknfmWZZGPChve+irLKu6sEJUtsKRwh913Rwu5KtcehIa20y 4QtIyT+zS2SBDB7UEhun4tZQpEx49cMobEvc5+SESPfbwEBQcT+gleS1p/CHJZGHvjiQ HcWR+jcQmFM3VXvoWCdaDcT3nzkN8yOBgS8VhxTh9FnCF/TotyLA5L+z2yHbY98pU7Jg l+xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694350375; x=1694955175; 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=9a+wuJLbWRTyVfU1bagE+bARgYrIJ9juNamK94yJ+QA=; b=YopOWmRIgCMWLD+X4KtRKzNZPiUmO1LeumdFh7azJfegFO+T4LwcyFwEDJ4D6p4nD/ DuAcQj9F4khazBN1D8+1fvmWfpaD4azz8Vadgc2NzLjKHPIpOASwFcoNXHV9BCvE/znD 1XDbsBJvYOusX2Mup6UDFU9OkScc+IX3w2ILxj5oqZ2LBFzA1RBV8gMcEGh26MbmseRC UIQdqo8YavPwu8yrMgdGv/Nhuq2tBNLPlQmY56yFZEaWgcYEwnuPWY0/IqpeWDmwC64G XcdSNjPyAAojiz1/rlrhwJLIHlksg6O4IXf1NfhOejhaPotMWj/+MHX4DfFkyTEG6n6y OIdg== X-Gm-Message-State: AOJu0Yw92fp2uvsAZBdxMDGmmSRYot1WCQiu7tkAOJYtmf0ZU7MUv7xN qYghclSDKVToI9X19tE50ZWbPU0SWSM= X-Google-Smtp-Source: AGHT+IER5qFqWVOUGzZwOpI1ZWsVhjpL2C1f0zDrs8OSj9TWvQl1sywFldWOM0H94S1ryAcjCV+oQA== X-Received: by 2002:a05:6870:b014:b0:1c3:c45b:92a7 with SMTP id y20-20020a056870b01400b001c3c45b92a7mr7372293oae.0.1694350375208; Sun, 10 Sep 2023 05:52:55 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:8ae8:e729:67d1:f8d9]) by smtp.gmail.com with ESMTPSA id li9-20020a05687c354900b001d4de767807sm2972308oac.28.2023.09.10.05.52.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Sep 2023 05:52:54 -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 2/2] dt-bindings: thermal: qoriq-thermal: Adjust fsl, tmu-range maxItems Date: Sun, 10 Sep 2023 09:52:43 -0300 Message-Id: <20230910125243.1242722-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230910125243.1242722-1-festevam@gmail.com> References: <20230910125243.1242722-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: /soc@0/bus@44000000/anatop@44480000: failed to match any schema with compatible: ['fsl,imx93-anatop', 'syscon'] /home/festevam/linux-next/arch/arm64/boot/dts/freescale/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 --- 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