From patchwork Fri Mar 6 10:14:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 243289 List-Id: U-Boot discussion From: patrick.delaunay at st.com (Patrick Delaunay) Date: Fri, 6 Mar 2020 11:14:02 +0100 Subject: [PATCH 0/9] ram: stm32mp1: fixes Message-ID: <20200306101412.15376-1-patrick.delaunay@st.com> This serie fixes the stm32mp1 ram driver: - adapt voltage for the LPDDR2 and LPDDR3 - solve tuning and BIST issues - allow to skip built-in calibration Most of these patch are available on the latest STM32MP downstrean U-Boot: https://github.com/STMicroelectronics/u-boot Patrick Delaunay (9): ram: stm32mp1: increase vdd2_ddr: buck2 for 32bits LPDDR ram: stm32mp1: display result for software read DQS gating ram: stm32mp1: don't display the prompt two times ram: stm32mp1: tuning: add timeout for polling BISTGSR.BDDONE ram: stm32mp1: tuning: deactivate derating during BIST test ram: stm32mp1: update BIST config for tuning ram: stm32mp1_ddr: fix self refresh disable during DQS training ram: stm32mp1: reduce delay after BIST reset for tuning ram: stm32mp1: the property st,phy-cal becomes optional arch/arm/dts/stm32mp15-ddr.dtsi | 3 + arch/arm/mach-stm32mp/include/mach/ddr.h | 6 +- board/st/stm32mp1/board.c | 23 +- .../memory-controllers/st,stm32mp1-ddr.txt | 2 + drivers/ram/stm32mp1/stm32mp1_ddr.c | 54 ++++- drivers/ram/stm32mp1/stm32mp1_ddr.h | 1 + drivers/ram/stm32mp1/stm32mp1_ddr_regs.h | 1 + drivers/ram/stm32mp1/stm32mp1_interactive.c | 17 +- drivers/ram/stm32mp1/stm32mp1_ram.c | 34 ++- drivers/ram/stm32mp1/stm32mp1_tuning.c | 223 +++++++++++++++--- include/power/stpmic1.h | 1 + 11 files changed, 300 insertions(+), 65 deletions(-)