From patchwork Wed May 4 12:49:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 12837874 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8C036C433F5 for ; Wed, 4 May 2022 12:51:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=n9rcdbJ/9N10XiTHDYi0/KJAWsTjGEmWSR6Q6kLzZ0g=; b=ymz30cvmLqONMl jn8juukSYJewuHfswM2hD7YtUqKH3ty9Aw4K9jxpwKoK46dQdShFGGqdURf3Pa1d3BkURSvnK3RhB J6GLTTiIwv9CFU4447wzcYhctW5X9vMwCUDJSePpTp/GXO/lKZ8DtkPji93+SFS5a5C+5GJDRqQLv RU3r+HumbMTSXG8wJxDAmJHBNB1yGW9yMEN9Cc6H8dyqJi6qBIshbTeSexXN0DSnVMXR8vdVKRmFq 72lHu1+G/lQVDmQzIqaTUGW/g43ovl3JPrVQ1ECVYZlSaeqoeCTSBQW+gI5p/sxE5hPLefkK1k6/A EOGlEZ7OqbBda/yWK3oA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmESA-00ArBg-Fz; Wed, 04 May 2022 12:50:02 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmES7-00ArAG-3u for linux-arm-kernel@lists.infradead.org; Wed, 04 May 2022 12:50:00 +0000 Received: from tr.lan (ip-86-49-12-201.net.upcbroadband.cz [86.49.12.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 357E483988; Wed, 4 May 2022 14:49:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1651668597; bh=GBzLa65YYXoh+oi1jR5mzYULxZeiXyV3aBPD+iXH3Rw=; h=From:To:Cc:Subject:Date:From; b=VfG1IuXaIpT+64Hz6Jl14MZnq+oo3uhC2cyw3XZVQjM6plkTb3smDG0D/OhS0m8VK ClxPFWTn6LI01GuaO0QVnCFFlGf5mLZ0M+GCRDMxGl0MDmWxBCuCqSDX5Id8/YiQ0h RJ6k7dmtzJ12SNLBdztEd1ZITHvtnpQtjjKq56FnVViZ5tiIxkU00mrV0W2rykL2VZ oSsR3Y18zn9/fQl7QZlJeMkmGWn4d+jVWMjMPLHqWpgc1qWjdJ+OCpS9Rk0ts6u7OK 2u/2jJa39f5L+H4oQV59pnoEOMlY2picvLtqRzQL6Qq/qU48MGUXAhL7bZJbj+UyJF cV3FLtTA/Q/Xw== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH] ARM: dts: stm32: Move DHCOR BUCK3 VDD 2V9 adjustment to 1V8 DTSI Date: Wed, 4 May 2022 14:49:45 +0200 Message-Id: <20220504124945.77331-1-marex@denx.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220504_054959_423208_F91704F0 X-CRM114-Status: GOOD ( 11.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Buck3 on DHCOR is used to supply IO voltage. It can output either 3V3 in the default DHCOR configuration, or 2V9 in case of AV96 DHCOR variant which has extra Empirion DCDC converter in front of the 1V8 IO supply, or outright 1V8 in case of 1V8 IO DHCOR without the Empirion DCDC converter. The 2V9 mode in case of AV96 DHCOR variant is used to reduce unnecessarily high input voltage to the Empirion DCDC converter, so move it into matching DTSI to stop confusing users. Signed-off-by: Marek Vasut Cc: Alexandre Torgue Cc: linux-stm32@st-md-mailman.stormreply.com To: linux-arm-kernel@lists.infradead.org --- arch/arm/boot/dts/stm32mp15xx-dhcor-io1v8.dtsi | 5 +++++ arch/arm/boot/dts/stm32mp15xx-dhcor-som.dtsi | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp15xx-dhcor-io1v8.dtsi b/arch/arm/boot/dts/stm32mp15xx-dhcor-io1v8.dtsi index 75172314d7afd..9937b28548c23 100644 --- a/arch/arm/boot/dts/stm32mp15xx-dhcor-io1v8.dtsi +++ b/arch/arm/boot/dts/stm32mp15xx-dhcor-io1v8.dtsi @@ -18,6 +18,11 @@ vdd_io: regulator-buck-io { }; }; +&vdd { + regulator-min-microvolt = <2900000>; + regulator-max-microvolt = <2900000>; +}; + &pwr_regulators { vdd-supply = <&vdd_io>; }; diff --git a/arch/arm/boot/dts/stm32mp15xx-dhcor-som.dtsi b/arch/arm/boot/dts/stm32mp15xx-dhcor-som.dtsi index 6336c3ca0f0e2..134a798ad3f23 100644 --- a/arch/arm/boot/dts/stm32mp15xx-dhcor-som.dtsi +++ b/arch/arm/boot/dts/stm32mp15xx-dhcor-som.dtsi @@ -119,8 +119,8 @@ vdd_ddr: buck2 { vdd: buck3 { regulator-name = "vdd"; - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; regulator-always-on; regulator-initial-mode = <0>; regulator-over-current-protection;