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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE27CC433F5 for ; Fri, 15 Oct 2021 03:53:13 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id A810E610D2 for ; Fri, 15 Oct 2021 03:53:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A810E610D2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:In-Reply-To:MIME-Version:References: 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=ea6qV4TxXsy0Qwqt2IYWKLHy2xU6fnCs8qVUsXQ5hOI=; b=uYGycNRUfOFuNy 5FqQHdmb/QLl6GRMlW/D3WrYzoxdp71iEL4/dCKvu/hqYwTURMyD0TXBVWTK6G1wMtYhKgplMHdsv 0Ix+1ZEzGvZtiQkspe8MtEKO8KNFViJSYVZXQ2tp2aGXBygBJpjBN/hb6Z50+Cr9x+bXhlUKm+li4 mydBWLEErSic68kzV9Pl49OQXWIyV9Y/UuQk5DauSjcLEC+B5oosiT9d7xe7rXNdUgM3AA8Gyw5OU HJcAU9Huvyv584N24KOHVtcdCD1mF9DltlFS2vC1uvKJ/wzFvvBhUtBNH7LShX6qiVagpRZ/Dm3Om 1LfsMDn02ndCwqLQ9mMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbEFt-005LWy-TX; Fri, 15 Oct 2021 03:51:38 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbEFq-005LWO-Si for linux-arm-kernel@lists.infradead.org; Fri, 15 Oct 2021 03:51:36 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id D71D1611C3; Fri, 15 Oct 2021 03:51:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634269894; bh=HRiWV+8zHe2qqxJgo56IMSWbI8+MHo9yh+QgaaZsvtU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tDLwis3n2ThfcX1Fy8D9CxQP864NyJ4aDZk4T4GB5OCKNutkll8StU7Jzt/pwzlqT NGwEW/sjcxyqYXIUveg8eVYPh1QJ4ZKjt1tRR+0G9yZiG6uY08n+irsmU4mEmQ4JrQ mzyqiIg1aJCPfTMs9cWloY0ZuxsbC5lW/8GmlYyNX4MjEQBsypdLqbieDmwFoJSiJB UyMfAg5/8NuAVz21mewx7V9Wi00aGVdvkHRQ+s++S+38zVNWUby2Zsz9t1WajvOw5L bFKsBlV06WZm850pNoceMCnHFold8eri4UEfo7Pj1qmk60a69TOLdzU8XpJApRWGFU U4C1HjyoiTuxg== Date: Fri, 15 Oct 2021 11:51:27 +0800 From: Shawn Guo To: Frieder Schrempf Cc: Frieder Schrempf , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team Subject: Re: [PATCH 2/8] arm64: dts: imx8mm-kontron: Make sure SOC and DRAM supply voltages are correct Message-ID: <20211015035122.GE22881@dragon> References: <20210930155633.2745201-1-frieder@fris.de> <20210930155633.2745201-3-frieder@fris.de> <20211005065358.GZ20743@dragon> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211014_205134_974759_99EB3D7A X-CRM114-Status: GOOD ( 19.29 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Oct 05, 2021 at 03:10:14PM +0200, Frieder Schrempf wrote: > On 05.10.21 08:53, Shawn Guo wrote: > > On Thu, Sep 30, 2021 at 05:56:25PM +0200, Frieder Schrempf wrote: > >> From: Frieder Schrempf > >> > >> VDD_SOC should be 800 mV in suspend and 850 mV in run mode. VDD_DRAM > >> should be 950 mV for DDR clock frequencies of 1.5 GHz. > >> > >> This information is taken from the datasheet and the uboot-imx code. > > > > I'm wondering where the existing settings were coming from? > > Good question, but I can't really retrace now how I actually determined > the values back then. Seems like I had failed to validate them properly. Please update commit log with these background info. Shawn > > > > >> > >> Signed-off-by: Frieder Schrempf > >> --- > >> arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi | 6 ++++-- > >> 1 file changed, 4 insertions(+), 2 deletions(-) > >> > >> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi > >> index 03b3516abd64..b12fb7ce6686 100644 > >> --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi > >> +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi > >> @@ -92,10 +92,12 @@ regulators { > >> reg_vdd_soc: BUCK1 { > >> regulator-name = "buck1"; > >> regulator-min-microvolt = <800000>; > >> - regulator-max-microvolt = <900000>; > >> + regulator-max-microvolt = <850000>; > >> regulator-boot-on; > >> regulator-always-on; > >> regulator-ramp-delay = <3125>; > >> + nxp,dvs-run-voltage = <850000>; > >> + nxp,dvs-standby-voltage = <800000>; > >> }; > >> > >> reg_vdd_arm: BUCK2 { > >> @@ -111,7 +113,7 @@ reg_vdd_arm: BUCK2 { > >> reg_vdd_dram: BUCK3 { > >> regulator-name = "buck3"; > >> regulator-min-microvolt = <850000>; > >> - regulator-max-microvolt = <900000>; > >> + regulator-max-microvolt = <950000>; > >> regulator-boot-on; > >> regulator-always-on; > >> }; > >> -- > >> 2.33.0 > >> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel