From patchwork Wed Dec 30 14:14:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 1421372 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Z5Q3UtWN; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4D5YGh5LC4z9sTm for ; Thu, 31 Dec 2020 01:15:40 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1EB2482573; Wed, 30 Dec 2020 15:15:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Z5Q3UtWN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 25D44825AA; Wed, 30 Dec 2020 15:15:33 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C0B59824DE for ; Wed, 30 Dec 2020 15:14:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aford173@gmail.com Received: by mail-il1-x130.google.com with SMTP id w17so14892268ilj.8 for ; Wed, 30 Dec 2020 06:14:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PKXBfQTSoDzR6PJIjXd3nUW0b+rwvtvEVF9AiLeCkA0=; b=Z5Q3UtWN/zlwkXGEACyJyBhApSaSI5RaqorSwvEb1cT1jDay3cSWmtzZoaRNxhCZNE MXIAq/vaabyIEvAZBz/BSYra4SJo1LnY2nYUjhqYFSKoYz8lYr0rjyAWD7tRKOJcszlx ruqAkPmkrjP3I1vSMl0TRRUPltXHtbWEtHxTByn6e6ZkMGNDU7dn9OcQ8expNRTKNcFy JpyL2ESG1x4lpPihAlOBEIIv3kcNLuvXjUBHAzeF3WwYqqdIGfzCT0zEUNl/bM42lG0A CTyM7MTasWQRqC3t45uCSzUp/+MfQ/OSMPMLcSG1uQp1bnTWlBCT49sVG0fqw0U68zHt rnQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PKXBfQTSoDzR6PJIjXd3nUW0b+rwvtvEVF9AiLeCkA0=; b=fd3BcdHAJ/PVrqcRrjo9byiRFqzNouz0FRNOdnpHo4W3sO070J4clbvQFY5RC/W2zt V4Q/vz4DKCBZE9Dc2umoDxVoOvhPiuvEudEzh/cODcufJyDNYfKmSA/PvIidWaeYVhg9 WMPwflHjTETbxcrLxSJkys8qnNF7OM6u3Yxr7DB2uIgmpgZTOGeCAqj5Ew3m7DcG9eCS k2OiQrw7/nEKKOit48yJJNL2Lm/HSd/3+a/u/FdK6M76w435jRvXiAwFr5vmbNUUcRDG qn9kp78cQU7KgLjHJSLkI6Kc3eIbnT9NzNOMRHvkxzop0pa5MbJwCRYRGolf7rwywMtA 8aCg== X-Gm-Message-State: AOAM532juuW90BQTuFnFk79DGKTwV++jcUowvuXyp8Dlmu2l53XNTdS5 dclOzBWGQWoslozwUyuo5JnzoJxrBYVZHQ== X-Google-Smtp-Source: ABdhPJyvbW+yy3eDGtZarKcDPNkpxgbVDyCsKJsxCBOQxI9Rvru61RIc9/Kl1H5GkQtc0ixifFfHlg== X-Received: by 2002:a92:d44f:: with SMTP id r15mr52548418ilm.237.1609337685940; Wed, 30 Dec 2020 06:14:45 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id y5sm31932396ilh.24.2020.12.30.06.14.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Dec 2020 06:14:45 -0800 (PST) From: Adam Ford To: u-boot@lists.denx.de Cc: aford@beaconembedded.com, Adam Ford , Stefano Babic , Fabio Estevam , "NXP i.MX U-Boot Team" Subject: [PATCH 1/2] imx8mm_beacon: Enable fixed regulator in SPL Date: Wed, 30 Dec 2020 08:14:19 -0600 Message-Id: <20201230141421.2860212-1-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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.102.3 at phobos.denx.de X-Virus-Status: Clean Because SPL can support SD UHS, the fixed regulator needs to be enabled in SPL to reset the SD card. Fixes: 1a5d9c84b472 ("imx8mm_beacon: Enable HS400 on MMC controller") Signed-off-by: Adam Ford diff --git a/configs/imx8mm_beacon_defconfig b/configs/imx8mm_beacon_defconfig index 49d5453078..b0ea87a58c 100644 --- a/configs/imx8mm_beacon_defconfig +++ b/configs/imx8mm_beacon_defconfig @@ -95,6 +95,7 @@ CONFIG_SPL_DM_REGULATOR=y CONFIG_DM_REGULATOR_BD71837=y CONFIG_SPL_DM_REGULATOR_BD71837=y CONFIG_DM_REGULATOR_FIXED=y +CONFIG_SPL_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_GPIO=y CONFIG_CONS_INDEX=2 CONFIG_DM_SERIAL=y From patchwork Wed Dec 30 14:14:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 1421373 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Ogja0Yuo; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4D5YGv4x6Hz9sTm for ; Thu, 31 Dec 2020 01:15:51 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0BCAC825AE; Wed, 30 Dec 2020 15:15:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Ogja0Yuo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5B8EB82573; Wed, 30 Dec 2020 15:15:33 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0EB9A8257D for ; Wed, 30 Dec 2020 15:14:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aford173@gmail.com Received: by mail-il1-x12c.google.com with SMTP id 75so14868226ilv.13 for ; Wed, 30 Dec 2020 06:14:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1uRGHFNqah9IjYORY28NgGecWdaIDV6JqXqymmsKe2w=; b=Ogja0YuovC2Zpzy8gzWXjeVOGxVc5Mdo474w+LXOWjk09pWSLvr+xoyIxVkTrWJi29 dG7YO9+JTCsbWfK9EaJJvmrphnH+zyDE5GMuzduG5ilFAtKShhszMyBCAvdgoQK9IqpP 659ig3QyQWmfuLP7dRfNmJj15dkGs8h0pPbgcrR9OtvMekLA6pabuZPUk7mvcsrN2hIM 7jhgwbKEoqPMKK9PjEXOjdYbegTpT3a5UGpbjcU2xuw3afwuyXv8FaF4o6BB3C4/cIXc 0dcivnXnbCN2+4OQAGf8bk3NumoP9H273mNCCqo3CGgNz2KO++/BwIBkRhsJIddK4cKe PdYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1uRGHFNqah9IjYORY28NgGecWdaIDV6JqXqymmsKe2w=; b=NT9RBg34NRbRR6Ru97+EekNRvDyeSWmVcDPTT8EOdJz8qRT12ddeI9pGYeVdxKVkhO ByOVAlZHLkZpYE+4gWxY5A7zcbVHeoujAOCvW++4TTtYtyDiRtimR0CUib3P6fEbbAdR lc9tKZSGcD7Ue1mLlBs83qO+o4IdiykYi3OEZXn0nGaxlpDGndr5yEvoJxu1Q/VGMvQ6 zeIFMWhIT+IPcHBrU1fadnMQ5nd0Zye+BG27YQw+T49hgrJ4WLjoNBH8/hr26asoz5OY tdQ9RkoaUAhfrIo/LRkAC7pdHiJrbnTYgg+9QjKS3Hw1ZGAQHM72cHcMquPW9VzJ0RW/ DsjA== X-Gm-Message-State: AOAM532HJUvi3baWaKZOkYYmpiZEnmhvbcRyNgom5BrQgGNr7tRa1eu7 A10t74WvgoEegyQGCtLYttQpYiGbrAqdiA== X-Google-Smtp-Source: ABdhPJx60jPBLbgtvmqxPrV3no8XTUgHP84clGjEBVhYvxE7NmwnecI0OCvQm0+DMVkcnI4eJwgcDg== X-Received: by 2002:a92:91d7:: with SMTP id e84mr51847556ill.159.1609337687411; Wed, 30 Dec 2020 06:14:47 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id y5sm31932396ilh.24.2020.12.30.06.14.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Dec 2020 06:14:46 -0800 (PST) From: Adam Ford To: u-boot@lists.denx.de Cc: aford@beaconembedded.com, Adam Ford , Andrey Zhizhikin , Stefano Babic , Fabio Estevam , "NXP i.MX U-Boot Team" Subject: [PATCH 2/2] ARM: dts: imx8mm-beacon: add UHS and HS400/HS400ES properties Date: Wed, 30 Dec 2020 08:14:20 -0600 Message-Id: <20201230141421.2860212-2-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201230141421.2860212-1-aford173@gmail.com> References: <20201230141421.2860212-1-aford173@gmail.com> MIME-Version: 1.0 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.102.3 at phobos.denx.de X-Virus-Status: Clean i.MX8M Mini can provide support for high speed grades in the usdhc controllers. On the imx8mm-beacon-kit, the sdhc2 hosts a microSD card, and sdhc3 hosts an eMMC capable of HS400ES. In order to toggle this mode in SPL, the reg_usdhc2_vmmc must be available in SPL. Add all these flags to imx8mm-beacon-kit-u-boot.dtsi Suggested-by: Andrey Zhizhikin Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi b/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi index 6d80a529ae..d7da29c592 100644 --- a/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi +++ b/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi @@ -38,6 +38,7 @@ }; ®_usdhc2_vmmc { + u-boot,dm-spl; u-boot,off-on-delay-us = <20000>; }; @@ -112,10 +113,14 @@ &usdhc2 { u-boot,dm-spl; + sd-uhs-sdr104; + sd-uhs-ddr50; }; &usdhc3 { u-boot,dm-spl; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; }; &i2c1 {