From patchwork Thu Apr 7 20:34:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12805697 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 75592C433EF for ; Thu, 7 Apr 2022 20:34:47 +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=a9AlBPeJgfHCUstEBvtnnn5nMWn+dE+m3tosXNjPQ5U=; b=qSl5y9sM5ZEJ6Z BZUVUEvKrQq6Uih879znW3wblpdqvkSO9Te7VQE4mkYywXXQORyqo35FBdETOEhATONpEmDj/XqcA cSdKPNhWHGycXBiVpI84+KWruTJ/jn/fwIGyqOH97FMUMU1pPZrAOFsjVzos0WDC/CyAr4ijMI+4t XSAFVuBxuF8q2as6Dvq2eFqPZMAOeUSUukMeZbvyA69VGWCn5kQRiPfE//ySmtmm+FnYXdAgGlVyZ YnQqHWvkE5IaLgeIgvsbFFNyVAuxfnyuw1AQfAzy2ep0vKRWb2PrZhXUiEIVzfdUyVtueCgjjBife CWGJ7Par4VCkKLHMmxzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncYq1-00DvcF-U5; Thu, 07 Apr 2022 20:34:41 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncYpV-00DvOb-Vn for linux-mediatek@lists.infradead.org; Thu, 07 Apr 2022 20:34:14 +0000 Received: by mail-ej1-x62a.google.com with SMTP id qh7so13179223ejb.11 for ; Thu, 07 Apr 2022 13:34:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=w4demkHQ8Fg0Aca60O/7JU7pagAyPbUQlML8jEugCG4=; b=faF6ayajtjqODf8i8x4Ee4sgq1q3Fe8w5GIBNd6EUxYhTh8lRr3ScB1O2+f/eFZVB7 WBZuT4ZezncXpe3w3YfCgXtmZ9ME1HUKZCh7SMj18BdBBLX61EI2U6s/TlRJ2XnOnROK CBSmDDp2XF77fg+vfg4nylz11gURLu/w9p9t9U7ins3Z5+XVdzzfmyQi/UDZohlf/hSl 6zfP7PMuZ7D/yis5OyxXt6AirCAXefP5nyXCPBWGl367EWAh1GzSdImNZbK4X1i7HBSa voE2I93cGhnsbCRAHteqmmHiYjHWMuzbqRTyegl56f5fMmWddGdye9mBnm7QBXCU5N8b IShw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=w4demkHQ8Fg0Aca60O/7JU7pagAyPbUQlML8jEugCG4=; b=Gaztt08vXxitmjfXOG+/4EW9eBVmhUU9gYHeysPifb7bc0367CAi4xFhJiNH9r0Pta EoIHX2N+lfiei8BvWJ0JZRlZIdW+zd0zh3LCigD4mHjpSlyjDoWamiTQloCTKswqRUeJ HdI/SGU3ZlKm7FYw8+RxFNwoT9AOUaTAmRymbOVY2E5ymYsy7/83zVXhv9Xh/8NvPkEm jr8ghHvRiCW6XdxxhZEJuswC8Ck2SwJ/UgnMlaF2PIP5omt84+6IPeaOEAAjh1pRCOJQ PQhDa4qB6HFbJ26/RdXlAqXdAKfaQEvGsQ9kY1jXXr8svpWN++tlE9NarTcwEe3emcti psNg== X-Gm-Message-State: AOAM531jrikio1Lg5vKphLvQKCejBtuPJJvMOd1JSo7+FGVcII9DzGdM LOVh4WWu2NTStoEcQY3FMeECAA== X-Google-Smtp-Source: ABdhPJxEDGr4Jf8tpwen4hc/gkUEJCBUHaMs6G9kK5gOiZYqgWgJpng5I7H46vgQYhy+G8VXg0Ns5g== X-Received: by 2002:a17:906:1ec3:b0:6cf:d118:59e2 with SMTP id m3-20020a1709061ec300b006cfd11859e2mr15195488ejj.767.1649363647213; Thu, 07 Apr 2022 13:34:07 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id p13-20020a50d88d000000b0041cd1a083f7sm6134799edj.1.2022.04.07.13.34.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:34:06 -0700 (PDT) From: Krzysztof Kozlowski To: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] arm64: dts: mediatek: align operating-points table name with dtschema Date: Thu, 7 Apr 2022 22:34:01 +0200 Message-Id: <20220407203402.33356-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220407_133410_062839_8DDDDBCC X-CRM114-Status: GOOD ( 10.82 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Align the name of operating-points node to dtschema to fix warnings like: arch/arm64/boot/dts/mediatek/mt8173-elm.dt.yaml: opp_table0: $nodename:0: 'opp_table0' does not match '^opp-table(-[a-z0-9]+)?$' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 4 ++-- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 4 ++-- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index a27b7628c5f7..16905596316d 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi @@ -19,7 +19,7 @@ / { #address-cells = <2>; #size-cells = <2>; - cluster0_opp: opp_table0 { + cluster0_opp: opp-table-0 { compatible = "operating-points-v2"; opp-shared; opp00 { @@ -36,7 +36,7 @@ opp02 { }; }; - cluster1_opp: opp_table1 { + cluster1_opp: opp-table-1 { compatible = "operating-points-v2"; opp-shared; opp00 { diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 2b7d331a4588..acb775ca682e 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -57,7 +57,7 @@ aliases { serial3 = &uart3; }; - cluster0_opp: opp_table0 { + cluster0_opp: opp-table-0 { compatible = "operating-points-v2"; opp-shared; opp-507000000 { @@ -94,7 +94,7 @@ opp-1703000000 { }; }; - cluster1_opp: opp_table1 { + cluster1_opp: opp-table-1 { compatible = "operating-points-v2"; opp-shared; opp-507000000 { diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 4b08691ed39e..3129e7783902 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -197,7 +197,7 @@ CLUSTER_SLEEP1: cluster-sleep-1 { }; }; - gpu_opp_table: opp_table0 { + gpu_opp_table: opp-table-0 { compatible = "operating-points-v2"; opp-shared; From patchwork Thu Apr 7 20:34:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12805698 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 89E19C433F5 for ; Thu, 7 Apr 2022 20:35: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=DZPcN7pXOOOVbqcHKkwXkkN1izYaSljOt4XC8q/dXTg=; b=jhxMnwOHdC3ukU rQSJF4i008aB29l4cXAXxHuHUV/MLZcC7xtoPxAIrWJ2aA83nhEdk4rLNZtdspnqwQNaPPWYeD5fD sywJi4VFl4sNmrGPFPr9nZfIF2RSv8tFgloEZkCazHh0XAKE2g0TS1Ml1+tT1ALiUcOZ3p/73AZHk a8az4nze+sabePFC6PHAGB+IOkSQoxH3u45SgSzc8NsPTLKLGyRh0aOWc1CFbW+KYwT3vpKZAcD2U 6z/we6hR2lfyIodCi61xLIanSihtcvLhvcbXc85axhetytv6YQ3pGeAJ4/JU+B3ipsS5t1gTvGzz8 PiSl4NOrYL+9NkuTRz+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncYqS-00Dvo9-C7; Thu, 07 Apr 2022 20:35:08 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncYpX-00DvOz-9b for linux-mediatek@lists.infradead.org; Thu, 07 Apr 2022 20:34:15 +0000 Received: by mail-ej1-x633.google.com with SMTP id bq8so13226909ejb.10 for ; Thu, 07 Apr 2022 13:34:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lgadCIuDHSONda5a8AlBMiHSHORPXO/YIVbS7AR7TQA=; b=HJcyO+iyzMqE/sQyRjthCVW+qXowVaN11+BZizM5k1G161UQb2N9kNPsp7GKv6z+zo CWHEYiTS1J5yuneRxmPcMImj6LTHI3O4XD5500mf93f9iofku7I3jOFqQFvk/pY7KsE7 iSrnxlwj22PC9mHQtg4bmj1wQszLTcPWQnwqH04EQeLVJu96yveMmTal53PCAYWhxk0j GCUl1IuKda4n0K7ksYu7wy7xxLhFmyGapDNwVxM0UfyCnlrTWTALpG3vSc8RD0lhAZGO 89DeWEHs0PCYfK1Ozss6ps4moEu7BPtdZtBd+AyPRD064enE7bwxNMy3urL/mbFZp9oD cMgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lgadCIuDHSONda5a8AlBMiHSHORPXO/YIVbS7AR7TQA=; b=l37K6Fe1bappZsP1APtjIiG1QItqHp/onHmFINvG7d7cSuU6W8EQMbl4reklLs1ocs FBUyABxd1FhaQRc3JpiX9L3V3DJWvK9w2d9kpH38he5bIhXlsClW8dQ9sWUbuhWIhvP7 VhD4Z9KjLisCjGeizFLMLv/7VfwSZmgvz1BYBZTcpSLhiMr/7GEC+X1nZwG4cJk9DMPm TyEO8d8PTbenX85hqrREvz5jDzKii7cF5+Jv74nio8Eu9K5UQBAvSl2IhtVuk0+wSux2 mnPfSGyCgNiXRfewtKHxh1gQGEsbJc2lu4LuWsyyVtD/DxeQXM+yVAoqxWtIE3JiQJpo 3xBA== X-Gm-Message-State: AOAM530rX7Kx3/XetzNB1dAF7YvOT7lPjLzL9vm4R3zqDtaEKGPO6V4l xjL5HYXsgR7LHhYUFMZ49Tr9Qw== X-Google-Smtp-Source: ABdhPJwg2fPFcOmOxRETaOJJDkf4GoOxHDtuoVYZsGbXoaBOj8r/RXDTmCiJ+hztxHnvqqxDzS2f5Q== X-Received: by 2002:a17:907:7ba6:b0:6df:ee7d:10f2 with SMTP id ne38-20020a1709077ba600b006dfee7d10f2mr15400650ejc.98.1649363648703; Thu, 07 Apr 2022 13:34:08 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id p13-20020a50d88d000000b0041cd1a083f7sm6134799edj.1.2022.04.07.13.34.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:34:07 -0700 (PDT) From: Krzysztof Kozlowski To: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] arm64: dts: mediatek: align thermal zone node names with dtschema Date: Thu, 7 Apr 2022 22:34:02 +0200 Message-Id: <20220407203402.33356-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220407203402.33356-1-krzysztof.kozlowski@linaro.org> References: <20220407203402.33356-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220407_133411_385162_450E22FB X-CRM114-Status: GOOD ( 12.48 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Align the name of thermal zone node to dtschema to fix warnings like: arch/arm64/boot/dts/mediatek/mt8173-elm.dt.yaml: thermal-zones: 'cpu_thermal' does not match any of the regexes: '^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 +- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index acb775ca682e..9811f92faa56 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -273,7 +273,7 @@ cpum_ck: oscillator2 { }; thermal-zones { - cpu_thermal: cpu_thermal { + cpu_thermal: cpu-thermal { polling-delay-passive = <1000>; /* milliseconds */ polling-delay = <1000>; /* milliseconds */ diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 3129e7783902..151877fa6bfd 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -823,7 +823,7 @@ thermal: thermal@1100b000 { }; thermal_zones: thermal-zones { - cpu_thermal: cpu_thermal { + cpu_thermal: cpu-thermal { polling-delay-passive = <100>; polling-delay = <500>; thermal-sensors = <&thermal 0>;