Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1607652pxm; Thu, 24 Feb 2022 06:22:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8Z/KIlLkx8HUrDQVdUny7KqSkdmMfdYtSqfMJ6kuHpdv8cDrBRXy4IgmUvbFxWy6qiJah X-Received: by 2002:a05:6a00:174e:b0:4e1:7cfb:7a26 with SMTP id j14-20020a056a00174e00b004e17cfb7a26mr2919955pfc.50.1645712539600; Thu, 24 Feb 2022 06:22:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645712539; cv=none; d=google.com; s=arc-20160816; b=mWbfzAL1AWmZ9pnxImfDflusUTdOXitM3/tIgazqH7qYNev28kzaq2nGP9BaduGMUp TVuZC8l+1D/j6YCnY8DEf0Xn3xUfc7QfgoYj4fXrtaCvlZgKfz7Djln7Cf8bjrY9xskM mmjLw+DH/Dg7XCGiTq43o8BpCAwuPv44jy3Bdp698iN8AwdYZGR+g4d8m070aZG3vLpG X20FXhyrp2kjx4wyLJwu+UgQzrxTCtTHv2CJIAlanApp9bWD611tI9xqwmt0PKhQNSLI 5s96OdynWnQAxcL8OzCmm8abhZNaQOhqjn0OyI/JeTRyLgOgtsYzL2FHJx4zFzV9gz7a YJ2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ryt2IYjdNSmFLI6a3vnNM5EwFNVjdetPyVDqd/aUZeg=; b=V5vEtltpFLv38/a5lYjR92V/5Ydjh29UCDq3hdxOzg5sRQ2yW1L6n84z4tB7LQqIUj fJbK3yveBj+9WCg8UKDz+01lsP3w2EvZA026NMVB9YMZVHhgeZRGEW++O7PzTTwyY/li Kn1NaUmfxWKUbIQJm1Hvk26S5ELvwLm6WqllVK4tE1BGuw3BNyfX1VBKODr0umIJUKKm 2UC6uLDQ8NO8Eoig4RlK4ECh2fzD+XH8rejbfVCBheruDKheQiF53JJW2tF8lqTR7xjd mEXFfctp697bvKNo+3ZllpjpMZZ537Fh7U7yaOVfpqynR2jjuVV07tTsRHeIZQtwnOLB fi6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=D6vR6F2T; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g8si2536239pfc.380.2022.02.24.06.22.01; Thu, 24 Feb 2022 06:22:19 -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=@gmail.com header.s=20210112 header.b=D6vR6F2T; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231684AbiBXMKP (ORCPT + 99 others); Thu, 24 Feb 2022 07:10:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229838AbiBXMKO (ORCPT ); Thu, 24 Feb 2022 07:10:14 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B5E315F347; Thu, 24 Feb 2022 04:09:44 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id s13so2681929wrb.6; Thu, 24 Feb 2022 04:09:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ryt2IYjdNSmFLI6a3vnNM5EwFNVjdetPyVDqd/aUZeg=; b=D6vR6F2TXmpD1+UFCX8/J45nksM0voDBDyKbu5n1LNr1+wppAD0zyDcENlMVfqmii7 BuTLLq0BL0y5mO5yu9m4ktr8rV4ovbhXhVp9IlmNKKjbEktMaMmojnWIqgVIgdYSyPdu aJ8YL5FVF6VLA1AZszcXBwQIB8jhWo0kJh2UiztMeSKsS8bdMOAS3vUGJJfNy7uK7X6l yUrloHTy+IHNLYCZ16bL2MLz+Y54F5+gMtXtLSZ7mj2pcuPOAgFvo35/VTDvSxAlRGFH 1zhHW4cmhroVIuI3Vx+m6gXAo6COHCrdvEvzkI5X3fCzJ7YSh2IpNEOPPO8gbtQX9cHZ TJSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ryt2IYjdNSmFLI6a3vnNM5EwFNVjdetPyVDqd/aUZeg=; b=K9T288SeQ0pZ5HiYchXnb8i5z2Y79lAzqdN/rSAbQQusRdkezX+YlZlX9tDM8vkT2S Rfol/0rYUJLhZby7tMRchfYiafm+pp2qXKsFsEkTI09TVVoFmtOPZ+5VOLig5GeQz+zs 5zwTDylU/F0Ezi+D5Pccjng8s4+eQmtaaBM06peOJI66wDCKK8o1zgv8e6LSEgodSvZB H3Wky3dk3bE/h7fJsxvUHTaWRtqkIGAPhDZhTSgtDxCCiDfncR6W7Ib6+afGZlnrZdwx tQ66JnPYkiEh7VJkE5ld7FjzHZR6QPV+ABJEQcpZvjLeFG5OdrmKA0ofp11kZxrMQB0d iOxA== X-Gm-Message-State: AOAM531ekKwJKIBbyYbGBg/1sRys/BGqUmPx/Rq7ysMnwtKYV6DkA7/W Tgq9GY1NxwtK/YMDAlCAWALBQ+b28hD50kmU7uI= X-Received: by 2002:adf:f691:0:b0:1ed:f546:bd81 with SMTP id v17-20020adff691000000b001edf546bd81mr1726324wrp.542.1645704582892; Thu, 24 Feb 2022 04:09:42 -0800 (PST) MIME-Version: 1.0 References: <20220224103030.2040048-1-michael@walle.cc> <20220224103030.2040048-2-michael@walle.cc> In-Reply-To: <20220224103030.2040048-2-michael@walle.cc> From: Heiko Thiery Date: Thu, 24 Feb 2022 13:09:31 +0100 Message-ID: Subject: Re: [PATCH v2 2/2] arm64: dts: imx8mn-evk: fix the min/max voltages of the PMIC To: Michael Walle Cc: Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Shawn Guo Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Am Do., 24. Feb. 2022 um 11:30 Uhr schrieb Michael Walle : > > Use the proper voltages as supported by the board instead of the ones > supported by the PMIC. The voltages were taken from both the schematic > of the 8MNANOLPD4-EVK eval board and the datasheet of the IMX8MN SoC. > > Signed-off-by: Michael Walle Reviewed-by: Heiko Thiery > --- > Please help review and test this. This was never tested on the actual > 8MNANOLPD4-EVK because I don't have that board! Instead it is a > "byproduct" of the development of an devicetree for the 8MNANOD3L-EVK > which is quite similar except for the DDR voltage and the buck2 > converter. > > Changes since v1: > - swap buck1 and buck2 > > arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 34 ++++++++++---------- > 1 file changed, 17 insertions(+), 17 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > index 2b685c0c7eeb..4eb467df5ba7 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts > @@ -42,8 +42,8 @@ pmic: pmic@25 { > regulators { > buck1: BUCK1{ > regulator-name = "VDD_SOC"; > - regulator-min-microvolt = <600000>; > - regulator-max-microvolt = <2187500>; > + regulator-min-microvolt = <850000>; > + regulator-max-microvolt = <950000>; > regulator-boot-on; > regulator-always-on; > regulator-ramp-delay = <3125>; > @@ -51,8 +51,8 @@ buck1: BUCK1{ > > buck2: BUCK2 { > regulator-name = "VDD_ARM_0V9"; > - regulator-min-microvolt = <600000>; > - regulator-max-microvolt = <2187500>; > + regulator-min-microvolt = <850000>; > + regulator-max-microvolt = <1000000>; > regulator-boot-on; > regulator-always-on; > regulator-ramp-delay = <3125>; > @@ -62,32 +62,32 @@ buck2: BUCK2 { > > buck4: BUCK4{ > regulator-name = "VDD_3V3"; > - regulator-min-microvolt = <600000>; > - regulator-max-microvolt = <3400000>; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > regulator-boot-on; > regulator-always-on; > }; > > buck5: BUCK5{ > regulator-name = "VDD_1V8"; > - regulator-min-microvolt = <600000>; > - regulator-max-microvolt = <3400000>; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > regulator-boot-on; > regulator-always-on; > }; > > buck6: BUCK6 { > regulator-name = "NVCC_DRAM_1V1"; > - regulator-min-microvolt = <600000>; > - regulator-max-microvolt = <3400000>; > + regulator-min-microvolt = <1100000>; > + regulator-max-microvolt = <1100000>; > regulator-boot-on; > regulator-always-on; > }; > > ldo1: LDO1 { > regulator-name = "NVCC_SNVS_1V8"; > - regulator-min-microvolt = <1600000>; > - regulator-max-microvolt = <3300000>; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > regulator-boot-on; > regulator-always-on; > }; > @@ -95,23 +95,23 @@ ldo1: LDO1 { > ldo2: LDO2 { > regulator-name = "VDD_SNVS_0V8"; > regulator-min-microvolt = <800000>; > - regulator-max-microvolt = <1150000>; > + regulator-max-microvolt = <800000>; > regulator-boot-on; > regulator-always-on; > }; > > ldo3: LDO3 { > regulator-name = "VDDA_1V8"; > - regulator-min-microvolt = <800000>; > - regulator-max-microvolt = <3300000>; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > regulator-boot-on; > regulator-always-on; > }; > > ldo4: LDO4 { > regulator-name = "VDD_PHY_1V2"; > - regulator-min-microvolt = <800000>; > - regulator-max-microvolt = <3300000>; > + regulator-min-microvolt = <1200000>; > + regulator-max-microvolt = <1200000>; > regulator-boot-on; > regulator-always-on; > }; > -- > 2.30.2 >