From mboxrd@z Thu Jan 1 00:00:00 1970 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 12D2EC433EF for ; Wed, 6 Oct 2021 21:29:15 +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 7E0E3611C6 for ; Wed, 6 Oct 2021 21:29:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7E0E3611C6 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 A366B83477; Wed, 6 Oct 2021 23:28:58 +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 38B338347F; Wed, 6 Oct 2021 23:28:44 +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 A86A383457 for ; Wed, 6 Oct 2021 23:28:27 +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 (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MNJ6d-1mRtrz3ld3-006v6B; Wed, 06 Oct 2021 23:28:15 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Cc: Stefano Babic , Heiko Thiery , Fabio Estevam , Frieder Schrempf , Max Krummenacher , Marcel Ziswiler , Igor Opaniuk , Jaehoon Chung , Marek Vasut , "NXP i.MX U-Boot Team" , Simon Glass Subject: [PATCH v4 05/10] verdin-imx8mm: enable sleep_moci output Date: Wed, 6 Oct 2021 23:27:51 +0200 Message-Id: <20211006212757.464740-6-marcel@ziswiler.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211006212757.464740-1-marcel@ziswiler.com> References: <20211006212757.464740-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:5R2LP3SFf/RlpEhuKkKlH7uWB+BWoTl6Uja+Rb3lUzgU7pYKcwz o+kU6P7Mie2B2414nqRJB5D+PhPcjrvgKW6OKUg2Jv8UptdWIhZK/WVB608Z3mBPTuwEHkI 9Y+b8ZnrnOAEYFOlqSrlUuMCjg2rTVG9eEE70leW6udPEn4AJ22hUjwLPxQ3PdFNRjihFa1 5PTy4hPcihVUtqNopQR2Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:FiWAzm6oovI=:DH6OH0OxSngTm31weuVcl1 WrYKPmVknnnulV6d+BjGSYE/8K5oVU7sy3ONr6aeBaUxhrNW7R7xWXlXZJVyICpTmkTbVm19h znAPT8hFXAj9ySbuC58Czqw1NuEZCQMA38Ofwhbmlb2ht4U13vi4FDtpIAxM0s/MvwD1c66N7 OxKDy2s+zT+K8ZNUOd3YUNUQMkP3Lll29Bdwcd9ckOEpm9UxfyJyEpEgPaIMlWBptEIXueqSG M9rbaEl2M/3K7zLumItyhiTe3xHZXnJMpM1B5wibmsmYPiPkSn65iE6XetkluHUM8AkkT95t8 ARzFpOdMeB2FTwYVIXc6IVA9JGzGio5iauun29lfZpscdrwqgUdq7R+Dh0bLVYrSA0dYT6xuP 4KV99kYef9IxCL1A10Aku+2B1duu0mYrWx28kqf76U1GAbhNu2tMpo/ZG/uYzf0pvahOIF5oU Z2H1h/Vz8e0dzvC+jzRGyGciYa6NnpFGN0VJC3s3wHh43MH54Ziz2eGsh9qngn2pBREueYWqg 8RuFk8F9hgcdy3J0YRdrJcRNIaFLIW33zCnThWcuE/qP2P9BeToa1gF3Q0xBhHmtgYxIzQax1 xOWPrZi97QHpraHoxPUERYm5EPeyPvLu9fjacUtJQlCbwhpw7jRxIEOO3duuBazdfpwJ9SwmY NxTnkosWA4ANHG/ldcbyFvmmkJVoptqDU4wmeXthsSM9oSCIs8JB/PONXpo4bdJpO0MfuxygL W4a5IBo+70q48vVvdMuMr9sZnhEakXc9gp2L8g== 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