From patchwork Fri Aug 20 08:16:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12448635 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1396C4338F for ; Fri, 20 Aug 2021 08:18:44 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id A971161075 for ; Fri, 20 Aug 2021 08:18:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A971161075 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=4mIfwnJfzB6b9/MAreXLtaWoRdQq8b1gsDsepCOmhnk=; b=W5Zu0z9KXjgJhg iclWYJk0521NIQ4j4aEjonbUy1f15MvI5WkEwRXx6Byi5WwirCJlIN+F71w57hw6ksIObhkOaeAfh f3f4TY6Z+nkjwcJ879UPcfyDiRCa2xkoCV6ghRFch3KqYAKEd48WivkmdGz6Z1fijis+oqjomSBAm L/dbEv8c/57VVcA6gMh3fCsO09gx5I2QvhmGgKofkEBuRO2AUV8m3Hx9zNBNqCnWLanndm1KCDQ3Z W5gITsgC0hGa8fne4Aj79gmbS9S3prjjWPMZxBQCaKwCi7O64adZ40K5bfUl5VP1SQq3+mBKhlQqL V21aglAH7zMhvptowRtQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mGzhU-00ALLc-Na; Fri, 20 Aug 2021 08:16:29 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mGzhM-00ALI2-S6 for linux-arm-kernel@lists.infradead.org; Fri, 20 Aug 2021 08:16:24 +0000 Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id AFB5A4075D for ; Fri, 20 Aug 2021 08:16:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629447379; bh=OmtSKxexi252yLpsd09SnFUuzqXU2/zeUXsYaGlChyE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=pmN7qgHi+EARqniZH47Yo17cxIVOm/IfX3R7dZro17DaQWzlGaAbNEkj8szan4gCb lpe0S1v0TW4zc01rnTbF0V3i+D3kznsuWZBHGIzg+k6ldxePImRO3Y8ri5qujO0/d3 BmvNMwq42rRH8rsQZNVnO49+7HIlLGy7m4nHmH2+a31e/X3McNbRmvXaE8geIzvTip XZpGlyI256ouiQvMlCURAVZ9s8fROKILiMn9KPOysSvTLxExGHRjnwa5IPZpFktRGI 4gUFndtKkcLzT1lKTytUzWeSIZquzo8C/8snlz6MGJYBu1R1dir5GkS7Su6FW23MbV LmxrR1gur0EoQ== Received: by mail-ed1-f69.google.com with SMTP id m16-20020a056402511000b003bead176527so4154174edd.10 for ; Fri, 20 Aug 2021 01:16:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OmtSKxexi252yLpsd09SnFUuzqXU2/zeUXsYaGlChyE=; b=PFOJd6aJn3lmJXLKhDH8upcO8AIT6bt76tY7mueEaRp2tlHFz9FNbLVuCAl1EuQSad ZpZu39d47vcwhWj3/NHLr1aWj2j4Ylh2Bznmcb6yS/xL4CcHIOSxP800Cy8oOs9nFDxd HtMMuQQeITHEg1HCwpSXCijbbD2E184BLTbU1xBzRBLooTvibwUB65EgeHW99izIdjnn tS3Pf5HTfJUpmdyZ9yp7QCmA9v0+ptOHtvi2Ideia9R0lFPQ7Bi9oz8M3SYmLjqIrupr rfZarqRvGJI+WD0wZ59p3TgYC3HCV/RX9IKg7uNUs94SLQX1rB9EcqJDBt7IhAC7yd+C PWYA== X-Gm-Message-State: AOAM532gBaWD0s+GK4BwDj+Ul8lcw3f5XfCE+jEWtXTjPeAc1hS35WCr n9+M937RlochJjXZzaYV+BJwW6ZH2eakGFt7at5fzYh3rmHKBebLnl0V+AyEbEK2Uhj2RX0FPbA SjAmTXDXtvvRtU/DpzvabiCI+avMkNB97i1co7s9FnhM3vqEruo0F X-Received: by 2002:a05:6402:152:: with SMTP id s18mr20736024edu.221.1629447379439; Fri, 20 Aug 2021 01:16:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCE7w2Hupb+KqkRVqDnp7hgDcT/qC/auwCzygTdxXxygjTPKNmYAIQZ65smv9XcUCZyL7j5g== X-Received: by 2002:a05:6402:152:: with SMTP id s18mr20736014edu.221.1629447379330; Fri, 20 Aug 2021 01:16:19 -0700 (PDT) Received: from localhost.localdomain ([86.32.42.198]) by smtp.gmail.com with ESMTPSA id w13sm351632edx.67.2021.08.20.01.16.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 01:16:19 -0700 (PDT) From: Krzysztof Kozlowski To: Matthias Brugger , Rob Herring , 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: Fri, 20 Aug 2021 10:16:15 +0200 Message-Id: <20210820081616.83674-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210820_011621_080714_C75ECA86 X-CRM114-Status: GOOD ( 13.99 ) 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 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/mt8173.dtsi | 4 ++-- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d9e005ae5bb0..49c6b6a5b489 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 409cf827970c..caab109add28 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 Fri Aug 20 08:16:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12448643 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12D43C4338F for ; Fri, 20 Aug 2021 08:19:16 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id CE5BF61075 for ; Fri, 20 Aug 2021 08:19:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CE5BF61075 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=CTID8S0t92m2siH1Zq8aYs49cZWwzFr8fpfNt8Ud9R8=; b=GXVJ7lrzB126Jt leN0hQDieBXUK+Nuq5nKgpA94wJUIeNtMiQ8av3ZckDh7y3tQLv5DkWLK2elgBrDPq8Ud+HAOhqJV +dxc9uV/fiQlbFiki4zFhxV9q4xJRDPG2hJRzJaKwstmpbuuBvjcGNVLtNyCDNM6JFYo/qnCcaSv3 qWH+cYmPo1ihkyf94BghIkhu/hFB+nR2pLB8yh9ddyD0qKZH6MetEAD+R5d9o16RySYGmEIOlzwT3 IZlbWRMrbyWWRAmw+WSJPL+s1T/RnIVZbhUJHZjd7AZ9C1xGoOK/E2/FpvzFDstn/swff6FpuX7lC dpnEiH4EreCvvsYqQYdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mGzhi-00ALPd-TQ; Fri, 20 Aug 2021 08:16:43 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mGzhN-00ALIL-P0 for linux-arm-kernel@lists.infradead.org; Fri, 20 Aug 2021 08:16:28 +0000 Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 99FA7407A2 for ; Fri, 20 Aug 2021 08:16:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629447380; bh=rFYV7pHtPVAhRCoujACv0nbWtGdLJ18YOanrxxZY/lQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ENhS/boz7O5nErTumJsWMhmVKGE3En1BTsOfI88J/gLC22zyViUtMgCP3qW0Ggovq qlMHzbkXMUNwkQnWJIlULdxvZJTrDsUAK1IUqAEFVDVymbtj8rEzJP7w1xvm+HpemV We87/JOq8U4bUweX85eXD6zIj2n8U/0agtjXqkZNSAqbTUWUu+N+RGrVuPnDKm61rG GQA4VLZg/VXnhygu+h+JaOI5ieu+9+L6tv9C9Eu0ofOl15TysBonGh5Q9q9ATHRWv1 pBfawvA6CZy9Y1XLZd5OmcRYoLRiZfKCdW/pFk4Gdhf8Re4dY8n7gMMda3awBXQIJK vfAdTtk+Y+MqA== Received: by mail-ed1-f72.google.com with SMTP id a23-20020a50ff170000b02903b85a16b672so4171242edu.1 for ; Fri, 20 Aug 2021 01:16:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rFYV7pHtPVAhRCoujACv0nbWtGdLJ18YOanrxxZY/lQ=; b=KzReTjdiuOM9BmKsjqjj//dVE1cGUEPal5eIpt/g/tWyrFv62KQi85a+c9thTZW+/2 tpqOdRxJsY7qR3O/S9BUgY+LaRrSetkum934sJ5Fm3drtCDtHaS145XQnLgFNWoOuhO5 XnCeFbJ31PqXOv+ElqQQRv5BWA1qIWaQCe4czEEJMjU+M/TvvyYbCWJCoE9mRDrfVtfM kkIsy8WHOx505vqmUIotsE9SqGSLPXyf60inrLpnBXFeaudAKzHDJcXI0wRo0JMRB+hO 8qPv8jbPmSjfC59jpVbIN2Fws3ORRzusYFntWph6yHape+N6NxYmFvBs/VMxpor6w+QA 3qgg== X-Gm-Message-State: AOAM533s3Al6DypXrO1QY1L1Dee+ZqdC9DB0JcmYe7M6oD4xMv2Wycgd EYVHwFQwGnFVhws4PjpvN0TlkrAnRERIM/AXUyJBWKhHxSkhnlE8Z462JAcKquQoI8D8XvXWZ6b DEI/1ILB3yHzM/LBK6yQzHmjh3+s3XdlxXN7mv6n4rMmtD8wVp2lb X-Received: by 2002:a05:6402:13cf:: with SMTP id a15mr21006890edx.117.1629447380413; Fri, 20 Aug 2021 01:16:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhFPcjbeXROTX7e6+Upaf75ZvqQGL1rcjdhNt9+IdhuGxzIbim1t5Pp3fsAw4KLjqKWlg5QA== X-Received: by 2002:a05:6402:13cf:: with SMTP id a15mr21006874edx.117.1629447380301; Fri, 20 Aug 2021 01:16:20 -0700 (PDT) Received: from localhost.localdomain ([86.32.42.198]) by smtp.gmail.com with ESMTPSA id w13sm351632edx.67.2021.08.20.01.16.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 01:16:20 -0700 (PDT) From: Krzysztof Kozlowski To: Matthias Brugger , Rob Herring , 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: Fri, 20 Aug 2021 10:16:16 +0200 Message-Id: <20210820081616.83674-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210820081616.83674-1-krzysztof.kozlowski@canonical.com> References: <20210820081616.83674-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210820_011621_991356_6F20C1E7 X-CRM114-Status: GOOD ( 15.52 ) 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 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/mt2712e.dtsi | 4 ++-- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 +- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index a9cca9c146fd..640d4fdaa611 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 49c6b6a5b489..066025d80ca4 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 caab109add28..d836769b87bb 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -759,7 +759,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>;