public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: sbabic@denx.de
To: Fabio Estevam <festevam@gmail.com>,u-boot@lists.denx.de
Subject: [PATCH v4] ARM: dts: imx7d-sdb-u-boot: Fix usdhc1 UHS operation
Date: Sun, 21 May 2023 18:55:35 +0200 (CEST)	[thread overview]
Message-ID: <20230521165537.CF29585723@phobos.denx.de> (raw)
In-Reply-To: <20230412124104.2430888-1-festevam@gmail.com>

> From: Fabio Estevam <festevam@denx.de>
> 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 <ye.li@nxp.com>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> Reviewed-by: Peng Fan <peng.fan@nxp.com>
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
=====================================================================

      parent reply	other threads:[~2023-05-21 16:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-12 12:41 [PATCH v4] ARM: dts: imx7d-sdb-u-boot: Fix usdhc1 UHS operation Fabio Estevam
2023-04-13  6:51 ` Peng Fan
2023-05-21 16:55 ` sbabic [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230521165537.CF29585723@phobos.denx.de \
    --to=sbabic@denx.de \
    --cc=festevam@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox