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 5F136C433F5 for ; Sat, 9 Oct 2021 20:43:13 +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 D3DAF60E0B for ; Sat, 9 Oct 2021 20:43:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D3DAF60E0B 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 C6899836B6; Sat, 9 Oct 2021 22:42: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 9FD55836B4; Sat, 9 Oct 2021 22:41:59 +0200 (CEST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.197]) (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 358BF83689 for ; Sat, 9 Oct 2021 22:41:51 +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 localhost.localdomain ([198.134.98.50]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1McYbJ-1nBNjQ3wNh-00cw0g; Sat, 09 Oct 2021 22:41:30 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Cc: Heiko Thiery , Frieder Schrempf , Fabio Estevam , Stefano Babic , Max Krummenacher , Marcel Ziswiler , Igor Opaniuk , Jaehoon Chung , Marek Vasut , "NXP i.MX U-Boot Team" , Simon Glass Subject: [PATCH v6 06/11] verdin-imx8mm: enable sleep_moci output Date: Sat, 9 Oct 2021 22:41:08 +0200 Message-Id: <20211009204113.1208641-7-marcel@ziswiler.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211009204113.1208641-1-marcel@ziswiler.com> References: <20211009204113.1208641-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:A8CGtN4POfc2BRcI4ZgX1lFvPHSWDgpYUzEzQW7G30CiWb20gu9 5vABFwG/b5c55vaEj2wHQjFxxJPCgKitOyTTPwDBPPtMEZROomAxHk1/yXDcaRcwtmSHAAT rFMKDBq94wbmE4SaExbbVEeNbf9XirLfL8KpEt5I9JGieMGKdZ+Emv6mxWh6Vky3Fm5/HCq C5EbSOr5kPJUD0yCfcQew== X-UI-Out-Filterresults: notjunk:1;V03:K0:wjXZKWZySTY=:bPq2qkN/bc9saLnpq6+Wws PFJGbbRn4+6UIKFJ0t34rHvqb1G6IRYzunZJ9hN8B2SDrLrYh/oRdlO6EPSP2XcnhsidV11at OJ7nVMD1+A6aGMoTAd/KfDRg7D9RgbdDQASXvW/ihZXupxcjdtI0Xg2MTxJmXkcpUtjo0x6uF M/szklKD6W9MhvigBNNTFRY83GJO6zMh/dgPjzIdAzqJW/s2+7gHH1HHRvDGOX0MVk1zL7Kum xb+n5aEn2v3dA+15GfR1LKpAZVAzCgn7GeDLIYjcykhSGfGyCVH3yXCWl4mrnFysClQth5aM9 6JgedZ2Oi1wGXXGtGedb45HJ9fi+rw/0EnqV+l1ocubQnJ6qfY+cFAlfYGAiciFJCfeJ14UEh BaL5jFmKj8tTgvbU1GJgyuJ6fh4xkfbzA6sC4st7Cv0ZxteUc39i6V/YsEl8rjrZRrL3ocPnI aMqrM4msQhbEhWZrX8ecb9pHxAFpOWc2kkClWugmKaol3g/Z0967shKgQAW9C/fk2lHkRcGog xW3WvBY75gzUPfiLAjr01dUbrHzzVV9G4YPprKXnfTbjl75OkrLvVU/gpCgIK7OwQ3UzngTVy E1y8RKSHghzZKeJauN+bSY3tTH3QpHXyMUg23GvcRVNCADRELuVP7BHIHbLocoFtD69dJRjZ6 cnfmG0BzPkGhTeD7dtgXqFmLDa/3z4lyX9GSM+9guWA7fTrTKsRNReRPv58fglee7aOh+bN9d 1AYeOtVeCQnoWMOMfsxaBpVOlCtp6VrVQEdm/g== 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