u-boot-brain/drivers/ram/stm32mp1
Patrick Delaunay 9368bdfebd ram: stm32mp1: the property st, phy-cal becomes optional
This parameter "st,phy-cal" becomes optional and when it is
absent the built-in PHY calibration is done.

It is the case in the helper dtsi file "stm32mp15-ddr.dtsi"
except if DDR_PHY_CAL_SKIP is defined.

This patch also impact the ddr interactive mode
- the registers of the param 'phy.cal' are initialized to 0 when
  "st,phy-cal" is not present in device tree (default behavior when
  DDR_PHY_CAL_SKIP is not activated)
- the info 'cal' field can be use to change the calibration behavior
  - cal=1 => use param phy.cal to initialize the PHY, built-in training
             is skipped
  - cal=0 => param phy.cal is absent, built-in training is used (default)

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
2020-03-24 14:23:30 +01:00
..
Kconfig stm32mp1: ram: add tuning in DDR interactive mode 2019-05-23 11:38:11 +02:00
Makefile stm32mp1: ram: add tuning in DDR interactive mode 2019-05-23 11:38:11 +02:00
stm32mp1_ddr_regs.h ram: stm32mp1_ddr: fix self refresh disable during DQS training 2020-03-24 14:23:18 +01:00
stm32mp1_ddr.c ram: stm32mp1: the property st, phy-cal becomes optional 2020-03-24 14:23:30 +01:00
stm32mp1_ddr.h ram: stm32mp1: the property st, phy-cal becomes optional 2020-03-24 14:23:30 +01:00
stm32mp1_interactive.c ram: stm32mp1: the property st, phy-cal becomes optional 2020-03-24 14:23:30 +01:00
stm32mp1_ram.c ram: stm32mp1: the property st, phy-cal becomes optional 2020-03-24 14:23:30 +01:00
stm32mp1_tests.c common: Move RAM-sizing functions to init.h 2020-01-17 14:02:35 -05:00
stm32mp1_tests.h stm32mp1: ram: add tuning in DDR interactive mode 2019-05-23 11:38:11 +02:00
stm32mp1_tuning.c ram: stm32mp1: reduce delay after BIST reset for tuning 2020-03-24 14:23:26 +01:00