From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6867E4A00; Sun, 27 Jul 2025 17:10:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=163.172.96.212 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753636229; cv=none; b=MtAenf+ijv45rykkX7HLgDjegv9XJxSdu+xT1uCJHxE8Y0/T/8+G6P1D5vS3/V117jGnxMHtaXmz8PEdLT8i9fB+SGsBL1OeKTBpg9NatSkjpn1x1yj/ds7BJji3JyPDDfAfPoFDoXdbUp21Lc3hc7t6cAkXGUOXSotdDwFrNJI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753636229; c=relaxed/simple; bh=/NgwpO3cse/PaI1LwtLxV1CE5rATpK2IMleIMwqMhGY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JtF7+mQwAX8/QU7vAM4iLhyZDvvdnHR4NhBWNZ2Y5cL1grtThyMCuXgDP0olue5NL7kS0Ucz+DjHTOG20nq8QDxMJTrdzvE49o0YsbEcREhfwZwQjrzro3y/EMOcFCPEn3ESNld6HQJxdjsUMVAYCluL00rozQz6OJz480kC0Hs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=1wt.eu; spf=pass smtp.mailfrom=1wt.eu; arc=none smtp.client-ip=163.172.96.212 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=1wt.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=1wt.eu Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 56RH9lBm018749; Sun, 27 Jul 2025 19:09:47 +0200 Date: Sun, 27 Jul 2025 19:09:47 +0200 From: Willy Tarreau To: Chukun Pan Cc: alchark@gmail.com, conor+dt@kernel.org, devicetree@vger.kernel.org, heiko@sntech.de, jonas@kwiboo.se, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, ziyao@disroot.org Subject: Re: [PATCH v2 1/1] arm64: dts: rockchip: rk3528: Add CPU frequency scaling support Message-ID: <20250727170947.GA19379@1wt.eu> References: <20250720140010.218235-1-amadeus@jmu.edu.cn> 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: <20250720140010.218235-1-amadeus@jmu.edu.cn> User-Agent: Mutt/1.10.1 (2018-07-13) Hello, On Sun, Jul 20, 2025 at 10:00:10PM +0800, Chukun Pan wrote: > Hi, > > > > Because the actual frequency generated by 850mV is closer to 1008MHz. > > > > Which likely means that you have an -L5 chip. It will be different on > > other chips - it's a lottery of silicon quality. > > The rk3528 board I have has -L3 and -L5 levels. > -L3 level tested at 850mV (mainline kernel) actual frequency is 1055MHz. > > Frankly speaking, I have always doubted whether the voltage value of BSP > is correct. The voltage of BSP kernel at 1800MHz and 2016MHz is too low, > and no board can reach the corresponding actual frequency. > For example, if we set the CPU frequency to 2016MHz when running the BSP > kernel, the actual frequency can only reach 1800MHz. I've tried the patch on my E20C and am seeing a frequency drop compared to cpufreq disabled (2016 MHz stock frequency). By default, without the OPP, my CPU cores are showing the following frequencies: # ncpu=$(nproc);for ((i=0; i