Skip to content

ddr: vybrid: Support for vf610 built-in DDR3 memory calibration

Lukasz Majewski u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ddr: vybrid: Add DDRMC calibration related registers (DQS to DQ)arch/arm/include/asm/arch-vf610/imx-regs.h+6 -01 reply
2/3ddr: vybrid: Provide code to perform on-boot calibrationarch/arm/mach-imx/Kconfig arch/arm/mach-imx/Makefile arch/arm/mach-imx/ddrmc-vf610-calibration.c +1 more+404 -01 reply
2/3ddr: vybrid: Provide code to perform on-boot calibration+0 -00 replies
3/3ddr: vybrid: Add calibration code to memory controler's (DDRMC) setup codearch/arm/mach-imx/ddrmc-vf610.c+7 -01 reply
3/3ddr: vybrid: Add calibration code to memory controler's (DDRMC) setup code+0 -00 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchStefan Agner
1/3R-b
2/3
2/3
3/3R-b
3/3R-b

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

Read the v1 thread

Cover letter [U-Boot] [PATCH v1 0/3] ddr: vybrid: Support for vf610 built-in DDR3 memory calibration

This patch series provides code to perform read leveling - RDLVL, which is adjusting the DQS strobe in relation to the DQ signals so that the strobe edge is centered in the window of valid read data.

The code is based on Vybrid's Reference Manual's:
"VFxxx Controller Reference Manual, Rev. 0, 10/2016", page 1600, 10.1.6.16.4.1 "Software Read Leveling in MC Evaluation Mode"

and uses clarification provided by following NXP's community thread:
"Vybrid: About DDR leveling feature on DDRMC."
https://community.nxp.com/thread/395323

It depends on a BITMAP rework patch:
usb: composite: Move bitmap related operations to ./include/linux/bitmap.h
http://patchwork.ozlabs.org/patch/1006448/

Lukasz Majewski (3):
ddr: vybrid: Add DDRMC calibration related registers (DQS to DQ)
ddr: vybrid: Provide code to perform on-boot calibration
ddr: vybrid: Add calibration code to memory controler's (DDRMC) setup
code

 arch/arm/include/asm/arch-vf610/imx-regs.h  |   6 +
 arch/arm/mach-imx/Kconfig                   |   8 +
 arch/arm/mach-imx/Makefile                  |   1 +
 arch/arm/mach-imx/ddrmc-vf610-calibration.c | 336 ++++++++++++++++++++++++++++
 arch/arm/mach-imx/ddrmc-vf610-calibration.h |  59 +++++
 arch/arm/mach-imx/ddrmc-vf610.c             |   7 +
 6 files changed, 417 insertions(+)
 create mode 100644 arch/arm/mach-imx/ddrmc-vf610-calibration.c
 create mode 100644 arch/arm/mach-imx/ddrmc-vf610-calibration.h
Signature · 1 line
2.11.0