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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4BDC3C433F5 for ; Fri, 8 Oct 2021 00:29:46 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id C0B9F61038 for ; Fri, 8 Oct 2021 00:29:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C0B9F61038 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D321983323; Fri, 8 Oct 2021 02:29:30 +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 9B404833B5; Fri, 8 Oct 2021 02:28:55 +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 2BC89833C2 for ; Fri, 8 Oct 2021 02:28:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=marcel@ziswiler.com Received: from toolbox.toradex.int ([66.171.181.186]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0Lg24j-1n96UJ28uR-00pbrz; Fri, 08 Oct 2021 02:28:28 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Cc: Fabio Estevam , Stefano Babic , Heiko Thiery , Frieder Schrempf , Max Krummenacher , Marcel Ziswiler , Igor Opaniuk , Jaehoon Chung , Marek Vasut , "NXP i.MX U-Boot Team" , Simon Glass Subject: [PATCH v5 05/10] verdin-imx8mm: enable sleep_moci output Date: Fri, 8 Oct 2021 02:28:10 +0200 Message-Id: <20211008002815.870313-6-marcel@ziswiler.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211008002815.870313-1-marcel@ziswiler.com> References: <20211008002815.870313-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:cOAxu3wCZygSmy/S0bwPm0vJ0dzVnvt01rxAyPeWva6Ok0On7iy DqVd73JmVllraFv8c3gNAGxL5aC63IIa1AV9hgbSQUXNLcPoQvTvH2vtGcb1SWfebiR1ewF 2Paj82CgLWFzV0F0dA5dYBb/S/ee204EEFeHtkKCxxoUWLHcTgxj9A/3+9EiYUant4kln34 bxPhRlzoxz2diPQAPYr0Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:GU5QWHUzSG8=:a79TGNQ49J6aU14kcG1b+P RiUQOm8gzZs3VGc6RHNKnoPO9cxySMM/zzE6/82yMvsVvVVeOCrAO18il/Hi3m0Wy4/l6g/XP cETp1m9IancUFA/O9NV+FLh0fxpH9DG+Rh9spyAEeNL2dhYLmY60osc1z6BoRwq0oNepOYs4u eMOR4UCK8Ztz8hXTGnxyh6zNSLJ4Im/B/oZZgytA+NkjGZ595UcqVTXHKrsfTXwVR2SfAKO1/ nCnIp07hPs9w05c5jduMP+M6tlzh8WtLNhlsLB0J6yBnR6fYCMgsTTJ/5h1XGZtogiEM4JPUa l9UwfSH3MPo1E6ftneqY7Ffp4ANA+GBedNBwKiUh+CnNU+yXzrUd52IJWWOI+dnQwvAcvlxBw tXiwpgToNCHY+oPI6ObnugGtPG3KBaVoZuUiT2BLwgINdViOv/Il/BvWtE4N9oh8jnFltTy9R O3duy+7zrC0yClIudawadUGGOIkaRTO1CLWWYRcLoSXeb+WOjEGU6C+gydcX5Rb03eJVG7f0O /t7BUGMKMU/fXVueTrYGemlg8oikNf6MiIct918rA7IVEpp5MSon5IJHeDsnxdfYpFBCLVpT9 5Y4UY3FGoAy0DFnpnhnrR9sytb1su2QBoPMw37rGFA4XAM7wK5iLHyBwLaXNDJi6dhFYiAIs/ sW2sBpQ8PRGqYgsUwh/c0XjOkBwZpx6J34DxxfcSKRkOVOpaOn0llWDXy/YAYoZERdKq/wcxK dJCfKCmmVnKyWp3KOK6vd8H8USvhg9UxSHXJgw== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean From: Max Krummenacher This powers some peripherals on the carrier board e.g. the USB hub. Related-to: ELB-3206 Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Reviewed-by: Fabio Estevam --- (no changes since v1) arch/arm/dts/imx8mm-verdin.dts | 18 ++++++++++++++++++ configs/verdin-imx8mm_defconfig | 1 + 2 files changed, 19 insertions(+) diff --git a/arch/arm/dts/imx8mm-verdin.dts b/arch/arm/dts/imx8mm-verdin.dts index ac2a4b69d3c..a2331627d72 100644 --- a/arch/arm/dts/imx8mm-verdin.dts +++ b/arch/arm/dts/imx8mm-verdin.dts @@ -196,6 +196,18 @@ }; }; +&gpio5 { + ctrl_sleep_moci { + gpio-hog; + /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ + gpios = <1 GPIO_ACTIVE_HIGH>; + line-name = "CTRL_SLEEP_MOCI#"; + output-high; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ctrl_sleep_moci>; + }; +}; + /* On-module I2C */ &i2c1 { clock-frequency = <400000>; @@ -548,6 +560,12 @@ >; }; + pinctrl_ctrl_sleep_moci: ctrlsleepmocigrp { + fsl,pins = < + MX8MM_IOMUXC_SAI3_TXD_GPIO5_IO1 0x1c4 /* SODIMM 256 */ + >; + }; + pinctrl_dsi_bkl_en: dsi_bkl_en { fsl,pins = < MX8MM_IOMUXC_NAND_CE2_B_GPIO3_IO3 0x1c4 /* SODIMM 21 */ diff --git a/configs/verdin-imx8mm_defconfig b/configs/verdin-imx8mm_defconfig index 1c8b505656a..ced0d0acc37 100644 --- a/configs/verdin-imx8mm_defconfig +++ b/configs/verdin-imx8mm_defconfig @@ -69,6 +69,7 @@ CONFIG_SPL_CLK_COMPOSITE_CCF=y CONFIG_CLK_COMPOSITE_CCF=y CONFIG_SPL_CLK_IMX8MM=y CONFIG_CLK_IMX8MM=y +CONFIG_GPIO_HOG=y CONFIG_MXC_GPIO=y CONFIG_DM_I2C=y CONFIG_MISC=y -- 2.26.2