Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4318855pxb; Mon, 4 Oct 2021 23:58:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymO2V0doVD9HJj9D2U+EOT9mkkUyA1szRkQgtd2ewQSHD1Qy8py/3SKKqxJcEEbO00ncFL X-Received: by 2002:a05:6402:2048:: with SMTP id bc8mr8055542edb.142.1633417087320; Mon, 04 Oct 2021 23:58:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633417087; cv=none; d=google.com; s=arc-20160816; b=Kg78fanrswQCmX4oR/Xd6ayj1IDz+3oMk33HPhoN/dDv+oGDbBt8I3jjCjCsSD8HVO qIYusnbS5TJBiviDdNCx3K9+MSmZ3GeLXTxoQHk4XRawitSinQZxN2SQixKmhKIMN4oQ oPgt4d7TYrLKmQNSdgaK90ucspJrZB04SSzEXAbAmpNoHB/uNRMQeIonqbaokAZpDQS3 KjdsKgibvRteOlkoMKdIPPiAK1vaghU4XwDW0YK1EAICIMMK42vMTJOeXr2gnfySLXaU LIqQC1fzLgUD6W8DdxFYN3OBD63jz3b4W3GHo5tXi2CS3LPZsIy23m89r4l8hPreCmxL UOKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=LLxZbcIKX38kM88nAJPO/QtdBlmB8e4I6HrRQzhphJY=; b=fFrLxVllH9JPmM1/D1d6HlP2dQjtAg9G0IGAy9pgxdyI7S68xFMClG2wf3wGRilwk8 W/D99iNB1a6ehkPVprDFd+S0Zkvz2TgHJQ66+1K/c+eW+k7fuxKbCaXFDTbr8VGQnbFO lXrWuOR4vR5GHG0WnLbY78s7wVSH05wy1QHtm/FgZJVqWUoPP4Ut8i7ZGy+Kn5REFLYl qvK3QJLuQKdD+nTyM/ZcFNasAvekQAzFn+qy4n5bJkulNoORiPbAU/7zTWlFzIhCZXll 1m1kdpoIEwYUcBZXtJcavjHKL7mS2t+rv3qKPsvZeN4T5t5BFXdl7cGkfnfgdzAqrR+7 HD8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j23HgdkH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s3si20494250ejs.720.2021.10.04.23.57.43; Mon, 04 Oct 2021 23:58:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j23HgdkH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232222AbhJEGz4 (ORCPT + 99 others); Tue, 5 Oct 2021 02:55:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:39012 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230526AbhJEGzz (ORCPT ); Tue, 5 Oct 2021 02:55:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3180E6138F; Tue, 5 Oct 2021 06:54:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633416845; bh=b7QzjFO7hZD8ywQA6H3ZkbswlXTN6z1Bpr2GKwUdVzU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=j23HgdkHVmGIY0nYmkth4nMgVrSa3DVFN2Dv/+lXDkBtmVhrcDVWO9UlGh9lkAjx2 AvP1BzSAS6zxqU5BnGSlSPJiXf/hrtoYwj5yfvIZ6N5R2QmL1jfzvLEpshoXm9Z+DH Tz5OhuCkE8QhreB3rdKAgNMVJhs8x8NO+tCdfAyQLcjQFFVeP+aMYEXHD1Ix5SQBh8 JdWbJ6C40ejjsii+HPs6JRXVv7KDzuHDH9ztFE7wnwycq0PsRCbX2Wu/yaq5XEBWbW 388Wxw3PBJFU0oG67yVygy39pZDiWn/QU5AKsxRJbKotvTAFG2RvH3zzPlPn9YTYj/ MvdEL9jmK2z4Q== Date: Tue, 5 Oct 2021 14:53:59 +0800 From: Shawn Guo To: Frieder Schrempf Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Frieder Schrempf , 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: <20211005065358.GZ20743@dragon> References: <20210930155633.2745201-1-frieder@fris.de> <20210930155633.2745201-3-frieder@fris.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210930155633.2745201-3-frieder@fris.de> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? 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 >