From patchwork Fri Aug 20 08:16:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 500577 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, 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 A7867C4320E for ; Fri, 20 Aug 2021 08:25:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 915D3610E6 for ; Fri, 20 Aug 2021 08:25:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232383AbhHTI0R (ORCPT ); Fri, 20 Aug 2021 04:26:17 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:46274 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232426AbhHTI0Q (ORCPT ); Fri, 20 Aug 2021 04:26:16 -0400 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 B06974075D for ; Fri, 20 Aug 2021 08:16:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629447409; bh=CAnM46WD3rUSG/zVXFycLibrCZJUMVr4dm8Wv62opn8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=dEdGraxGmErx7QPM04n7qwWOzLtRe2m6/jx+jLSpodyGizmj0vfeEMNMneaPGtezo j2S0NyMiv2yMAQxB+KBsJe2v1eLNiZhEh2sCG26pgcweMfGfBwyNX0WQoyoI/q4fvU Mv7BPeR0g712F7fa2nITX9el+DkIfnwyOdsxok8/RtJ96xrt1HQ7QFOy3RWGc02emT U486hHvj4my6Mttn49yT46oZs7VLOveo0SMGWYovAEI1Dj41sZGSqkNogXATH4S8D2 QeXhYP5l07i/g7gdWpDkjG64slqp4+xjnfFiT4LWQEq0nzZc/rVh9l1N5SiyhmvUNa R0eXw4mLE3Kpg== Received: by mail-ed1-f69.google.com with SMTP id ec47-20020a0564020d6fb02903be5e0a8cd2so4185265edb.0 for ; Fri, 20 Aug 2021 01:16:49 -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=CAnM46WD3rUSG/zVXFycLibrCZJUMVr4dm8Wv62opn8=; b=hoEihy84OoYUmVidEbqLUIB0TQ8LHWc5F1J8Gbr4PwHyQpNsDxfvWbIxb40rfM8kBH nQNbYm/kD4cdNRxpbB8sNdVsVi90X17Z3p1ijgDP/ZN5S1U4sl4vEEirMW4RerxTdrVc UhCh/SyLIS4qbktM52110ZjmnI4gGZMv/CUlGEqPUTQ5BuxUtub+lQNTMifL+jg13aEN X4wNRzl1SWAGq76huP8j+gFEZ9ZvRwZg2dEcDFa8XysG+RT2p5smQvFlhFYiqZlvXfEN 7HufdsLRE117QC2gL78AM1OpHGdYyichxpwsSBV28HHnnaTOAh7doFQufq/yvFpx0HTc Rmsw== X-Gm-Message-State: AOAM530v0GtJJM553ZaKC42jzhFLl7RrvRV73wDQ0sDwniqcyCYVypw8 +9QP/ve2JVgf0qHfbGV5kV92zciRDhzElVcJzBVJaYlDpjjSsWUQMMrWAo2s+MXnX/9mPRLNIsj DRDH8Af2dgfRQCV5BjlYg6wh0GwzKqlnwKSCCJkg= X-Received: by 2002:a17:906:ad8e:: with SMTP id la14mr11816019ejb.113.1629447409105; Fri, 20 Aug 2021 01:16:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvwviqEoH9UbW+nsSARGzJTvy19NqOU+gEpu6eWTsyTkkmX+RW4mWEDT0jMql+QW4qXh1vGg== X-Received: by 2002:a17:906:ad8e:: with SMTP id la14mr11816006ejb.113.1629447408938; Fri, 20 Aug 2021 01:16:48 -0700 (PDT) Received: from localhost.localdomain ([86.32.42.198]) by smtp.gmail.com with ESMTPSA id g16sm2457764ejw.74.2021.08.20.01.16.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 01:16:48 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] arm64: dts: allwinner: h5: align operating-points table name with dtschema Date: Fri, 20 Aug 2021 10:16:44 +0200 Message-Id: <20210820081645.83796-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Align the name of operating-points node to dtschema to fix warnings like: arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dt.yaml: cpu-opp-table: $nodename:0: 'cpu-opp-table' does not match '^opp-table(-[a-z0-9]+)?$' Signed-off-by: Krzysztof Kozlowski Acked-by: Chen-Yu Tsai --- arch/arm64/boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi index b2657201957e..0b6914a165b0 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi @@ -2,7 +2,7 @@ // Copyright (C) 2020 Chen-Yu Tsai / { - cpu_opp_table: cpu-opp-table { + cpu_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: 500578 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, 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 41C62C4320A for ; Fri, 20 Aug 2021 08:25:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 21DED610E6 for ; Fri, 20 Aug 2021 08:25:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232371AbhHTI0Q (ORCPT ); Fri, 20 Aug 2021 04:26:16 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:46276 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232380AbhHTI0Q (ORCPT ); Fri, 20 Aug 2021 04:26:16 -0400 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 15D194076D for ; Fri, 20 Aug 2021 08:16:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629447381; bh=rFYV7pHtPVAhRCoujACv0nbWtGdLJ18YOanrxxZY/lQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HjjEX/0lyfdQAwADA7DN2m4DIKJb6dD8TjkUCFnrrW8XTDccUAXglXcFQyOaQirJr NpsBTsnhSXShUuQJl/OJiRnPR++I/isRYU0hdyi+LVL/2byr8SQfS+HxHfUyOrAYig eNb5qOgU1oquwYALzSEFEz2hfL+J3vopMqJO73+cWsLjW+CCXs+1AIZD3sJIbLWHNZ 67s4wx2vMjxF5a1tKbp1EKiSWBVluuqzYLFu/fQehVK9QiN9PzmrRA2hOiufvh6qPA kJQv97LuWijwI1zBVA3i9GEDdoKpIld11/4BEy7Xt2ev4Xa/unxF8u5CRzAY4eXMeL DYNpj0A+aIgAQ== Received: by mail-ed1-f69.google.com with SMTP id bx23-20020a0564020b5700b003bf2eb11718so4145733edb.20 for ; Fri, 20 Aug 2021 01:16:21 -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=Ljcwbr1X9VBwZTQmNamnIQ8oQCkvcDttSOOkRoX8LRVU4GOTSJ2zhxlBOv/wg6xRKL jrpQUH3WQI7eniaXviH4X1l1ew1oiom+VWq9uUcJL66QXxULG/M06X4JLs/amXqTmlbz z3PK02tTZ+4dTnJgqyOPahsdNR7ZFU30/kdz48+33B19pyEX6JqT07Jk48B5rr+WYxXE n+LIiWcw3Ony5eg/KBUkG9tdCGVCAYQyIbu8gVu8hCG9ApS3D5cXXl2lPlVfdefwSiEq 93s8qt1zS54RrsY7dKYsJWZboKZl+b2S0j/XPWCiTGX2cb1U0Zqi5Co+2KpUTQFA64Sz 8BdQ== X-Gm-Message-State: AOAM533J3/tvTHOq+GIlbUDRpcN22iiWzE0vj+L0CrC+2HeSJbOyXamq 19QziZ5pbGb280JXovUhsp7m1t2+RjspjbI5Sy7Fpj7/aVaMI5VcjWptTP1xLnDEe26CDO+wP1s RRDSZ1Bl3RGH4puqKp2V4doH81+kuGro1tv9F+Js= X-Received: by 2002:a05:6402:13cf:: with SMTP id a15mr21006887edx.117.1629447380409; 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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>;