From patchwork Thu Mar 28 13:44:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Rokosov X-Patchwork-Id: 13608575 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 1DD17CD1284 for ; Thu, 28 Mar 2024 13:45:37 +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=BmqnsD6GRXKKSpVcBu6kfaYtlMlzQGQxgvc1qUsvYzQ=; b=k2Skk0YgI7Doj2 dKGwcR/J9QqpdWKbIVZVnsPynfdqUV2b3n6Zh0KV7TE0rYBsdHfNoYEJlpCCyDekRuNzTEFpoGDT5 TtNKPTkkIgGDBwM47cozXpJdGAen3sFeLREYA0PMQHEfOg0wUqa1+W+Jrzm22ZR/6Sv1zB+cAezUp v35rUp3FreIFnFUpjWUyJX8jZrcMDsZ1O7/3N8MkFdmm37AYhpxNvxtwakVvwroP7C5WUj7NOv9Ml bo7DrMuieCnBX2L3oU2z3RpBM+71pl7pNqds6f7ogQj3ZYd8f3VpRjIRBs/sKn4IVzEIZNuLdqMbN GL0hyI18yE2SiZkY0muQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpq4S-0000000EAec-1rAF; Thu, 28 Mar 2024 13:45:32 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpq4Q-0000000EAcx-3te6; Thu, 28 Mar 2024 13:45:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=alTHRPO0LGNebBF6T3fPf9W0ODRjVLoVALcMlvKEm/4=; b=bL0TOazyqZIxliwYuqjy3oASKW iV3rBtUmchKnwJyaQ9TGXNTPURgK67hWgqS44J/4QEDjHh9cgwaWsu7/YE77KcWN/4ST+Ax+UmQak 3x6vuy9koTAK9S4Cc7p6v+OX8gyk/wJhG4KhHWYBI96REJUBQqVsF0AtVv4AuiImYvpd9nkxKhkEn sTaSgn4Rty+vEyG+dzWl2Ma2UN22n+jMbVoQWBESxVIgYn62UhmrKSRhaiTV6HQCBlM78kSTdJ28k Val9P/YGK2Md9BGhz9CVMMDhUS/4rwxbOdWEO82YBsOZLfg9PpjNrFRKOc8lP4ZMgra3WLrc4/x2A oa/xQ+Wg==; Received: from mx2.sberdevices.ru ([45.89.224.132] helo=mx1.sberdevices.ru) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpq49-00000000zGx-1GDK; Thu, 28 Mar 2024 13:45:16 +0000 Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 8A926120014; Thu, 28 Mar 2024 16:45:09 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 8A926120014 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1711633509; bh=alTHRPO0LGNebBF6T3fPf9W0ODRjVLoVALcMlvKEm/4=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=r5/F/Qpv9EosPGAmsl8HhhtXnKByoZ3VZeu3+T8iCbcbHQQdCyklja+PrIuoEq/jK /5dkOyeaVf+Zip/Evl27g73xOzv3pq0Wh9g6aneooKcXV4BxJaYz8wHpck3kc7mHk0 CGvrDqo3hEfrYQ9ek8Qy3kVwYlSS+3gWu4d7EqO9s4Yow5h6JvK7qnOWMV2gruYVlF RGyD/j43pNmvkunrpFI6ps0N9t2ZPUV9njdnRb6TPwrPJV7YX/jUsdkQFoo1gEMwgS e6MtvjJZ1o86MEjyQxQxrY/Stc4nnpfJF3TsJYQuPIyAejO9bxyIXBPUF7WJQWejq2 q8jtDXue6HLcw== Received: from smtp.sberdevices.ru (p-i-exch-sc-m02.sberdevices.ru [172.16.192.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Thu, 28 Mar 2024 16:45:09 +0300 (MSK) Received: from CAB-WSD-L081021.sberdevices.ru (100.64.160.123) by p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 28 Mar 2024 16:45:08 +0300 From: Dmitry Rokosov To: , , , , , , , , , , , , CC: , , , , , , , Dmitry Rokosov Subject: [PATCH v1 1/3] arm64: dts: amlogic: a1: add cooling-cells for DVFS feature Date: Thu, 28 Mar 2024 16:44:37 +0300 Message-ID: <20240328134459.18446-2-ddrokosov@salutedevices.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240328134459.18446-1-ddrokosov@salutedevices.com> References: <20240328134459.18446-1-ddrokosov@salutedevices.com> MIME-Version: 1.0 X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) To p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 184470 [Mar 28 2024] X-KSMG-AntiSpam-Version: 6.1.0.4 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: 14 0.3.14 5a0c43d8a1c3c0e5b0916cc02a90d4b950c01f96, {Tracking_from_domain_doesnt_match_to}, 100.64.160.123:7.1.2;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2;smtp.sberdevices.ru:7.1.1,5.0.1;salutedevices.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/03/28 10:33:00 #24492761 X-KSMG-AntiVirus-Status: Clean, skipped X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240328_134514_025186_8AD43C11 X-CRM114-Status: GOOD ( 11.56 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org It's used for CPU with DVFS feature to specify minimum and maximum cooling state used in the reference. Without these values DVFS will not work and dtbs_check will raise the error. Signed-off-by: Dmitry Rokosov Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi index fbee986421f1..f65d4a77ee52 100644 --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi @@ -32,6 +32,7 @@ cpu0: cpu@0 { reg = <0x0 0x0>; enable-method = "psci"; next-level-cache = <&l2>; + #cooling-cells = <2>; }; cpu1: cpu@1 { @@ -40,6 +41,7 @@ cpu1: cpu@1 { reg = <0x0 0x1>; enable-method = "psci"; next-level-cache = <&l2>; + #cooling-cells = <2>; }; l2: l2-cache0 {