From: sbabic@denx.de
To: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>,u-boot@lists.denx.de
Subject: [PATCH v3 2/2] mmc: sdhci-esdhc-imx: Add HS400 support for iMX7ULP
Date: Wed, 20 Oct 2021 14:20:31 +0200 (CEST) [thread overview]
Message-ID: <20211020122036.1B70A833F4@phobos.denx.de> (raw)
In-Reply-To: <20210908215616.v3.2.89dae794dc03b6dfca7994ee9274ca487cd52a89@changeid>
> Import HS400 support for iMX7ULP B0 from the Linux kernel:
> 2eaf5a533afd ("mmc: sdhci-esdhc-imx: Add HS400 support for iMX7ULP")
> According to IC suggest, need to clear the STROBE_DLL_CTRL_RESET
> before any setting of STROBE_DLL_CTRL register.
> USDHC has register bits(bit[27~20] of register STROBE_DLL_CTRL)
> for slave sel value. If this register bits value is 0, it needs
> 256 ref_clk cycles to update slave sel value. IC suggest to set
> bit[27~20] to 0x4, it only need 4 ref_clk cycle to update slave
> sel value. This will short the lock time of slave.
> i.MX7ULP B0 will need more time to lock the REF and SLV, so change
> to add 5us delay.
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>
> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
> Reviewed-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================
next prev parent reply other threads:[~2021-10-20 12:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-08 18:56 [PATCH v3 0/2] mmc: fsl_esdhc_imx: initialize data for imx7ulp Oleksandr Suvorov
2021-09-08 18:56 ` [PATCH v3 1/2] " Oleksandr Suvorov
2021-09-08 18:56 ` [PATCH v3 2/2] mmc: sdhci-esdhc-imx: Add HS400 support for iMX7ULP Oleksandr Suvorov
2021-10-20 12:20 ` sbabic [this message]
2021-09-15 16:10 ` [PATCH v3 1/2] mmc: fsl_esdhc_imx: initialize data for imx7ulp Igor Opaniuk
2021-10-20 12:21 ` sbabic
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=20211020122036.1B70A833F4@phobos.denx.de \
--to=sbabic@denx.de \
--cc=oleksandr.suvorov@foundries.io \
--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