From mboxrd@z Thu Jan 1 00:00:00 1970 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 28FD0C27C4F for ; Wed, 19 Jun 2024 00:02:36 +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: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KbdYujKcK73PxnCAiHdx3n7pp1caUppg3WXewJScpXY=; b=NrC2WHvYmMvUqNMO6BrPNmN+TW 8N5bOArrw5+mTjo5eQdDIUA9sBa8hI1Rz+oORMNN/40X28sEkiem+ekSAyPUoGVNHVjtPhURGI+6D y+jqFYPT/xyNh5+q+vGFx9Qyv7HQobcVaskdTFEBj9uIAG87LPrYWrlUtuZ4B+e0lx9mDkYXU+VHZ PfksK3y+1MZodYWbRfAiI5TDMtAGKPgOVJ12Pe6rNB7IkOgQSkpf8HnUlLhOUc61cZ2Zl52ikuytQ Z50RMK1AgJuuvylCBSjBtcF93NyKsbV2e3f6KtqRSStYZ0JjHmU/ZHCdrLtensp+KilNT7a+hZ0Gd fLU5pI9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJimS-0000000Gxjb-0fcY; Wed, 19 Jun 2024 00:02:28 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJimP-0000000Gxik-4Aq2 for linux-arm-kernel@lists.infradead.org; Wed, 19 Jun 2024 00:02:27 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5C3C1DA7; Tue, 18 Jun 2024 17:02:49 -0700 (PDT) Received: from minigeek.lan (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7CD543F64C; Tue, 18 Jun 2024 17:02:22 -0700 (PDT) Date: Wed, 19 Jun 2024 01:00:51 +0100 From: Andre Przywara To: Ryan Walklin Cc: Yangtao Li , "Rafael J . Wysocki" , Viresh Kumar , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Chris Morgan , Sudeep Holla , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Stephen Boyd , Rob Herring Subject: Re: [PATCH 3/3] arm64: dts: allwinner: rg35xx: Enable DVFS CPU frequency scaling Message-ID: <20240619010051.1bd9f00f@minigeek.lan> In-Reply-To: <20240607092140.33112-4-ryan@testtoast.com> References: <20240607092140.33112-1-ryan@testtoast.com> <20240607092140.33112-4-ryan@testtoast.com> Organization: Arm Ltd. X-Mailer: Claws Mail 4.2.0 (GTK 3.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240618_170226_162610_87A4D45A X-CRM114-Status: GOOD ( 17.01 ) 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 On Fri, 7 Jun 2024 21:20:35 +1200 Ryan Walklin wrote: > The Anbernic RG35XX device variants (-2024, -H, -Plus and -SP) are the > only currently known devices to have an Allwinner H700 SoC. The closely > related RG28XX also has the H700 but a mainline DT for this device has > not yet been submitted. > > Include the H616 CPU OPP table in the base device DTS, and increase the > DCDC1 regulator (vdd-cpu) upper voltage range to 1.16V, allowing the > CPU to reach 1.5GHz. > > Signed-off-by: Ryan Walklin Reviewed-by: Andre Przywara Cheers, Andre > --- > .../boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts b/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts > index ee30584b6ad70..afb49e65859f9 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts > @@ -6,7 +6,7 @@ > /dts-v1/; > > #include "sun50i-h616.dtsi" > - > +#include "sun50i-h616-cpu-opp.dtsi" > #include > #include > #include > @@ -221,7 +221,7 @@ regulators { > reg_dcdc1: dcdc1 { > regulator-always-on; > regulator-min-microvolt = <900000>; > - regulator-max-microvolt = <1100000>; > + regulator-max-microvolt = <1160000>; > regulator-name = "vdd-cpu"; > }; >