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 F2C56EB64DC for ; Tue, 11 Jul 2023 09:10:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7B1C086825; Tue, 11 Jul 2023 11:10:15 +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 A9CAB86825; Tue, 11 Jul 2023 11:10:14 +0200 (CEST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.196]) (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 333BF86835 for ; Tue, 11 Jul 2023 11:10:11 +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 0M6kDq-1q52J549S8-00wVMw; Tue, 11 Jul 2023 11:09:32 +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 5/5] arm64: dts: verdin-imx8mp: add ctrl_sleep_moci# hog Date: Tue, 11 Jul 2023 11:09:18 +0200 Message-Id: <20230711090918.523772-6-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:MWG36dJeRRekJP/a6iSNLC6TBwBR+i9qkqfdm8Yg7pLR8+EGLJR Kr76T0/09eFPmZmchNGBGC4hXZbv11Jv+c/6BYc94w3rCjS/MAXx4AgG5gbhG2Nns70NetF mlBS28rqobvOD9Nxs7JJR1PC40U88DZB9u19AOIu8NAaWCSl5ZNgW7Tp9E6yytVnibQjFim cM+yjk57CVj/7nrp1qCng== UI-OutboundReport: notjunk:1;M01:P0:at7QC5LphRc=;Kel8IR0dcEKU4Q6js82r1GFgq7E nK62Fg+G62kalDNU5jjc2RffdX7d+HBhBiU+FiJCqtyNt/+kpv84EzwAP4zzRZdiRTYrcVfko oha53GFeDeEFe6Gre9Wf+Qr9GaCJN+XEC3wJR3V6302UFxo0VB+Fq9saqtXBt1BT93ebAqakj VOFGdokMfAR6MRVfzpS91IAUl/wuvbG7zGaeZoUPyrvV8SW8s6d2pL4iTngSaNRX6vLOao/wd 5zwIM/ggEekJ4QCTz+c084S86CDhKv7Dfp8lWhOEuX3LjFesw97GYr4glZ+ZtmBv4wWUcVM6F 6Qsm+cD0Sa2warBf7KE0WFkfGXovENp98cncaPjCk52AK//JiqXG4EqyXBWWFrhvSk71qChYa oMsLJjAzcGU5xfsz4pI1qyUOgaoPEc/t8W94KMq92Qg3MWp514U/hSDpUhUR77MdWd5+LOG34 uhiTVdCeqYbDDqTf5LOasERy7LVF1HjMezoUIfQAh4yGj58C9mNsT8O01IRmitfn580X6/Clr udY8JoP9hTMfwuyQy0d46MchlpecjItnhp5UpN/oOD1fzaT+P2P0OO/UjVUlEY9dC9/0b3Mjc f8L23kdiYApVrBDpiTL9B/z3duywbtOqHNmfCpeExvhUeG7cVFDjevxcwRdZ3P58e20xijLb7 fP/a1ckdLMmyjk91TtY+AodpMmPs/gXdP8v2VsEaLA== 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/imx8mp-verdin-wifi-dev-u-boot.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/imx8mp-verdin-wifi-dev-u-boot.dtsi b/arch/arm/dts/imx8mp-verdin-wifi-dev-u-boot.dtsi index 9c6c417f7ee..0162f9b2da3 100644 --- a/arch/arm/dts/imx8mp-verdin-wifi-dev-u-boot.dtsi +++ b/arch/arm/dts/imx8mp-verdin-wifi-dev-u-boot.dtsi @@ -62,6 +62,10 @@ &gpio4 { bootph-pre-ram; + + ctrl-sleep-moci-hog { + bootph-pre-ram; + }; }; &gpio5 { @@ -106,6 +110,10 @@ bootph-pre-ram; }; +&pinctrl_ctrl_sleep_moci { + bootph-pre-ram; +}; + &pinctrl_i2c1 { bootph-pre-ram; }; -- 2.36.1