From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sender4-op-o15.zoho.com (sender4-op-o15.zoho.com [136.143.188.15]) (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 B615E22B584; Thu, 16 Apr 2026 18:29:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=136.143.188.15 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776364181; cv=pass; b=k5R7J/TcyCHM9Kebpsq+gZPSXfN4JKSTH1lPLF8oC2mgBUgoTjdp3co+RmAiiWejplRDPfN7tduLmsv0MR7rrYOv6XYdsTBvve349wCQYNT68ydXAL8J8/G0GF0kvIi7WELAeDDlRURntCHuB7D8ei7VwooeZLWsE9W3cS1qxqI= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776364181; c=relaxed/simple; bh=W2xztWKQdo8jfaigNceGBZ7cq2BWKBMX3dFTzvKL3w8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Xr1tqtQ64HXKVgSEgyXRdzjcFyQvDHXZQlnCIcWaYVglPuZy442dALJt7qV1UliLzcHK2jD8AHOxpfwyqnmIiSgpcSZTSboktPPXIt+pKElw7Ukp/QL7Ewv3tdwMa741LRe4s3otZMCkfpkARZ9TrUMUw11SAkHZ36ONu1wrWNA= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ziyao.cc; spf=pass smtp.mailfrom=ziyao.cc; dkim=pass (1024-bit key) header.d=ziyao.cc header.i=me@ziyao.cc header.b=byQaRwrd; arc=pass smtp.client-ip=136.143.188.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ziyao.cc Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziyao.cc Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ziyao.cc header.i=me@ziyao.cc header.b="byQaRwrd" ARC-Seal: i=1; a=rsa-sha256; t=1776364138; cv=none; d=zohomail.com; s=zohoarc; b=NE1kTZruiDkKdurSqrfKPQfNUW9o4u5ghQYH75IbdUyx3o7sj6y5wOOFBzJiz3krFD3HlyDu0ttTUS6rEGoLv3cyPaiTI1+qW5Wfu1eWzOpxDx2js9hFGI9Jl1QsaRnym5I9XZOJHnnwleYDFRg32/6L+nHXKRPor6MgFA5h9wk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1776364138; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=/YaAGSJbDEtzRAI5/6sj2uFumzW2z1vouVaPcA0oz+w=; b=hVzdjD2VQCZ6dSwa8hh6g7oUAQ7bL+c+D3cAhRHdCFjI2ef7dZoh4fiLsg9/lLPAMt5ffRjvs+4EYXOOADIG0+ZUEasRsl3kbgVytCRRhslOukT3Y5z2nvgXp9g93JQeXmjQZ3CVuHkyM50IPMkT4Xeleb2j+dH/6qxJUKbDcUU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=ziyao.cc; spf=pass smtp.mailfrom=me@ziyao.cc; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1776364138; s=zmail; d=ziyao.cc; i=me@ziyao.cc; h=Date:Date:From:From:To:To:Cc:Cc:Subject:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To:Message-Id:Reply-To; bh=/YaAGSJbDEtzRAI5/6sj2uFumzW2z1vouVaPcA0oz+w=; b=byQaRwrdr5W/VTDACSb+HBtBWXizaAMCpNmGK/GGECr4/KM+COGj11uFyIJfeVvf 3MQUH9onOpF9YfQxnvrcXHYm8GvOUVY8oN3BMWuvf77fKXay8FpBZYlUeHSwH3IcS7k P+sCiU6wRU2TZRxWEJgliU2/dLj7en3Z8DrJB3Rw= Received: by mx.zohomail.com with SMTPS id 1776364135165890.8638924599645; Thu, 16 Apr 2026 11:28:55 -0700 (PDT) Date: Thu, 16 Apr 2026 18:28:23 +0000 From: Yao Zi To: "Shuwei Wu" , "Anand Moon" Cc: "Rafael J. Wysocki" , "Viresh Kumar" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" , "Alexandre Ghiti" , "Yixun Lan" , , , , , Subject: Re: [PATCH v2 2/2] riscv: dts: spacemit: Add cpu scaling for K1 SoC Message-ID: References: <20260410-shadow-deps-v2-0-4e16b8c0f60e@mailbox.org> <20260410-shadow-deps-v2-2-4e16b8c0f60e@mailbox.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ZohoMailClient: External On Thu, Apr 16, 2026 at 01:59:05PM +0800, Shuwei Wu wrote: > On Tue Apr 14, 2026 at 9:25 PM CST, Anand Moon wrote: > > Hi Shuwei, > > > > On Fri, 10 Apr 2026 at 13:30, Shuwei Wu wrote: > >> > >> Add Operating Performance Points (OPP) tables and CPU clock properties > >> for the two clusters in the SpacemiT K1 SoC. > >> > >> Also assign the CPU power supply (cpu-supply) for the Banana Pi BPI-F3 > >> board to fully enable CPU DVFS. > >> > >> Signed-off-by: Shuwei Wu > >> > >> --- > >> Changes in v2: > >> - Add k1-opp.dtsi with OPP tables for both CPU clusters > >> - Assign CPU supplies and include OPP table for Banana Pi BPI-F3 > >> --- > >> arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 35 +++++++- > >> arch/riscv/boot/dts/spacemit/k1-opp.dtsi | 105 ++++++++++++++++++++++++ > >> arch/riscv/boot/dts/spacemit/k1.dtsi | 8 ++ > >> 3 files changed, 147 insertions(+), 1 deletion(-) > >> ... > Regarding the necessity of listing these clocks in the DT, my analysis is as follows: > 1. For CCI550, I did not find a clear definition of this clock's specific role > in the SoC datasheet. Although the vendor kernel increases its frequency, > my benchmarks show that maintaining the mainline default (245.76MHz) has a > negligible impact on CPU performance. FYI, CCI550 is used for naming an ARM interconnect IP[1], which matches your observation. ... > Best regards, > Shuwei Wu Regards, Yao Zi. [1]: https://developer.arm.com/Processors/CoreLink%20CCI-550