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

Fabio Estevam festevam at gmail.com
Sun Dec 2 21:22:38 UTC 2018


[Adding Stefan and Marcel in case they could help reviewing/testing this series]

On Sun, Dec 2, 2018 at 6:42 PM Lukasz Majewski <lukma at denx.de> wrote:
>
> 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
>
> --
> 2.11.0
>


More information about the U-Boot mailing list