From nobody Mon Apr 6 11:59:23 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B8C7C54EE9 for ; Thu, 22 Sep 2022 16:30:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232100AbiIVQaV (ORCPT ); Thu, 22 Sep 2022 12:30:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231528AbiIVQaM (ORCPT ); Thu, 22 Sep 2022 12:30:12 -0400 Received: from mout.perfora.net (mout.perfora.net [74.208.4.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 515D23DF3C; Thu, 22 Sep 2022 09:30:03 -0700 (PDT) Received: from toolbox.toradex.int ([31.10.206.125]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1N6tSF-1pLISL0qD9-018HVp; Thu, 22 Sep 2022 18:29:38 +0200 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Max Krummenacher , Marcel Ziswiler , Fabio Estevam , Krzysztof Kozlowski , Laurent Pinchart , NXP Linux Team , Pengutronix Kernel Team , Philippe Schenker , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/8] arm64: dts: verdin-imx8mp: fix ctrl_sleep_moci Date: Thu, 22 Sep 2022 18:29:18 +0200 Message-Id: <20220922162925.2368577-2-marcel@ziswiler.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220922162925.2368577-1-marcel@ziswiler.com> References: <20220922162925.2368577-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:rCx/OIPa6Xg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DClhvB9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Max Krummenacher The GPIO signaling ctrl_sleep_moci is currently handled as a gpio hog. But the gpio-hog node is made a child of the wrong gpio controller. Move it to the node representing gpio4 so that it actually works. Without this carrier board components jumpered to use the signal are unconditionally switched off. Fixes: 1d8df9c74bff ("arm64: dts: freescale: add initial support for verdin= imx8m plus") Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler --- .../boot/dts/freescale/imx8mp-verdin.dtsi | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/= boot/dts/freescale/imx8mp-verdin.dtsi index 1c74c6a19449..360be51a3527 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi @@ -339,16 +339,6 @@ &gpio2 { "SODIMM_82", "SODIMM_70", "SODIMM_72"; - - ctrl-sleep-moci-hog { - gpio-hog; - /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ - gpios =3D <29 GPIO_ACTIVE_HIGH>; - line-name =3D "CTRL_SLEEP_MOCI#"; - output-high; - pinctrl-names =3D "default"; - pinctrl-0 =3D <&pinctrl_ctrl_sleep_moci>; - }; }; =20 &gpio3 { @@ -417,6 +407,16 @@ &gpio4 { "SODIMM_256", "SODIMM_48", "SODIMM_44"; + + ctrl-sleep-moci-hog { + gpio-hog; + /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ + gpios =3D <29 GPIO_ACTIVE_HIGH>; + line-name =3D "CTRL_SLEEP_MOCI#"; + output-high; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_ctrl_sleep_moci>; + }; }; =20 /* On-module I2C */ --=20 2.36.1