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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D673BEB64DC for ; Tue, 11 Jul 2023 09:10:48 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AAE6886763; Tue, 11 Jul 2023 11:10:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 362B886763; Tue, 11 Jul 2023 11:10:37 +0200 (CEST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E22268682C for ; Tue, 11 Jul 2023 11:10:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=marcel@ziswiler.com Received: from toolbox.int.toradex.com ([84.226.64.168]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LnQ7c-1pliEg1f4A-00hasa; Tue, 11 Jul 2023 11:09:28 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Cc: Andrejs Cainikovs , Marcel Ziswiler , Fabio Estevam , "NXP i.MX U-Boot Team" , Simon Glass , Stefano Babic , Tom Rini Subject: [PATCH v1 3/5] arm64: dts: verdin-imx8mm: add ctrl_sleep_moci# hog Date: Tue, 11 Jul 2023 11:09:16 +0200 Message-Id: <20230711090918.523772-4-marcel@ziswiler.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20230711090918.523772-1-marcel@ziswiler.com> References: <20230711090918.523772-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:b9aizUKMKrEiNIP6QgIyS7XcWFad6Yo7Gp6EKdDZDTkQCiQzkqr QYVr/1AqKPG4uukBjMf4pfRvfiANuzNYhT+meB7v0Cga02RYYkq4B9pJnOj1fMjamJ0XXuK bY52fDjj/wR5j5BLdGFirMz/OmNstrxoHWpJL2plZUNVety+5H6j1AfdGqw8stimuoM3Q14 Le1P7WjuGSoqaypL0wQuw== UI-OutboundReport: notjunk:1;M01:P0:9yfbz4dHWqY=;eV4mOPhfI664I1BYoAU8mzI4RH8 l7Ci5jtb+4kyzwQgCyud1/c7cJ4SI+tnW1tO9rsVNlu14tflhy5N2aIX8QVONuh+/FydejOkN glAQo1uXwLIGphUujAWt/8ZydDaprJjXD09MAuH9h40LhgwcyoB99YQjqXsdKOuRbaXwt1zGK FoPSaQ5UBK0aAMONnkN+bTUK4MggdB67/ooPuOB82XR8XSS5tM86jFIcFkZbiPDu7UhYE5ngA 6/WDvI7myiE801ZMaMNa8FYRbVW0rN5j2iOgdeeE5YqjByJh+f9gwA8x4D3CY1Elc84SxQQBA bfQk74kX/dsaTcw+f4Qu22NgFLFGpx3IqAHz/KbxLBPPUJtm3DY5DUO79Z6wU12zeYwH4wO0n gBvODp7dg0R+CcW+W0OR90gwGWgvywpvHD6nN4cILXzR8NKkw0ydk/4k//VTtd2MAcN5Qgp6j WzK/0/kJ7jl4Hsi6vrWc4V9ZLhL/iF6t/CvN5UuskHbRMuwwo02em/6xtxypvkVJZJuA8OU41 4qoHcyORse99k70K3HPgZCtdrPA6skUwmooXUFRLiEzZNR/EjcN6rBvy/tPuI4+TbCp4jveiw mNIvurJh9X8/aGz91ONdGHA9PQtzqkiOvSARc9BbgTr+Z7s/djF9m2s/Tow8G4lde3gEGXvEr Za09Q2FX7rIYgSmvdiMhGBxpP0QvVFfZ8T4jhgzZ3Q== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Andrejs Cainikovs Drive CTRL_SLEEP_MOCI# high at boot (SPL) using a GPIO hog, this signal may be used to control some power-rails on the carrier board, therefore it should be set to high when the module is booting. To do this as early as possible is generally a good idea and the issue was noticed on the Yavia carrier board where it is needed to power the I2C EEPROM on the carrier board. Signed-off-by: Andrejs Cainikovs Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8mm-verdin-wifi-dev-u-boot.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/imx8mm-verdin-wifi-dev-u-boot.dtsi b/arch/arm/dts/imx8mm-verdin-wifi-dev-u-boot.dtsi index 494229e4e62..2b268f55cb9 100644 --- a/arch/arm/dts/imx8mm-verdin-wifi-dev-u-boot.dtsi +++ b/arch/arm/dts/imx8mm-verdin-wifi-dev-u-boot.dtsi @@ -56,6 +56,10 @@ &gpio5 { bootph-pre-ram; + + ctrl-sleep-moci-hog { + bootph-pre-ram; + }; }; &i2c1 { @@ -88,6 +92,10 @@ }; }; +&pinctrl_ctrl_sleep_moci { + bootph-pre-ram; +}; + &pinctrl_i2c1 { bootph-pre-ram; }; -- 2.36.1