Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1052031pxm; Wed, 23 Feb 2022 16:55:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJykkITDtYw3idvfKP5aGbqD9zapN+WeqJ3PpczGUNgmndk9KiCIAm9GOM1WLSv9L1mNxtDj X-Received: by 2002:a17:903:310d:b0:14f:ef77:d685 with SMTP id w13-20020a170903310d00b0014fef77d685mr88994plc.163.1645664110059; Wed, 23 Feb 2022 16:55:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645664110; cv=none; d=google.com; s=arc-20160816; b=lvn/gaevoy8PgbB5HyQJMr33TEUtXY++MckT+Nf1bOVWV62mixnwu5JfZYzd5jE1LV KJn+HjopLBBY8TWpeOKAfVcjsjR5IGn/ycetNl7296Y+l8c7iqN81fosmsnviqj1X2MV t7Mnc9qQc8kYk5cxeMkykgijqNJLpb00ex503HBTy/11SS+7IZpnMu/uSbEV2wwogbtc pRjOEuDsVyzbshpuSsM2E2PiBLxaqqGSGBFg8GrN9VVUv037X1fmR9Qgm8FBHP9lzpan KvqiKNxWLvb+t4qWiesP3MLnYuwT6EOweCMb+XDTShOFgEaR5430+3+h6lxhjfcv0uO0 wxVg== 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=ywNZ6NSwfejE8EDXjQ33JHJOKjebhsdDklw/YWSsZMY=; b=WpIEGX3deiVc5c8o6BoXj0YxJ8YRefPkQRDfquN3hc4sOBz0BqajTfpylKiKAXi7kc Y8R51lABG76SQhiHlg/Z/HVT3vH4i4H3EWj8FSPhU/YPa8p6u4nIXe8y/QPuicXESljV BrdyoyZdCwXmiCNfQOvHPAKMv60AtckUddfL1sKQX9Bl0qRWYN4jSnUjnMfNNOIt90wh 0xHzuX+8m3T0CxvexrXuM7MoShU9lKw9Oic07ViUoibAJOHLQeHO8/N18ZkStRnHq9ZM bg/wGPgHaoH0x8Key92TtpGrVG4sljzx8/63+49sY0BwlPhj28rRxOaHv+vHAqaU3ddu K4dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=Vh36zDY8; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q91-20020a17090a17e400b001bc299f7cf9si3489391pja.109.2022.02.23.16.55.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 16:55:10 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=Vh36zDY8; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9A92F108767; Wed, 23 Feb 2022 16:48:27 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242090AbiBWVGx (ORCPT + 99 others); Wed, 23 Feb 2022 16:06:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241907AbiBWVGu (ORCPT ); Wed, 23 Feb 2022 16:06:50 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADBF54E387; Wed, 23 Feb 2022 13:06:21 -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 11EC3223EA; Wed, 23 Feb 2022 22:06:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1645650380; 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=ywNZ6NSwfejE8EDXjQ33JHJOKjebhsdDklw/YWSsZMY=; b=Vh36zDY8A7LXo3Wsc99YbxzTH1MP7fd/G5W3X9pKVoP79hxUIQJlHb+426S0cIea7m9YWC sQ9lAfKBpZFAt/ha++SpLI1vDKXgi3S+ZfGvdGyI8BjCbRpiBT2qCNSXAF9wkUfH6W6dsz 6t70+vDP9QweL4Uo17LorcM1vmEGft0= 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 v1 2/2] arm64: dts: imx8mn-evk: fix the min/max voltages of the PMIC Date: Wed, 23 Feb 2022 22:05:59 +0100 Message-Id: <20220223210559.1999209-2-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220223210559.1999209-1-michael@walle.cc> References: <20220223210559.1999209-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 buck1 converter. 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 eaa06f49aef5..2bb0155ea018 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_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>; @@ -51,8 +51,8 @@ buck1: BUCK1{ buck2: BUCK2 { 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>; @@ -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