public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/1] sunxi: H616: add LPDDR4 support
@ 2023-10-16  5:34 Mikhail Kalashnikov
  2023-10-16  5:34 ` [PATCH v2 1/1] sunxi: H616: add LPDDR4 DRAM support Mikhail Kalashnikov
  0 siblings, 1 reply; 4+ messages in thread
From: Mikhail Kalashnikov @ 2023-10-16  5:34 UTC (permalink / raw)
  To: Jagan Teki, Andre Przywara
  Cc: Jernej Skrabec, Samuel Holland, Piotr Oniszczuk, u-boot

From: iuncuim <iuncuim@gmail.com>

At the moment, the driver only supports DDR3 and LPDDR3 memory.
Add support for a new type DRAM.
These changes have been successfully tested by me with orangepi
zero3 4GB (DRAM: Rayson RS1G32LO4D2BDS-53BT).
This patch should be applied after this:
https://lore.kernel.org/all/20231014170236.16211-1-andre.przywara@arm.com/

Changes from v1:
 * replaced the phy_init array with one compatible with opizero3
 * added DRAM TPR6 parameter
 * adaptation to new mctl_phy_configure_odt()
 * added timings for the board orangepi zero3 4GB 
https://lore.kernel.org/u-boot/20230729111331.173768-2-iuncuim@gmail.com/

Signed-off-by: Mikhail Kalashnikov <iuncuim@gmail.com>

iuncuim (1):
  sunxi: H616: add LPDDR4 DRAM support

 .../include/asm/arch-sunxi/dram_sun50i_h616.h |   2 +
 arch/arm/mach-sunxi/Kconfig                   |  16 ++
 arch/arm/mach-sunxi/dram_sun50i_h616.c        | 176 ++++++++++++++----
 arch/arm/mach-sunxi/dram_timings/Makefile     |   1 +
 .../dram_timings/h616_lpddr4_2133.c           |  97 ++++++++++
 5 files changed, 258 insertions(+), 34 deletions(-)
 create mode 100644 arch/arm/mach-sunxi/dram_timings/h616_lpddr4_2133.c

-- 
2.42.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-21  6:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-16  5:34 [PATCH v2 0/1] sunxi: H616: add LPDDR4 support Mikhail Kalashnikov
2023-10-16  5:34 ` [PATCH v2 1/1] sunxi: H616: add LPDDR4 DRAM support Mikhail Kalashnikov
2023-10-18 16:21   ` Andre Przywara
2023-10-21  6:29   ` Jernej Škrabec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox