Message ID | 20221024031351.4135651-4-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 l7csp228266wru; Sun, 23 Oct 2022 20:14:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5vZ+FeZDZhkBMZsAmJXTipk42yIuRln4EfCozb8G6dTqUHHxmnTxi2riwY04JtL/gjPAlr X-Received: by 2002:a63:874a:0:b0:46e:bcc0:c69d with SMTP id i71-20020a63874a000000b0046ebcc0c69dmr12146591pge.89.1666581261252; Sun, 23 Oct 2022 20:14:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666581261; cv=pass; d=google.com; s=arc-20160816; b=lQnQXsA9YAnj18ARXPLs/G8ltqpGDvz8vyTrL3JwGcy8NDamdjwU55nrg1klNWVUIB 6lSrzvd/Imgx+QyBrcu7AK+bF3yGdPaY3y0OMHncig1CklZaTKjfuoFrgMpQda3RJsUY xT8ru3s48dqiLsi+Kjsy7lrRsKKMJLlGGfc6BmIu7KX8mTAZr5NrQUrhTVGdlbRd5RGY DnNW0gp8v3aL58+0H8LX25H8/Nv8gqj3I/GgO1wnMxIA39nxCOY0stzBlJ4c6S7zzbIV 1c6wvWEkur5AAxxMpw/ht3VwF0BEfKFi/6COPCdZl7p1Bo8+V4vRQHUUStK6II6kLUNd NtHA== 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=Y2z+72baMHwBNGlbt4Q36BRcCnw1uMi873lFmp+DuCg=; b=fiU0EzuDFQoKpBo9nJRpdx7V4Nk7r4tRW5mbj6t+w20iNfeRpATXZnnFqraoEY07oQ SbGN9ioUZ7ZLdAEM+7xy+uQigS3UJSy082A36390Mhl4zo76BhDtmHUq6idonoo3UDxA PeLnTqddBYocIgay+IRXsYm20mosCoOoLhzTwvgT2MBbHMFcZOgYaGiAvOftpLNFW0sG 5SR4K0Zo0xxudnkU22Wx0YLblX0S8psusNWbiHkuuJVgxEBb09dOsRaW3swpTlhdIu28 1qLQ8b6Bae+4dLaWb1uzp5A78pmqLTEagsPbBEzPjzWMmocJum6IYc0Z4h6mPg8RqvHn ZeFA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=GsLvmcsS; 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 x26-20020a634a1a000000b0044601bb2f90si32651854pga.530.2022.10.23.20.14.08; Sun, 23 Oct 2022 20:14:21 -0700 (PDT) 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=GsLvmcsS; 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 S229914AbiJXDM4 (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Sun, 23 Oct 2022 23:12:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229800AbiJXDMh (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 23 Oct 2022 23:12:37 -0400 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2052.outbound.protection.outlook.com [40.107.103.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8527367071; Sun, 23 Oct 2022 20:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c1nXDEXtH4NYJtameOzPWom6K38YZBEZ4XSXBCezUL9J2gGMne0T1uaY9apmpWQa5doqF8PJcTS2o5jjRlItWCiJGIyE0oykRrXU+d6ZD0nmNF9EAXPD0jv7YAM1dxA/I/zUEeX9zYuoO3MON4t/4AOd1fXQK5Tihn7KiFhw8mzJ4C9FsxOszK2+4PDb6DlpWlSvpLuBYhaBm9mDCwCqTO7eQ63+ZVyC4crcCoy6pmPxK58u6ota6XyfGqK8skwMyJLVtIzN42k/BQ8H3YKzfWzZOxTTg6ruzRAGuOCO4Lg0wjqPBcHJlCw5uhmbIZt0dLwLLNojgSNL3wtxXbD+ag== 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=Y2z+72baMHwBNGlbt4Q36BRcCnw1uMi873lFmp+DuCg=; b=hTokWg65P3z3awVkr5LU+Ch1rvTKaydBzRG+UrXr8boIVqCw5ht1r5+NHLNnLPJTKPVTPjLHgs1cKm9nixeW+bP/ebVXJPqcPTOahc0DtJ//0VRi7ERp0BC6j+tE+z1mN1SEYk+tN01qWDU8EuA8cEoz/b1alxVrmjQAIldXWsB0wE4z7PjeAaP2W2LXMQplur0BfSSzzWqA/ywLKoaDt9W8d5uZ2/vIIg+OwJsGFJegGrqn746C1D6eyfU2vAbKpv5HS4xZgwZLGGlMXI3Vmn//1twlLzt74mapmw8IpfnyV7P7hYeuJiR1zvS4eabEwISP+lM5DQrFRE3mPBwEmw== 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=Y2z+72baMHwBNGlbt4Q36BRcCnw1uMi873lFmp+DuCg=; b=GsLvmcsSuVNLBDnuykMSTVAl7YIQ5OolAxvBQc98kMNnZGFB+4pBzh1F3YeHVF3AB2Eu/d00v4lfPXH8lj+nUCPmXx4VzcmBp8Z+e+mOSpGVBfbNk8JCL0czzP1gCvtOoiBJ7Ckkqiggnu8c8yfXATcarzO/PkyEVs23pQ+vnSM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) by AM9PR04MB8340.eurprd04.prod.outlook.com (2603:10a6:20b:3e0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Mon, 24 Oct 2022 03:12:32 +0000 Received: from PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85]) by PA4PR04MB9416.eurprd04.prod.outlook.com ([fe80::9344:660:a20d:8a85%7]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 03:12:32 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan <peng.fan@nxp.com> Subject: [PATCH V2 03/15] arm64: dts: imx8mp-evk: fix BUCK/LDO voltage Date: Mon, 24 Oct 2022 11:13:39 +0800 Message-Id: <20221024031351.4135651-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221024031351.4135651-1-peng.fan@oss.nxp.com> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To PA4PR04MB9416.eurprd04.prod.outlook.com (2603:10a6:102:2ab::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9416:EE_|AM9PR04MB8340:EE_ X-MS-Office365-Filtering-Correlation-Id: 3f6a9e8e-c329-498c-c06e-08dab56d974f 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: 60x8GQiIQH5FflXI+rw0qomao8oJsuoCSOwvWNzXob/EpRzwEIraDrfCzEJoRE/NXWq1SQMAZ570SWssrmgzAxR7DihQzj1toQf/KBBn/0T2zoV2rEi9q4Bi2UiWvAt7Axt/r5wWBdu1Pwv1M5pMN4+4VXVkX5lTDOBOMSIPBe6KpLRTnOMVCEQm8KRr23ZwaY1R1E/ieZYtouZGn1GFujBuhEWqp9KazW0JazO7vu9Rl9x0BwZL3MzbwF9i22xroHTbI1Nu924Tdbu73+YEY5EPyPaQxT99t7MC19oZHLm/ZrPoW71ABueb3IC+7izChh2Mn/tdB/6TiqsLVuL/QPKoyr/881XAzEnYS4tj0L5EV3RhR+sNe5DM1HVlajbfyCuMtqavB52lPJYr7dwHhZCpbMZYethAA3Ruv6bmTw6fsUFCQKedAr3xLtreo9/c1p8nxSRXzUovVCpjmhXbS47AsPJwjiEyZg7Pi1wiARfBYvr3LMEsJTUNbjJo5GjxiGQ0eEvcn0ZczsLCJyvaNj2ndOE+4RCJ4lk/Eh2P5iJcPqurMBnPfGmyyBEmdon8P6YHgHZfVfYZpzTMl3jvIoQR8cK+xdR79V6QQVG2BOjgvMBcdSNDbJc0vWzWfPm6EfvJ4NmpITTjkI5rdRT0Uf+6k+Ci8JfbVqQdMCbMeRgHN/34zyr+3kuJQ9IQXjHKzkvZRC1kX9EG/HqBwOENoQLKPFUo4iFefEBveqpHrOjYG8Mh9jarK+Lg16iW5LG1n8fZ4+iWFCHNJNaSjzs3h8I/mJxX4X5iuzblGVayuJ8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9416.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(366004)(39860400002)(396003)(451199015)(2906002)(41300700001)(52116002)(83380400001)(86362001)(66476007)(66556008)(66946007)(316002)(4326008)(8676002)(8936002)(5660300002)(1076003)(186003)(2616005)(6512007)(26005)(6486002)(478600001)(6506007)(38100700002)(38350700002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?6Dd63FVk4oGN847zTCFU/620VNTZ?= =?utf-8?q?a47PJjx9Hh+DphWt74nMgtAHhVOmgZFDQZy8HwcnyIlHs78TS24o74oXcshUksjRP?= =?utf-8?q?G9eLD/mC1RNOReZ8AOIIU6pf5+IGZ9cmPvDmYVQeef4F7GPlKFned0FdFI4gXL+l/?= =?utf-8?q?TemidGyX+kFr5x/s6QkTCN9bWEDfZp5adxgyfqWHK/MlP3eGjlO94ygWxXgRCnxQU?= =?utf-8?q?p3+CK3bG+6N7jkOMtE9f8JT1nHAjRDZkRwhrDQVbeAzfyJtgZxHs+hHNiHws7eHaM?= =?utf-8?q?2j5chvB3h0ie992r+RenIWaFXIxTmT1McXYD5AdAF+5wwfWqZd5+27nDwpBzslK0Q?= =?utf-8?q?JPM3gWVPBmXVNaY96zbjjH9NOaNbUHi+3BbpTYyViS4+xTzbLYXLzXf4Ksi0OsLUM?= =?utf-8?q?/szDPqvLGhH7QMrXJGuQfvVwuHMYKoP3aXHBB0PUV+NvK13ElXrwOiHWjhDtbvl63?= =?utf-8?q?5BACS1F9VSUyrCUiHDHHrQbeZH05DNgKo5y7rbk3oAkQfxts2nsJ+P551dRnebTSy?= =?utf-8?q?5q6bHUOGpvgbGad6DSq7ju7fY1oPwXnicOzrfM/hKt/T2F1QHFnHg+tiWHy4zDET9?= =?utf-8?q?qLuQCP6GIxrOijVQTwp7mEOBiXAYtRKDWv2OACe9sX92Ha3sDb8lVCf7CsY7Is15S?= =?utf-8?q?KtSuzxlRUjWEKAZv7+XMWOwjWAgIP/qqDoY/w9RMcBJbHvU0TROHoq15fKqwvypRI?= =?utf-8?q?ee1ZB0dDY95xnWoj+uE0cmFLqGFwIqSX5UdB/XtfeOcA5ix3sJ3meFJ547BGAZ5r2?= =?utf-8?q?FhRpxhQv1+HOA9xAGVNMVZFE5W7T9ANGkDg5H0WVCjmeK+IsSGSiElQAcG6/LDP2t?= =?utf-8?q?9qlgwxubSWtb1/RL6T9TzbEVf1lja0rYgAsYqvN0L5GlK0isAv57+hZPLPXH65jf1?= =?utf-8?q?ZTv4zgl2zU8CAaK+SiD1KmJxhmSClQOKFJ3L0UreMIFDFWHvDvDCG6gVKcA8xUpiQ?= =?utf-8?q?0oppzx50cWm+h/Sq/A9dcGOTFL+oy5YjCpnhQ1XidciIqPrsxaXEbUCdRmJHeIoKl?= =?utf-8?q?MzCx4uRb6rq4rkR4qnDsHAXPbBAnvQ1KU9EX33o5ogVMZrJ4ADS4YCfdi4B95ZwgA?= =?utf-8?q?gMc2uGe0z7tqM7HtwU79dCe7YatSZqq7IcdWQgzj/wbjr+Y0zHtz3eb8+iZsva64i?= =?utf-8?q?AwLYTwk3O2Pr/DLk2nc/EGS9vta9WjhZ7GKsTNQD0bgLQ4Y0//B5zg3uOzSJHuRMd?= =?utf-8?q?em8Cn2GhJ2/6G+nEebF2p/gxP3E2VqtYx5ywHuDSPTKtSdR4ZLLen/CbTQR87NxGv?= =?utf-8?q?mENKdjta/zTeXsCi4PDh6bK7KzvZSapL6uFphgtre7Z69dRs3vzkgf3PmTpZBre9Y?= =?utf-8?q?b4hHiq76TOmOibgGcRjCH6nit/81Mh0ttYrw5Rc41/u9jp3jlmkugsN0wPIMayOVW?= =?utf-8?q?Q1UbyO4N04N5lyA4jdsHdaSSwu+1E8vZbwPwu9KkrFFMf7KOC7DoAtqtki99jlxEz?= =?utf-8?q?JEOBTPdJ27cXtEv+ZvCccC0jAvNc8NQrjqupZdYOFJyfMl8/2B3gIbKHjAsg5QC44?= =?utf-8?q?ew1ei13ubCB8?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3f6a9e8e-c329-498c-c06e-08dab56d974f X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9416.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 03:12:32.2558 (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: ZMb9a6Z3WKw7DMUDIUvr5Jbd4umU3Q/Lg169Dy4qwrfaxSNChcsdsVCqc7o6OqnEdIKBKLBLU7gYuPIxu5U0kQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8340 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?1747537112297102756?= X-GMAIL-MSGID: =?utf-8?q?1747537112297102756?= |
Series |
arm64: dts: imx8m-evk: misc dts update
|
|
Commit Message
Peng Fan (OSS)
Oct. 24, 2022, 3:13 a.m. UTC
From: Peng Fan <peng.fan@nxp.com> Per PCA9450C datasheet, the voltage range as below: BUCK1 0.6 - 2.1875 BUCK2 0.6 - 2.1875 BUCK4 0.6 - 3.4 BUCK5 0.6 - 3.4 BUCK6 0.6 - 3.4 LDO1 1.6-1.9, 3.0-3.3 LDO2 0.8 – 1.15 LDO3 0.8 - 3.3 LDO4 0.8 - 3.3 LDO5 1.8 - 3.3 Currently we set the board voltage range same as PMIC regulator range. Also add LDO[2,4] in this patch Fixes: 5497bc2a2bff ("arm64: dts: imx8mp-evk: Add PMIC device") Signed-off-by: Peng Fan <peng.fan@nxp.com> --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 44 +++++++++++++------- 1 file changed, 30 insertions(+), 14 deletions(-)
Comments
On 22-10-24, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > Per PCA9450C datasheet, the voltage range as below: > BUCK1 0.6 - 2.1875 > BUCK2 0.6 - 2.1875 > BUCK4 0.6 - 3.4 > BUCK5 0.6 - 3.4 > BUCK6 0.6 - 3.4 > > LDO1 1.6-1.9, 3.0-3.3 > LDO2 0.8 – 1.15 > LDO3 0.8 - 3.3 > LDO4 0.8 - 3.3 > LDO5 1.8 - 3.3 > > Currently we set the board voltage range same as PMIC regulator > range. We did not therefore you aligned it. Also are you sure that this will not damage the boards since you're lowering the min-voltage and raising the max. voltage? According the schematic, BUCK1 is for VDD_SOC which is min. 0.805V and max. 1.0V. After you're change someone could set it to 2.1875V. Same applies to BUCK2 which is for VDD_ARM and should be within min. 0.805V and max. 1.05V. Regards, Marco > Also add LDO[2,4] in this patch > > Fixes: 5497bc2a2bff ("arm64: dts: imx8mp-evk: Add PMIC device") > Signed-off-by: Peng Fan <peng.fan@nxp.com> > --- > arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 44 +++++++++++++------- > 1 file changed, 30 insertions(+), 14 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts > index b4c1ef2559f2..a4cddc5a8620 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts > @@ -248,8 +248,8 @@ pmic@25 { > regulators { > BUCK1 { > regulator-name = "BUCK1"; > - regulator-min-microvolt = <720000>; > - regulator-max-microvolt = <1000000>; > + regulator-min-microvolt = <600000>; > + regulator-max-microvolt = <2187500>; > regulator-boot-on; > regulator-always-on; > regulator-ramp-delay = <3125>; > @@ -257,8 +257,8 @@ BUCK1 { > > reg_arm: BUCK2 { > regulator-name = "BUCK2"; > - regulator-min-microvolt = <720000>; > - regulator-max-microvolt = <1025000>; > + regulator-min-microvolt = <600000>; > + regulator-max-microvolt = <2187500>; > regulator-boot-on; > regulator-always-on; > regulator-ramp-delay = <3125>; > @@ -268,40 +268,56 @@ reg_arm: BUCK2 { > > BUCK4 { > regulator-name = "BUCK4"; > - regulator-min-microvolt = <3000000>; > - regulator-max-microvolt = <3600000>; > + regulator-min-microvolt = <600000>; > + regulator-max-microvolt = <3400000>; > regulator-boot-on; > regulator-always-on; > }; > > BUCK5 { > regulator-name = "BUCK5"; > - regulator-min-microvolt = <1650000>; > - regulator-max-microvolt = <1950000>; > + regulator-min-microvolt = <600000>; > + regulator-max-microvolt = <3400000>; > regulator-boot-on; > regulator-always-on; > }; > > BUCK6 { > regulator-name = "BUCK6"; > - regulator-min-microvolt = <1045000>; > - regulator-max-microvolt = <1155000>; > + regulator-min-microvolt = <600000>; > + regulator-max-microvolt = <3400000>; > regulator-boot-on; > regulator-always-on; > }; > > LDO1 { > regulator-name = "LDO1"; > - regulator-min-microvolt = <1650000>; > - regulator-max-microvolt = <1950000>; > + regulator-min-microvolt = <1600000>; > + regulator-max-microvolt = <3300000>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + LDO2 { > + regulator-name = "LDO2"; > + regulator-min-microvolt = <800000>; > + regulator-max-microvolt = <1150000>; > regulator-boot-on; > regulator-always-on; > }; > > LDO3 { > regulator-name = "LDO3"; > - regulator-min-microvolt = <1710000>; > - regulator-max-microvolt = <1890000>; > + regulator-min-microvolt = <800000>; > + regulator-max-microvolt = <3300000>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + ldo4: LDO4 { > + regulator-name = "LDO4"; > + regulator-min-microvolt = <800000>; > + regulator-max-microvolt = <3300000>; > regulator-boot-on; > regulator-always-on; > }; > -- > 2.37.1 > > >
On 10/28/2022 10:53 PM, Marco Felsch wrote: > On 22-10-24, Peng Fan (OSS) wrote: >> From: Peng Fan <peng.fan@nxp.com> >> >> Per PCA9450C datasheet, the voltage range as below: >> BUCK1 0.6 - 2.1875 >> BUCK2 0.6 - 2.1875 >> BUCK4 0.6 - 3.4 >> BUCK5 0.6 - 3.4 >> BUCK6 0.6 - 3.4 >> >> LDO1 1.6-1.9, 3.0-3.3 >> LDO2 0.8 – 1.15 >> LDO3 0.8 - 3.3 >> LDO4 0.8 - 3.3 >> LDO5 1.8 - 3.3 >> >> Currently we set the board voltage range same as PMIC regulator >> range. > > We did not therefore you aligned it. Also are you sure that this will > not damage the boards since you're lowering the min-voltage and raising > the max. voltage? According the schematic, BUCK1 is for VDD_SOC which is > min. 0.805V and max. 1.0V. After you're change someone could set it to > 2.1875V. Same applies to BUCK2 which is for VDD_ARM and should be within > min. 0.805V and max. 1.05V. You are right. But I think DVFS already limit it. I am not sure very sure, let me drop this patch for now. I need confirm with HW team. Thanks, Peng. > > Regards, > Marco > >> Also add LDO[2,4] in this patch >> >> Fixes: 5497bc2a2bff ("arm64: dts: imx8mp-evk: Add PMIC device") >> Signed-off-by: Peng Fan <peng.fan@nxp.com> >> --- >> arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 44 +++++++++++++------- >> 1 file changed, 30 insertions(+), 14 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts >> index b4c1ef2559f2..a4cddc5a8620 100644 >> --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts >> +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts >> @@ -248,8 +248,8 @@ pmic@25 { >> regulators { >> BUCK1 { >> regulator-name = "BUCK1"; >> - regulator-min-microvolt = <720000>; >> - regulator-max-microvolt = <1000000>; >> + regulator-min-microvolt = <600000>; >> + regulator-max-microvolt = <2187500>; >> regulator-boot-on; >> regulator-always-on; >> regulator-ramp-delay = <3125>; >> @@ -257,8 +257,8 @@ BUCK1 { >> >> reg_arm: BUCK2 { >> regulator-name = "BUCK2"; >> - regulator-min-microvolt = <720000>; >> - regulator-max-microvolt = <1025000>; >> + regulator-min-microvolt = <600000>; >> + regulator-max-microvolt = <2187500>; >> regulator-boot-on; >> regulator-always-on; >> regulator-ramp-delay = <3125>; >> @@ -268,40 +268,56 @@ reg_arm: BUCK2 { >> >> BUCK4 { >> regulator-name = "BUCK4"; >> - regulator-min-microvolt = <3000000>; >> - regulator-max-microvolt = <3600000>; >> + regulator-min-microvolt = <600000>; >> + regulator-max-microvolt = <3400000>; >> regulator-boot-on; >> regulator-always-on; >> }; >> >> BUCK5 { >> regulator-name = "BUCK5"; >> - regulator-min-microvolt = <1650000>; >> - regulator-max-microvolt = <1950000>; >> + regulator-min-microvolt = <600000>; >> + regulator-max-microvolt = <3400000>; >> regulator-boot-on; >> regulator-always-on; >> }; >> >> BUCK6 { >> regulator-name = "BUCK6"; >> - regulator-min-microvolt = <1045000>; >> - regulator-max-microvolt = <1155000>; >> + regulator-min-microvolt = <600000>; >> + regulator-max-microvolt = <3400000>; >> regulator-boot-on; >> regulator-always-on; >> }; >> >> LDO1 { >> regulator-name = "LDO1"; >> - regulator-min-microvolt = <1650000>; >> - regulator-max-microvolt = <1950000>; >> + regulator-min-microvolt = <1600000>; >> + regulator-max-microvolt = <3300000>; >> + regulator-boot-on; >> + regulator-always-on; >> + }; >> + >> + LDO2 { >> + regulator-name = "LDO2"; >> + regulator-min-microvolt = <800000>; >> + regulator-max-microvolt = <1150000>; >> regulator-boot-on; >> regulator-always-on; >> }; >> >> LDO3 { >> regulator-name = "LDO3"; >> - regulator-min-microvolt = <1710000>; >> - regulator-max-microvolt = <1890000>; >> + regulator-min-microvolt = <800000>; >> + regulator-max-microvolt = <3300000>; >> + regulator-boot-on; >> + regulator-always-on; >> + }; >> + >> + ldo4: LDO4 { >> + regulator-name = "LDO4"; >> + regulator-min-microvolt = <800000>; >> + regulator-max-microvolt = <3300000>; >> regulator-boot-on; >> regulator-always-on; >> }; >> -- >> 2.37.1 >> >> >>
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index b4c1ef2559f2..a4cddc5a8620 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -248,8 +248,8 @@ pmic@25 { regulators { BUCK1 { regulator-name = "BUCK1"; - regulator-min-microvolt = <720000>; - regulator-max-microvolt = <1000000>; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <2187500>; regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>; @@ -257,8 +257,8 @@ BUCK1 { reg_arm: BUCK2 { regulator-name = "BUCK2"; - regulator-min-microvolt = <720000>; - regulator-max-microvolt = <1025000>; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <2187500>; regulator-boot-on; regulator-always-on; regulator-ramp-delay = <3125>; @@ -268,40 +268,56 @@ reg_arm: BUCK2 { BUCK4 { regulator-name = "BUCK4"; - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3600000>; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; regulator-boot-on; regulator-always-on; }; BUCK5 { regulator-name = "BUCK5"; - regulator-min-microvolt = <1650000>; - regulator-max-microvolt = <1950000>; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; regulator-boot-on; regulator-always-on; }; BUCK6 { regulator-name = "BUCK6"; - regulator-min-microvolt = <1045000>; - regulator-max-microvolt = <1155000>; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3400000>; regulator-boot-on; regulator-always-on; }; LDO1 { regulator-name = "LDO1"; - regulator-min-microvolt = <1650000>; - regulator-max-microvolt = <1950000>; + regulator-min-microvolt = <1600000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + LDO2 { + regulator-name = "LDO2"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1150000>; regulator-boot-on; regulator-always-on; }; LDO3 { regulator-name = "LDO3"; - regulator-min-microvolt = <1710000>; - regulator-max-microvolt = <1890000>; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo4: LDO4 { + regulator-name = "LDO4"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; };