Message ID | 20221115091709.2865997-8-peng.fan@oss.nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2608561wru; Tue, 15 Nov 2022 01:25:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf4bwT0wpNj0hN1fj03sEQfEYJsYw/fYx2BndCMwvCVWJrtgOC0nkziUmRs/i1nA54Hc0UiD X-Received: by 2002:a63:cd11:0:b0:46f:ef65:f6a8 with SMTP id i17-20020a63cd11000000b0046fef65f6a8mr15574344pgg.398.1668504306757; Tue, 15 Nov 2022 01:25:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668504306; cv=pass; d=google.com; s=arc-20160816; b=OBs7xIFasX5sSNouRyNFHtxD1Aok6nIbSxv+J4Pr1qSGy2PcAdzGSWb6UjhPXAedoV MbVZkm2OKdNCJLDQrMEOVvidX8Y43y5DggffJM1uXkhZph0jsRCJsV+0EmBp5u/X3Q7q XIgbOegpQM4ve0FPEnhAUzoQ+rgTQUhRftdWpdzZjqBgdouJg8qp4kRVT0S3blp1hhPJ +3TYBts5lf1SKMXhaHTMmC7Y5i2G3iw8WyiK7b1ZYvyyxviPjE0ZD8bT0hdWIVX9/T2q cgGgL4Y7OOfTvgTLnhBv/F6Jqa1UwgPCw/OfCQTiqhxAycJVZbtCPE99OMbPT9guMcWz IVag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7seoCcDHr1GrJVtmnKhkNbzTU04i+Pt/e27f19TPcAQ=; b=BUrycwRxr5RX4wX6GcgXsXquR9dOnHJp8MAOT8i0N1j/P3HW7keHULGhEefEw4/nD9 vsARAGEleQWnZVhqs5AUbNJKIRI7Og7ieNyOvlaRMeJEaOeuxBXWCzLSeVwpx2+msGYf VXbYMHhsK6oXz4tTY8ntZN7f+vUWhCpGcukA0Kt/tpUvpyvVXK3CUJEIDV2T7fpt0Aqe 1caKm8sYBja2Pm6pqRmSLt9dyYAclIQVmXnGsgve99gaBavAVl+6SH/2p5mYT2xfnY5t JpRMl9tKNzAx7Ywz2EFhnFpwTD3bdhcztm3BE5GUE+kTKZqVND7OR6AFGxfQbbbJCFmq Wg1A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=KhKCFrw3; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z10-20020a1709028f8a00b00186a3bb7ae3si10946327plo.213.2022.11.15.01.24.53; Tue, 15 Nov 2022 01:25:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=KhKCFrw3; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238009AbiKOJR3 (ORCPT <rfc822;zwp10758@gmail.com> + 99 others); Tue, 15 Nov 2022 04:17:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbiKOJQq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 15 Nov 2022 04:16:46 -0500 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2076.outbound.protection.outlook.com [40.107.105.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6965B23151 for <linux-kernel@vger.kernel.org>; Tue, 15 Nov 2022 01:16:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n0QGR/utIV8l2BDC4QuPcaghINGXW4n81dHc/QhHMFSHE07mbBHeR2hrsSCvBVMa8ZAVkxWttmsE3RQx0B1jewdxraz9kzdaHk76TtcbRY2NLGhIxD4Kc8FUg+hkORu8YbHiUdgl1CLkfhTyHwHOvUX7svldVtYnzDm27CVhQz6SJfVsZWXf9nGlSyBFOPcOPExfISeLCxdhMxoesJged9BHRj0r7jD4MoTV7krFRQ/izPnEHA4EQG3lYPdC4Vwa/jZei+q/aFVsZEHrSfCEVg/ECbg2Q2k/xjFWEm/VAHcfcFZt7i0qagfGzqdzh6J0DMCKSyXtQhnfTvtbbru9tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7seoCcDHr1GrJVtmnKhkNbzTU04i+Pt/e27f19TPcAQ=; b=ZeB3nYWcqh797kYiELTHPnJ1uhJRKh/iqo6uaiC/KKsvzwIluoPJSrGQKeCfnWJ7yEehcHZ0Kkg91k8QaGDbGbdzfV4SCQnn4tHbZqdHqQ+HduKmET2kCGuBhqu2UJWg9PZzpwt+/YxXv+kAlA2V42MVYNcvv15MN4GBJlGjhB3mHS62wHtLrlUizMFVKmcrGcbJrYguD6QmznsvrPh0UhrHE/WsUPi/KC/YaLojMMbLWRrOTjvhYCqZIM/ZHcTpVViWOFElJohyDP6HLtOLr8f6UBBpcPrAwCq8LGXwbyHBbnvApFAINMJU7dvocC3aBE6nKvI6aayceyH6u9Bbcg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7seoCcDHr1GrJVtmnKhkNbzTU04i+Pt/e27f19TPcAQ=; b=KhKCFrw3odofllkmEZLaq6NZ+n/hC+QqurhBzA13+mrdOEuNKtWdQYjBaq+5iZUXGEVRWhb6afpWiQYleXdYEIEDUS9OFom/qsL1c/Fi2AKUpA990kNluL273u+wtGmRmJlTs7w94SPUTYotX+NtBruAJdZqPdY3Q7xs5kTTgp0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AM9PR04MB8195.eurprd04.prod.outlook.com (2603:10a6:20b:3b7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Tue, 15 Nov 2022 09:16:07 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ac6c:bcb8:674c:35d0]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ac6c:bcb8:674c:35d0%4]) with mapi id 15.20.5813.013; Tue, 15 Nov 2022 09:16:06 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan <peng.fan@nxp.com> Subject: [PATCH V5 07/12] arm64: dts: imx8mn-evk: update vdd_soc dvs voltage Date: Tue, 15 Nov 2022 17:17:04 +0800 Message-Id: <20221115091709.2865997-8-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221115091709.2865997-1-peng.fan@oss.nxp.com> References: <20221115091709.2865997-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2P153CA0007.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::8) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AM9PR04MB8195:EE_ X-MS-Office365-Filtering-Correlation-Id: 40ce2824-0cf1-45cb-24dd-08dac6ea06cf X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +nHAA58xoXIC0WU6ZRFJH7/WUTVRtVaPXn1ThZh1dNZLEqYOCzOzNTCx8mxPPmwkVVLA4scOwGpN4GxQuBjgZ0WrLdtx05kRsbiRuSM8xNcjIf7CxmLoNl5bMJh5PnJLK63KWOZPbwLPyl3QNBfvoZIKvq6upM4rnizZDzwpxH/eEqC1+lzwGzANdh1NW8XPUsH36nXkx0obTu++5j0HI4SOzMkEyK2dNREpX2T5RZs58KsVMHPcVCOEeFOUXCH+nqLvYbEuSm5F/9ky2Zx+/ybuXBkBzDylyCdVlB8GVLJ5lnrqaJ54FJWrLB9yY8qMnyer8Rz+O28hFeXZHekHQ+3YYqutRQb2k2SfdigN4/PK6eChizsoE6o1jTo0/H3fM2XDYOJq9Lsx3Clvx0+iL6X1SP/3uN2Z50r8oreNpz0TNcKiw+2yrX+H5euHBgxR7g6IEe44tVgXCjm3NVSiFiiOF2g5gZ2FH4pqAr5Bw1edKhA/XZyqnuAO4NhsjLfKqTYijFFlxjFPk/DXZr0xAgh5lH1AUBXMLXUqT16O/gHnEKtsjiIyNuG/sxH3SVHYpCErj7DvnPZ5iC9afoyVzok0ms2Fn4lmvG3Y8S/raPwNoHUn96G9/lYJEZDmtzPhf1JKGpOhhnWEBpXv/tlL9nO49dhXCQmsw+Wj7AWrjCg0/iZGYe0h5nIDrl3HK6acx3eQLKhS3gk4hsgcjCaSaYJnXPnwLiMbKfkERTvjNwb1pBbE6D9peo7vy0d0sjvq11M+Gfv9H02I0RRTLNJaht4uUegC7mPUDaSu/aLrRgU= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(346002)(376002)(366004)(396003)(136003)(39860400002)(451199015)(6512007)(52116002)(86362001)(38350700002)(38100700002)(1076003)(186003)(83380400001)(2616005)(2906002)(26005)(6506007)(8936002)(5660300002)(478600001)(6486002)(66476007)(66946007)(316002)(66556008)(8676002)(41300700001)(4326008)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: we+BFuIT6pQ7+4LU+zQllOxVxpf20ePCLBpgNh+FQxifoalDlzgCFoFtfhY+dpEPLjkvsfwWTaAMt/M+fa0NCBXMH2F4+mKPblyQvUKrqX5dSI+Y6Ow3imP6TSb7H+RqU5W6kS72MF5dDzOslYRc1Soah0ldndOKFIpkimVvj+aCcHAZWY+gexq7QpAypB22xZMohjVRAIcDOsXT6YEOxCERCIwztRO3G6Sx3nKQyc9cdDEzDCjHKuV8OjlIk7yTqXTITPPsY54WLT16F289bjkPCB5eunZg3a4SOdf0DxVGRFzp07f58ASFgpUFRSn2amuPGU8cCM3L+Gz0nT1pHk0H5voG0V6+KM9Q2/8WGmB7sHd8rwTuvwJNa9f7hSV17OOk6hc1dd9XKs+RYfYoec1d1XkVimgRoMdwIpWizXiXG1iGtkn2Z08BKL1HkZfAGvYjYq2OkGlB3GeRKbLkY9c3grkfjIjNu1mgkybKIbV4hfkPphPw/g6prWZnR6ZBM5hdaSR80RqzqhL88cKmrpfFfyxjKLyxIKY05Iu0Kd+UwYyV+kdo29kZ1CAAtnWSiY0x85iK7oExug0HOUEmSauqwaKL9oNZwwsQEfqkXvJ1msHC8jg9BPw7r7ddDB6Si8owFF6vJA+id1j4OfIUCMCvCadeAjNou+NXDbto9qtLdXkWxtM/ZDtyvZ/6tmIUXqQKLW4Imdg8AXLjrIvuU5ZZkT6gI7Fh7wb+UCUjlyLZWUPXB3viV7RBggK1THPT3XfowcpJnMkpuLjWjQO1vnilVr9KMJMaYTsGIgTZc/sQYNIStbiuk30/nUr9M6R7WR9s+XOBmrudyNACb8FA7OEHbu5CDzh07btNzOZ+CuVvj/d+2BmCoJChhAluJYTcAWpzKzDkuFTSktYo/e+SPS+3+yBJdZLV9AUAVbmlYf4z5ueNo1lPPB6AEM2cEpQS8B07QLFL3ZCTSpieiHPlye5OhC9LMHQPdwtupmiJAx6qP8cn9qoOlP6iXq+h4AxHuUSQ4zepMYpQV4sl03w3FqPVVBacmTOJ3bFWdowD1OevrbpWA9JPpvWkAuSiMr7QWblPp99jHUgtEtREmfTDQt8OTjX2c2bvEI3EizeDYcNusD3lEeMqVVwAQfyHEzU3BdGbUOaVDCnvmvpRFEtRGifp+gkbhwp+chCXM0Ea6aRl7zq+Dk/ufCsPbrXaIH8ODfm1fbz5qL0vJujCK6mv7vWf47sRMx1ivsuKMX2FEFRMlQ0SKAFjyVVjNillFtM+0+TSjaQcajUdmsdXDFjRNInvZrCS1okXea6Rb++DY5/q8IxtVHFyAFPLUa+kU1xvrSjpMK+6gquN45LcACRL8Zg5f9n8U7qJNg0C1XE1Ce3s/2KTGcNRGdHhvBEx+xL23zVMfSN80U6alLLFkK1PrtLED76kUgJN+i0d/abZaCWdB1hn5lmvpwYIJOxL0E2ke7auYgbhuhisIn/xAP1MXS0HJAspiX+f813iMWLTBHs68/WcV71MZyRauAfdYfcOpTEytw1DjSfjh9c+qOuGLhSpETz/TqZ4mbzfeoZumMX32WtrFsWZ1uyWHKugr6ND X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 40ce2824-0cf1-45cb-24dd-08dac6ea06cf X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2022 09:16:06.8668 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: zggRh++EFje3EUas5VnJsLFaQj+4i46lyTjY3Zo0ooBePTi2i+HRBvsgZwjY89+AnBz8gWYT7t1fXASRxmTULg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8195 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749553572021902310?= X-GMAIL-MSGID: =?utf-8?q?1749553572021902310?= |
Series |
arm64: dts: imx8m-evk: misc dts update
|
|
Commit Message
Peng Fan (OSS)
Nov. 15, 2022, 9:17 a.m. UTC
From: Peng Fan <peng.fan@nxp.com> Per schematic, BUCK1 is for VDD_SOC&DRAM&PU_0V9. The nxp,dvs-run-voltage and nxp,dvs-standby-voltage need set for BUCK1, not BUCK2. BUCK2 is for A53, which is handled by DVFS, so no need dvs property. Signed-off-by: Peng Fan <peng.fan@nxp.com> --- arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Comments
Hi Peng, On 22-11-15, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > Per schematic, BUCK1 is for VDD_SOC&DRAM&PU_0V9. The nxp,dvs-run-voltage > and nxp,dvs-standby-voltage need set for BUCK1, not BUCK2. > BUCK2 is for A53, which is handled by DVFS, so no need dvs property. > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > --- > arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > index 4eb467df5ba7..a5a7d74ec1d5 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > @@ -47,6 +47,8 @@ buck1: BUCK1{ > regulator-boot-on; > regulator-always-on; > regulator-ramp-delay = <3125>; > + nxp,dvs-run-voltage = <950000>; One last question on this. According the schematic the max should be 0.88/0.945V and you are going to set it to 0.950V. According the driver the nxp,dvs-run-voltage is just the same as the normal regulator voltage. So I would suggest to just use the nxp,dvs-standby-voltage property to enable the DVS feature since the run voltage is already handled by the regulator-min-microvolt/regulator-max-microvolt. So it would be just: > + nxp,dvs-standby-voltage = <750000>; Regards, Marco > }; > > buck2: BUCK2 { > @@ -56,8 +58,6 @@ buck2: BUCK2 { > regulator-boot-on; > regulator-always-on; > regulator-ramp-delay = <3125>; > - nxp,dvs-run-voltage = <950000>; > - nxp,dvs-standby-voltage = <850000>; > }; > > buck4: BUCK4{ > -- > 2.37.1 > > >
> Subject: Re: [PATCH V5 07/12] arm64: dts: imx8mn-evk: update vdd_soc dvs > voltage > > Hi Peng, > > On 22-11-15, Peng Fan (OSS) wrote: > > From: Peng Fan <peng.fan@nxp.com> > > > > Per schematic, BUCK1 is for VDD_SOC&DRAM&PU_0V9. The > > nxp,dvs-run-voltage and nxp,dvs-standby-voltage need set for BUCK1, not > BUCK2. > > BUCK2 is for A53, which is handled by DVFS, so no need dvs property. > > > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > > --- > > arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > index 4eb467df5ba7..a5a7d74ec1d5 100644 > > --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > @@ -47,6 +47,8 @@ buck1: BUCK1{ > > regulator-boot-on; > > regulator-always-on; > > regulator-ramp-delay = <3125>; > > + nxp,dvs-run-voltage = <950000>; > > One last question on this. According the schematic the max should be > 0.88/0.945V and you are going to set it to 0.950V. No, my schematic shows the TYP voltage is 0.85/0.95V. > > According the driver the nxp,dvs-run-voltage is just the same as the normal > regulator voltage. So I would suggest to just use the nxp,dvs-standby- > voltage property to enable the DVS feature since the run voltage is already > handled by the regulator-min-microvolt/regulator-max-microvolt. So it > would be just: It should be fine to not set nxp,dvs-run-voltage, because bootloader already set that. Thanks, Peng. > > > + nxp,dvs-standby-voltage = <750000>; > > Regards, > Marco > > > }; > > > > buck2: BUCK2 { > > @@ -56,8 +58,6 @@ buck2: BUCK2 { > > regulator-boot-on; > > regulator-always-on; > > regulator-ramp-delay = <3125>; > > - nxp,dvs-run-voltage = <950000>; > > - nxp,dvs-standby-voltage = <850000>; > > }; > > > > buck4: BUCK4{ > > -- > > 2.37.1 > > > > > >
On 22-11-16, Peng Fan wrote: > > Subject: Re: [PATCH V5 07/12] arm64: dts: imx8mn-evk: update vdd_soc dvs > > voltage > > > > Hi Peng, > > > > On 22-11-15, Peng Fan (OSS) wrote: > > > From: Peng Fan <peng.fan@nxp.com> > > > > > > Per schematic, BUCK1 is for VDD_SOC&DRAM&PU_0V9. The > > > nxp,dvs-run-voltage and nxp,dvs-standby-voltage need set for BUCK1, not > > BUCK2. > > > BUCK2 is for A53, which is handled by DVFS, so no need dvs property. > > > > > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > > > --- > > > arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > > b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > > index 4eb467df5ba7..a5a7d74ec1d5 100644 > > > --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > > +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > > @@ -47,6 +47,8 @@ buck1: BUCK1{ > > > regulator-boot-on; > > > regulator-always-on; > > > regulator-ramp-delay = <3125>; > > > + nxp,dvs-run-voltage = <950000>; > > > > One last question on this. According the schematic the max should be > > 0.88/0.945V and you are going to set it to 0.950V. > > No, my schematic shows the TYP voltage is 0.85/0.95V. I have the Rev.A2 i.MX8MNano DDR4 SoM schematic and TYP is listed as 0.8/0.9V. Is this different for different ram configurations? Sorry for asking but the i.MX8MNano LPDDR4 schematic is not available. > > According the driver the nxp,dvs-run-voltage is just the same as the normal > > regulator voltage. So I would suggest to just use the nxp,dvs-standby- > > voltage property to enable the DVS feature since the run voltage is already > > handled by the regulator-min-microvolt/regulator-max-microvolt. So it > > would be just: > It should be fine to not set nxp,dvs-run-voltage, because bootloader already > set that. Okay, so leave the voltage as it is right now and just add the nxp,dvs-standby-voltage seems fine :) Regards, Marco > > Thanks, > Peng. > > > > > + nxp,dvs-standby-voltage = <750000>; > > > > Regards, > > Marco > > > > > }; > > > > > > buck2: BUCK2 { > > > @@ -56,8 +58,6 @@ buck2: BUCK2 { > > > regulator-boot-on; > > > regulator-always-on; > > > regulator-ramp-delay = <3125>; > > > - nxp,dvs-run-voltage = <950000>; > > > - nxp,dvs-standby-voltage = <850000>; > > > }; > > > > > > buck4: BUCK4{ > > > -- > > > 2.37.1 > > > > > > > > > >
> Subject: Re: [PATCH V5 07/12] arm64: dts: imx8mn-evk: update vdd_soc dvs > voltage > > On 22-11-16, Peng Fan wrote: > > > Subject: Re: [PATCH V5 07/12] arm64: dts: imx8mn-evk: update vdd_soc > > > dvs voltage > > > > > > Hi Peng, > > > > > > On 22-11-15, Peng Fan (OSS) wrote: > > > > From: Peng Fan <peng.fan@nxp.com> > > > > > > > > Per schematic, BUCK1 is for VDD_SOC&DRAM&PU_0V9. The > > > > nxp,dvs-run-voltage and nxp,dvs-standby-voltage need set for > > > > BUCK1, not > > > BUCK2. > > > > BUCK2 is for A53, which is handled by DVFS, so no need dvs property. > > > > > > > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > > > > --- > > > > arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 4 ++-- > > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > > > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > > > b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > > > index 4eb467df5ba7..a5a7d74ec1d5 100644 > > > > --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > > > +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > > > > @@ -47,6 +47,8 @@ buck1: BUCK1{ > > > > regulator-boot-on; > > > > regulator-always-on; > > > > regulator-ramp-delay = <3125>; > > > > + nxp,dvs-run-voltage = <950000>; > > > > > > One last question on this. According the schematic the max should be > > > 0.88/0.945V and you are going to set it to 0.950V. > > > > No, my schematic shows the TYP voltage is 0.85/0.95V. > > I have the Rev.A2 i.MX8MNano DDR4 SoM schematic and TYP is listed as > 0.8/0.9V. Is this different for different ram configurations? [Peng Fan] It maybe DDR4 board support 2400MTS, LPDDR4 board support 3200MTS, but I am not sure. Regards, Peng. Sorry for asking > but the i.MX8MNano LPDDR4 schematic is not available. > > > > According the driver the nxp,dvs-run-voltage is just the same as the > > > normal regulator voltage. So I would suggest to just use the > > > nxp,dvs-standby- voltage property to enable the DVS feature since > > > the run voltage is already handled by the > > > regulator-min-microvolt/regulator-max-microvolt. So it would be just: > > It should be fine to not set nxp,dvs-run-voltage, because bootloader > > already set that. > > Okay, so leave the voltage as it is right now and just add the nxp,dvs- > standby-voltage seems fine :) > > Regards, > Marco > > > > > Thanks, > > Peng. > > > > > > > + nxp,dvs-standby-voltage = <750000>; > > > > > > Regards, > > > Marco > > > > > > > }; > > > > > > > > buck2: BUCK2 { > > > > @@ -56,8 +58,6 @@ buck2: BUCK2 { > > > > regulator-boot-on; > > > > regulator-always-on; > > > > regulator-ramp-delay = <3125>; > > > > - nxp,dvs-run-voltage = <950000>; > > > > - nxp,dvs-standby-voltage = <850000>; > > > > }; > > > > > > > > buck4: BUCK4{ > > > > -- > > > > 2.37.1 > > > > > > > > > > > > > >
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts index 4eb467df5ba7..a5a7d74ec1d5 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts @@ -47,6 +47,8 @@ buck1: BUCK1{ regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>; + nxp,dvs-run-voltage = <950000>; + nxp,dvs-standby-voltage = <750000>; }; buck2: BUCK2 { @@ -56,8 +58,6 @@ buck2: BUCK2 { regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>; - nxp,dvs-run-voltage = <950000>; - nxp,dvs-standby-voltage = <850000>; }; buck4: BUCK4{