From patchwork Thu Jun 20 13:38:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13705536 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 F2D48C2BA18 for ; Thu, 20 Jun 2024 13:39:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=tyo5allVwIxIuuhkEj3y1o2/YobY9N/FD64ejEGJ+lc=; b=T4vGSreRlea8NjxBpnJFhC8Wl6 yvV1vagfmU4BPY8mHdyuelByuf4nym+JZSnvr1ubIQwdwbDzCIou1xthBw88/HfzuzTYf/qrmXh35 tHoWTiuLikTmVf4wqTOHhM6ZOcOXNNQuJK8RXBYz3JMsxdI/PiQalDLCtQv1oKmWHqn7NEuYJoWqa C/UDQYs+i3olo2ySjrrdvDvbMK8Kh0Lk0VN+seO29ZsfeG9i5Tu7mQHArDype1fkG/VSoWcQwhVQy oK/hOxu7uQPfypqobRz2JqcO4gI2mALUTVzGEQMijJrHcVbEuwU6XXDGi2bviafs+ekCT9LybRvVH OsKiy3Cw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKI0B-00000005FAD-3vVP; Thu, 20 Jun 2024 13:38:59 +0000 Received: from xavier.telenet-ops.be ([2a02:1800:120:4::f00:14]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKI08-00000005F7T-0A72 for linux-arm-kernel@lists.infradead.org; Thu, 20 Jun 2024 13:38:58 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:260f:cd5c:91b1:523c]) by xavier.telenet-ops.be with bizsmtp id dpen2C00K0Y0hZi01pensV; Thu, 20 Jun 2024 15:38:49 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1sKHzz-00056t-Rt; Thu, 20 Jun 2024 15:38:47 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1sKHzz-000Cdr-OM; Thu, 20 Jun 2024 15:38:47 +0200 From: Geert Uytterhoeven To: Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH] arm64: dts: renesas: r8a779h0: Drop "opp-shared" from opp-table-0 Date: Thu, 20 Jun 2024 15:38:45 +0200 Message-Id: <4e0227ff4388485cdb1ca2855ee6df92754e756e.1718890585.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240620_063856_241044_FC8B44E5 X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. 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 The four Cortex-A76 CPU cores on R-Car V4M share their Operating Performance Points (OPP) table, but they have independent clocks. All cores in the cluster can switch DVFS states independently, hence the cluster's OPP table should not have an "opp-shared" property. Fixes: 6bd8b0bc444eae56 ("arm64: dts: renesas: r8a779h0: Add CA76 operating points") Signed-off-by: Geert Uytterhoeven --- Before, only a single CPU frequency policy is created: cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 999999 KHz, changing to: 1000000 KHz /sys/devices/system/cpu/cpu0/cpufreq -> ../cpufreq/policy0 /sys/devices/system/cpu/cpu1/cpufreq -> ../cpufreq/policy0 /sys/devices/system/cpu/cpu2/cpufreq -> ../cpufreq/policy0 /sys/devices/system/cpu/cpu3/cpufreq -> ../cpufreq/policy0 After, four independent CPU frequency policies are created: cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 999999 KHz, changing to: 1000000 KHz cpufreq: cpufreq_online: CPU1: Running at unlisted initial frequency: 999999 KHz, changing to: 1000000 KHz cpufreq: cpufreq_online: CPU2: Running at unlisted initial frequency: 999999 KHz, changing to: 1000000 KHz cpufreq: cpufreq_online: CPU3: Running at unlisted initial frequency: 999999 KHz, changing to: 1000000 KHz /sys/devices/system/cpu/cpu0/cpufreq -> ../cpufreq/policy0 /sys/devices/system/cpu/cpu1/cpufreq -> ../cpufreq/policy1 /sys/devices/system/cpu/cpu2/cpufreq -> ../cpufreq/policy2 /sys/devices/system/cpu/cpu3/cpufreq -> ../cpufreq/policy3 To be queued in renesas-devel for v6.11. --- arch/arm64/boot/dts/renesas/r8a779h0.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi index 00ac730c26cb7202..163bbcbccc9fcde4 100644 --- a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi @@ -23,7 +23,6 @@ can_clk: can-clk { cluster0_opp: opp-table-0 { compatible = "operating-points-v2"; - opp-shared; opp-500000000 { opp-hz = /bits/ 64 <500000000>;