Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1427634pxm; Thu, 24 Feb 2022 03:00:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxxYu9rGA+Lje9ZbRMHxumGaal8SmMqRry8owmNfa2t/NX3qLGc228sGDTiuew0u0eytifA X-Received: by 2002:a05:6a00:be5:b0:4e1:9050:1e16 with SMTP id x37-20020a056a000be500b004e190501e16mr2130322pfu.78.1645700457193; Thu, 24 Feb 2022 03:00:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645700457; cv=none; d=google.com; s=arc-20160816; b=sIf7OudEpdw1D61Al1nlYueGmZ4myoevz0CYo/HKwCshCcyq055aXe834ZhwtU8r+n /3ECbWMPyu56yMQGXa1wTq0OTPT3lhdf44msRxhKG9w4G9Gs+G79EMwcpEyrlGdH/GLx eu5TYh6MFWPCMKVQiihwFpnvMFK/Ofn6UlSnIGaIg+mFTmtEtiJSRJ4EUSC5wBcGLmhq Rnq547ZuLDJLjs+3rgp0rD5ds3kmbATR8AxhuyYRq6wyI2I61YXJgabgpka0MXkYbW63 +obw000dwJmRsWPGLU8GkVpQgW48XtImXfJ/InhKGSaxYtkc5cM1+PsTIsKSosnNrUzZ Jaew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ixeMclLLzqQV/GX1oaqQ21tg7IiVFwINZ6keVlGAnDM=; b=JXVUjcwmDCoTmPajh69fnia0HtWjFswqsZ+fQAk5Nq4/4EF1PpVqAsAnzfh6PHC6lD Zr9LPkgokIlJUsV2aZvlggrI1wKu8zGmJjtQEZIJCmQ/HQ8zoPCj/H/aBV9Hhkgxerh7 D3N3gcCfhc2n7jAsyzlkQ4m/eomQcHbm6RlE1+/wtBEXqT3FLzvHVQbAXNzousApe3N/ xXvDp++YN9N1Fg9wJQ3T6O8W/nbQWoCeeLSG8vg12Abb8Bo1nYU4e0UAygM1yOLoKaKO d3lj3XPjhvlQEeY3H2gXBqZLpkzg8QOrR+p1gny8mLiwkbx5EUa+iyrvZck99aLfjfri ydjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=v3S7I9ey; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d9si2005155pfl.73.2022.02.24.03.00.38; Thu, 24 Feb 2022 03:00:57 -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=@walle.cc header.s=mail2016061301 header.b=v3S7I9ey; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233475AbiBXKbK (ORCPT + 99 others); Thu, 24 Feb 2022 05:31:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230323AbiBXKbH (ORCPT ); Thu, 24 Feb 2022 05:31:07 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E279204299; Thu, 24 Feb 2022 02:30:38 -0800 (PST) Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 6B35F223EA; Thu, 24 Feb 2022 11:30:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645698636; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ixeMclLLzqQV/GX1oaqQ21tg7IiVFwINZ6keVlGAnDM=; b=v3S7I9eyf1JDiZEQUCX+1vYSNGWISx88WGQf/yQN/UMnHq/C0Rdf31MqfXiMugdJ084Nqk ukBKMspg3R+XxbS7ZPi8xM/stqWDgThoJmancm2xCqQLKAKIbZNARGqq/N3a6VYEDvveJs l7y4beUJMMNLZrv8QCxkjZ5D+3l9QMk= From: Michael Walle To: Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: heiko.thiery@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Shawn Guo , Michael Walle Subject: [PATCH v2 2/2] arm64: dts: imx8mn-evk: fix the min/max voltages of the PMIC Date: Thu, 24 Feb 2022 11:30:30 +0100 Message-Id: <20220224103030.2040048-2-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220224103030.2040048-1-michael@walle.cc> References: <20220224103030.2040048-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 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 --- 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