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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 89E4CC77B73 for ; Sun, 21 May 2023 16:57:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9F3DF847DB; Sun, 21 May 2023 18:55:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1684688139; bh=Omnkutz5qBBsDkv15EvdzVmVqPzAO9bTIpbVwOHEE/Y=; h=From:To:Subject:In-reply-to:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From; b=JIG3QhHDDq1wTh3IJkbw8IqR2QfFlykvyezjkxZbB5qMa+03iF7zP6IrF02xiwCEV qsRdCSqfr/Ie7a3RXVXFIa5FI8QOpdxcrz4/fTk00B5IIGnFlNiO6dj5BBPEOy3UfP f8aDSx8pIStppH3u6kTbKOMKHt5gHP9JpkBZjnAEYMN3VrTuhwIMgAC0jp9yUb2jHY E20ziNAZ08sHu01BSPNXJDTGSaMN06TO+bSK0/rtuxRmVDKQBaeUyfCL0LOPfS909q xKFGn5+f7LrEEBtNiA70vBViEah/wAnrOPHs0DfEq+YLHSi8fZpADwfiQlgjsJYPPX Rc5ewPhuBP/FQ== Received: by phobos.denx.de (Postfix, from userid 109) id CF29585723; Sun, 21 May 2023 18:55:37 +0200 (CEST) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D6522846A2 for ; Sun, 21 May 2023 18:55:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sbabic@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4QPRXl4Zddz1sHPw; Sun, 21 May 2023 18:55:35 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4QPRXl4Q8pz1qqlb; Sun, 21 May 2023 18:55:35 +0200 (CEST) X-Amavis-Alert: BAD HEADER SECTION, Missing required header field: "Date" Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id kNQAU1S6bSUm; Sun, 21 May 2023 18:55:34 +0200 (CEST) Received: from papero (host-88-217-136-221.customer.m-online.net [88.217.136.221]) by mail.mnet-online.de (Postfix) with ESMTP; Sun, 21 May 2023 18:55:34 +0200 (CEST) From: sbabic@denx.de X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1768134 X-Patchwork-Delegate: sbabic@denx.de To: Fabio Estevam ,u-boot@lists.denx.de Subject: [PATCH v4] ARM: dts: imx7d-sdb-u-boot: Fix usdhc1 UHS operation In-reply-to: <20230412124104.2430888-1-festevam@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Message-Id: <20230521165537.CF29585723@phobos.denx.de> Date: Sun, 21 May 2023 18:55:35 +0200 (CEST) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean > From: Fabio Estevam > Commit 1a7904fdfa7d ("mmc: fsl_esdhc_imx: Use esdhc_soc_data > flags to set host caps") exposed the following SD card error: > U-Boot 2023.04-00652-g487e42f7bc5e (Apr 05 2023 - 22:14:21 -0300) > CPU: Freescale i.MX7D rev1.0 1000 MHz (running at 792 MHz) > CPU: Commercial temperature grade (0C to 95C) at 35C > Reset cause: POR > Model: Freescale i.MX7 SabreSD Board > Board: i.MX7D SABRESD in non-secure mode > DRAM: 1 GiB > Core: 100 devices, 19 uclasses, devicetree: separate > PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x10 > MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 > Loading Environment from MMC... Card did not respond to voltage > select! : -110 > *** Warning - No block device, using default environment > The reason of the problem, as explained by Ye Li: > "When UHS is enabled in defconfig, the usdhc1 node in imx7d-sdb.dts does > not configure pad for VSELECT, also the data pad should be set to > 100Mhz/200Mhz pin states." > Apply these changes into u-boot.dtsi for now. When these changes > reach the Linux mainline imx7d-sdb, they can be dropped from u-boot.dtsi. > This fixes UHS mode on the imx7d-sdb board. > Suggested-by: Ye Li > Signed-off-by: Fabio Estevam > Reviewed-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =====================================================================