Skip to content

RFC Add tuning algorithm for delay chain

Judith Mendez linux-devicetree linux-mmc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest13 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13drivers: mmc: host: sdhci_am654: Add tuning algorithm for delay chaindrivers/mmc/host/sdhci_am654.c+108 -203 replies
2/13drivers: mmc: host: sdhci_am654: Write ITAPDLY for DDR52 timingdrivers/mmc/host/sdhci_am654.c+15 -120 replies
3/13drivers: mmc: host: sdhci_am654: Add missing OTAP/ITAP enabledrivers/mmc/host/sdhci_am654.c+27 -210 replies
4/13drivers: mmc: host: sdhci_am654: Add ITAPDLYSEL in sdhci_j721e_4bit_set_clockdrivers/mmc/host/sdhci_am654.c+8 -20 replies
5/13drivers: mmc: host: sdhci_am654: Fix ITAPDLY for HS400 timingdrivers/mmc/host/sdhci_am654.c+12 -00 replies
6/13arm64: dts: ti: k3-am62a-main: Add sdhci0 instancearch/arm64/boot/dts/ti/k3-am62a-main.dtsi+18 -02 replies
7/13arm64: dts: ti: k3-am62a7-sk: Enable eMMC supportarch/arm64/boot/dts/ti/k3-am62a7-sk.dts+26 -00 replies
8/13arm64: dts: ti: k3-am62a-main: Add sdhci2 instancearch/arm64/boot/dts/ti/k3-am62a-main.dtsi+24 -00 replies
9/13arm64: dts: ti: k3-am64-main: Update ITAP/OTAP values for MMCarch/arm64/boot/dts/ti/k3-am64-main.dtsi+8 -10 replies
10/13arm64: dts: ti: k3-am62-main: Update ITAP/OTAP values for MMCarch/arm64/boot/dts/ti/k3-am62-main.dtsi+23 -260 replies
11/13arm64: dts: ti: k3-am62p: Add missing properties for MMCarch/arm64/boot/dts/ti/k3-am62p-main.dtsi arch/arm64/boot/dts/ti/k3-am62p5-sk.dts+45 -52 replies
12/13arm64: dts: ti: k3-am6*: Remove DLL properties for soft physarch/arm64/boot/dts/ti/k3-am62-main.dtsi arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +6 more+0 -140 replies
13/13arm64: dts: ti: k3-am6*: Reorganize MMC propertiesarch/arm64/boot/dts/ti/k3-am62-main.dtsi arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +4 more+13 -112 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 00/13] Add tuning algorithm for delay chain

This patch series introduces a new tuning algorithm for mmc. The new algorithm should be used when delay chain is enabled. The ITAPDLY is selected from the largest passing window and the buffer is not viewed as a circular buffer. The new tuning algorithm is implemented as per the paper published here [0] and has been tested on the following
platforms: AM62x SK, AM62A SK, AM62p SK, AM64x SK, and AM64x EVM.

The series also includes a few fixes in the sdhci_am654 driver on OTAPDLYEN/ITAPDLYEN and ITAPDELSEL. There are also device tree node fixes for missing mmc nodes, modifying DLL properties, and fixes for OTAP/ITAP delay values.

MMC0/MMC2 nodes are introduced for AM62ax in this series.

This series is sent as a RFC mostly to get some feedback and/or comments on the new tuning algorithm implementation.

[0] https://www.ti.com/lit/an/spract9/spract9.pdf

Judith Mendez (11):
drivers: mmc: host: sdhci_am654: Add tuning algorithm for delay chain
drivers: mmc: host: sdhci_am654: Write ITAPDLY for DDR52 timing
drivers: mmc: host: sdhci_am654: Add missing OTAP/ITAP enable
drivers: mmc: host: sdhci_am654: Add ITAPDLYSEL in

    sdhci_j721e_4bit_set_clock

drivers: mmc: host: sdhci_am654: Fix ITAPDLY for HS400 timing
arm64: dts: ti: k3-am62a-main: Add sdhci2 instance
arm64: dts: ti: k3-am64-main: Update ITAP/OTAP values for MMC
arm64: dts: ti: k3-am62-main: Update ITAP/OTAP values for MMC
arm64: dts: ti: k3-am62p: Add missing properties for MMC
arm64: dts: ti: k3-am6*: Remove DLL properties for soft phys
arm64: dts: ti: k3-am6*: Reorganize MMC properties

Nitin Yadav (2):
arm64: dts: ti: k3-am62a-main: Add sdhci0 instance
arm64: dts: ti: k3-am62a7-sk: Enable eMMC support

 arch/arm64/boot/dts/ti/k3-am62-main.dtsi      |  57 +++--
 .../arm64/boot/dts/ti/k3-am625-beagleplay.dts |   5 -
 arch/arm64/boot/dts/ti/k3-am62a-main.dtsi     |  45 +++-
 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts       |  27 ++-
 arch/arm64/boot/dts/ti/k3-am62p-main.dtsi     |  44 +++-
 arch/arm64/boot/dts/ti/k3-am62p5-sk.dts       |   7 +-
 .../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi |   4 +-
 arch/arm64/boot/dts/ti/k3-am64-main.dtsi      |  17 +-
 arch/arm64/boot/dts/ti/k3-am642-evm.dts       |   4 +-
 arch/arm64/boot/dts/ti/k3-am642-sk.dts        |   2 -
 drivers/mmc/host/sdhci_am654.c                | 215 ++++++++++++++----
 11 files changed, 321 insertions(+), 106 deletions(-)
Signature · 1 line
2.34.1