Skip to content

Fix MMC tuning algorithm

Judith Mendez u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v15 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Use ENABLE macro instead of 0x1
- Fix assignment to val variable in j721e_4bit_sdhci_set_ios_post()
- Remove extra param from mmc_send_tunning() call
- Add Reviewed by

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mmc: am654_sdhci: Add tuning algorithm for delay chaindrivers/mmc/am654_sdhci.c+89 -180 replies
2/5mmc: am654_sdhci: Fix OTAP/ITAP delay valuesdrivers/mmc/am654_sdhci.c+19 -40 replies
3/5mmc: am654_sdhci: Add itap_del_ena[] to store itapdlyena bitdrivers/mmc/am654_sdhci.c+22 -100 replies
4/5mmc: am654_sdhci: Set ENDLL=1 for DDR52 modedrivers/mmc/am654_sdhci.c+3 -10 replies
5/5mmc: am654_sdhci: Fix ITAPDLY for HS400 timingdrivers/mmc/am654_sdhci.c+8 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchJaehoon Chung
1/5
2/5
3/5
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] Fix MMC tuning algorithm

The following patch series includes a MMC tuning algorithm fix according to the following published paper [0].

This seris also includes fixes for OTAP/ITAP delay values in j721e_4bit_sdhci_set_ios_post and for HS400 mode.

For DDR52 mode, also set ENDLL=1 and call am654_sdhci_setup_dll() instead of am654_sdhci_setup_delay_chain() according to device datasheet[1].

[0] https://www.ti.com/lit/an/spract9/spract9.pdf
[1] https://www.ti.com/lit/ds/symlink/am62p.pdf

Link to v1:
https://lore.kernel.org/u-boot/[email protected]/

Changes since v1:
- Use ENABLE macro instead of 0x1
- Fix assignment to val variable in j721e_4bit_sdhci_set_ios_post()
- Remove extra param from mmc_send_tunning() call
- Add Reviewed by

Judith Mendez (4):
mmc: am654_sdhci: Add tuning algorithm for delay chain
mmc: am654_sdhci: Add itap_del_ena[] to store itapdlyena bit
mmc: am654_sdhci: Set ENDLL=1 for DDR52 mode
mmc: am654_sdhci: Fix ITAPDLY for HS400 timing

Nitin Yadav (1):
mmc: am654_sdhci: Fix OTAP/ITAP delay values

 drivers/mmc/am654_sdhci.c | 172 +++++++++++++++++++++++++++++++-------
 1 file changed, 140 insertions(+), 32 deletions(-)

base-commit: 3434b88d2c2fdad3cc947f9e9b03dabfdd3feb5c

Signature · 1 line
2.43.2