Message ID | 20240209212816.11187-2-ddrokosov@salutedevices.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-60029-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1140942dyd; Fri, 9 Feb 2024 13:29:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEXvTbdje7ktn8ZL3Gz7LUJM7LF133lBzRB0gTh/RufUid8irbIZZuwpRNvFhM9mOg3r6J X-Received: by 2002:a17:906:6c95:b0:a37:30aa:3cf3 with SMTP id s21-20020a1709066c9500b00a3730aa3cf3mr1776703ejr.25.1707514168276; Fri, 09 Feb 2024 13:29:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707514168; cv=pass; d=google.com; s=arc-20160816; b=rCWi8GY6/PIuWrCSyu5oYtSYSviGRohkJ+0KP++CCK3Bfw+0kDPkESelPzPnRofiKp gbc9YWZakMyL/OE1sZ4bXdnTIEa6Q5e5Fbi+XFJVpHJbpEHRwRGRC541n0ZEu9obfR+p ruGl6zum+zkyk0qZYvOsQJ3J/rHXBd23RuWOcP2RhreeyTcI6/2TCtgDl87vRh0++J5K tA4CYh2p8wvLRWu10nPUXzy+w/5cZSHjXepAtDEJU1czZu/Dbf7U0ADE+KG4QuF966zO vNfRSnj+ybWGRmllEQFgM+hMTQYuHBbt7jlJGEgpbCpTCnyNnjZgIHBjmsrxI1odpLM/ lxVQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=Eg+ityGP9rRaB35HLWZFr9cbeY7LycCsMeGBmIKbnDQ=; fh=QR/XkIOAdkfbpGL2UDUq6oxfmd2BWBvVuFe+uCQjqFs=; b=m/HSpGtGi+9Q0hCotvYrWL/JS3IkMRVhI5N5/bVj9+1B8Hp26K8+BAokl7N1AlOQw4 ejl3uo4xbC6H8e29ZX68OBqjHbzAHmLzoHcr6tLedfdqrOiWS7GGdHmrYLTUiIP8GEZy ITzcLOIwGNT84gMQYWmz869p2AocE399TlmFvktB7CcJ2ux7yugalXLio1p1NQfOfoXL wtAq2PU7NV+W6pKSkhV4dHY0XpZsKyWYDNFv2l+y9QiQjqAqu7C5bA98EFOT+RqX/qtn VVoGz+3aIx1MWVbJMKHDjKoVnIwTOjgolOfnbOklxKxLHp/8mZuoLoN6zVCuCoV0E7GZ SO2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=KU20LfmD; arc=pass (i=1 spf=pass spfdomain=salutedevices.com dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-kernel+bounces-60029-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60029-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com X-Forwarded-Encrypted: i=2; AJvYcCX0wmTvz9gOVeRvW+ww9NVX1VIu0eaj4gYuuFrdDwZLsf/i/SYM03ql+P3Sjmf2BLNz0MHJPGTiT+etvPGwAsxJPC5M4g== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c21-20020a17090654d500b00a3bd8424233si1193452ejp.431.2024.02.09.13.29.28 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 13:29:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60029-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=KU20LfmD; arc=pass (i=1 spf=pass spfdomain=salutedevices.com dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-kernel+bounces-60029-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60029-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DF8A11F23A69 for <ouuuleilei@gmail.com>; Fri, 9 Feb 2024 21:29:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B1A023613A; Fri, 9 Feb 2024 21:28:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b="KU20LfmD" Received: from mx1.sberdevices.ru (mx1.sberdevices.ru [37.18.73.165]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1131B63B8; Fri, 9 Feb 2024 21:28:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=37.18.73.165 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707514117; cv=none; b=ADnrC6ABTWcLNoBjAOpyV2GNECYm+HiQ58+g37EYV4iQs0bJ6O/ZT9peDgD0PfQgWXmhak0X55z+L6SbgUl4kZlJUd0iFbAGnbmlDY15mZBE4mGQxUPPpS/TO+EhRnZDeVcymoNF+/TugdEdOp/5TtcxoIqBi4TJbXeWL1ybST8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707514117; c=relaxed/simple; bh=Sg6ty5lFgb0E8wyNFf6Q/fJgsvPT+sUgeeRN1ME6NWs=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SbMKiR6g58Y0kjazdP2TVh5eiqTLy7ipwGzcEhg+xOotSdBhqCojPe9/JX7ITmtI2N45LdeEup85mHs+v1ygH2mKtyQfKSJmb7JKy4sOsrhZ71KOltSBI7UUU1lZSP6uTWCGk/Aag8blT2M4OSarbOhsKCivWKrW1hagAliLFMc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=salutedevices.com; spf=pass smtp.mailfrom=salutedevices.com; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b=KU20LfmD; arc=none smtp.client-ip=37.18.73.165 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=salutedevices.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=salutedevices.com Received: from p-infra-ksmg-sc-msk01 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id B5415100003; Sat, 10 Feb 2024 00:28:25 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru B5415100003 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1707514105; bh=Eg+ityGP9rRaB35HLWZFr9cbeY7LycCsMeGBmIKbnDQ=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=KU20LfmD28/1tOTu66gfksmeNT/jBygd6gypPcL8DKj0jDOgA/Nu0io84j7cxnAI4 UrNzk1jDMa1SG0crSUHfhnJGzM0kIpXg5m8XZHQglKdUfn/RahbLd8FWo6o61LBfQr okA88sPPeDnBi7nfIljeph+9se7Qom9BwxWljsKnSfIpt+LnhOFXz0yvPv3+9aYrMu iY5QEhya4lEo5kfOi3GyeEQKeRmye63MhwoJyeKtyLFqjiyL6hiIDapXPEu1GlMvZM nsDbbbHMOeB0QaeJBAL9Srcs3d8AQkamGNjYkpqQfcE67BswWmwJm+vbaZI8bJdzbd b/QF6ZkZYPXWA== Received: from smtp.sberdevices.ru (p-i-exch-sc-m01.sberdevices.ru [172.16.192.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Sat, 10 Feb 2024 00:28:25 +0300 (MSK) Received: from CAB-WSD-L081021.sberdevices.ru (100.64.160.123) by p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Sat, 10 Feb 2024 00:28:25 +0300 From: Dmitry Rokosov <ddrokosov@salutedevices.com> To: <neil.armstrong@linaro.org>, <jbrunet@baylibre.com>, <mturquette@baylibre.com>, <adeep@lexina.in>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <khilman@baylibre.com>, <martin.blumenstingl@googlemail.com>, <conor+dt@kernel.org> CC: <kernel@sberdevices.ru>, <sdfw_system_team@sberdevices.ru>, <rockosov@gmail.com>, <linux-amlogic@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, Dmitry Rokosov <ddrokosov@salutedevices.com> Subject: [PATCH v1 1/2] arm64: dts: amlogic: axg: move cpu cooling-cells to common dtsi Date: Sat, 10 Feb 2024 00:28:05 +0300 Message-ID: <20240209212816.11187-2-ddrokosov@salutedevices.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240209212816.11187-1-ddrokosov@salutedevices.com> References: <20240209212816.11187-1-ddrokosov@salutedevices.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) To p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 183341 [Feb 09 2024] X-KSMG-AntiSpam-Version: 6.1.0.3 X-KSMG-AntiSpam-Envelope-From: ddrokosov@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 7 0.3.7 6d6bf5bd8eea7373134f756a2fd73e9456bb7d1a, {Tracking_from_domain_doesnt_match_to}, 100.64.160.123:7.1.2;salutedevices.com:7.1.1;smtp.sberdevices.ru:7.1.1,5.0.1;127.0.0.199:7.1.2;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2024/02/09 20:35:00 #23447606 X-KSMG-AntiVirus-Status: Clean, skipped X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790458376259608518 X-GMAIL-MSGID: 1790458376259608518 |
Series |
meson-axg: properly setup CPU power management
|
|
Commit Message
Dmitry Rokosov
Feb. 9, 2024, 9:28 p.m. UTC
The CPU cooling-cells property should be located in the meson-axg common
dtsi, as it is required for all AXG-based boards with DVFS.
Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com>
---
.../amlogic/meson-axg-jethome-jethub-j1xx.dtsi | 16 ----------------
arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++++
2 files changed, 4 insertions(+), 16 deletions(-)
Comments
On 09/02/2024 22:28, Dmitry Rokosov wrote: > The CPU cooling-cells property should be located in the meson-axg common > dtsi, as it is required for all AXG-based boards with DVFS. > > Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com> > --- > .../amlogic/meson-axg-jethome-jethub-j1xx.dtsi | 16 ---------------- > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++++ > 2 files changed, 4 insertions(+), 16 deletions(-) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi > index db605f3a22b4..55802fb03a46 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi > @@ -332,19 +332,3 @@ &gpio { > "", "", "", "", "", // 80 - 84 > "", ""; // 85-86 > }; > - > -&cpu0 { > - #cooling-cells = <2>; > -}; > - > -&cpu1 { > - #cooling-cells = <2>; > -}; > - > -&cpu2 { > - #cooling-cells = <2>; > -}; > - > -&cpu3 { > - #cooling-cells = <2>; > -}; > diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > index 7e5ac9db93f8..ea96fef328e8 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi > @@ -74,6 +74,7 @@ cpu0: cpu@0 { > enable-method = "psci"; > next-level-cache = <&l2>; > clocks = <&scpi_dvfs 0>; > + #cooling-cells = <2>; > }; > > cpu1: cpu@1 { > @@ -83,6 +84,7 @@ cpu1: cpu@1 { > enable-method = "psci"; > next-level-cache = <&l2>; > clocks = <&scpi_dvfs 0>; > + #cooling-cells = <2>; > }; > > cpu2: cpu@2 { > @@ -92,6 +94,7 @@ cpu2: cpu@2 { > enable-method = "psci"; > next-level-cache = <&l2>; > clocks = <&scpi_dvfs 0>; > + #cooling-cells = <2>; > }; > > cpu3: cpu@3 { > @@ -101,6 +104,7 @@ cpu3: cpu@3 { > enable-method = "psci"; > next-level-cache = <&l2>; > clocks = <&scpi_dvfs 0>; > + #cooling-cells = <2>; > }; > > l2: l2-cache0 { Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi index db605f3a22b4..55802fb03a46 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi @@ -332,19 +332,3 @@ &gpio { "", "", "", "", "", // 80 - 84 "", ""; // 85-86 }; - -&cpu0 { - #cooling-cells = <2>; -}; - -&cpu1 { - #cooling-cells = <2>; -}; - -&cpu2 { - #cooling-cells = <2>; -}; - -&cpu3 { - #cooling-cells = <2>; -}; diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 7e5ac9db93f8..ea96fef328e8 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -74,6 +74,7 @@ cpu0: cpu@0 { enable-method = "psci"; next-level-cache = <&l2>; clocks = <&scpi_dvfs 0>; + #cooling-cells = <2>; }; cpu1: cpu@1 { @@ -83,6 +84,7 @@ cpu1: cpu@1 { enable-method = "psci"; next-level-cache = <&l2>; clocks = <&scpi_dvfs 0>; + #cooling-cells = <2>; }; cpu2: cpu@2 { @@ -92,6 +94,7 @@ cpu2: cpu@2 { enable-method = "psci"; next-level-cache = <&l2>; clocks = <&scpi_dvfs 0>; + #cooling-cells = <2>; }; cpu3: cpu@3 { @@ -101,6 +104,7 @@ cpu3: cpu@3 { enable-method = "psci"; next-level-cache = <&l2>; clocks = <&scpi_dvfs 0>; + #cooling-cells = <2>; }; l2: l2-cache0 {