Skip to content

sunxi: H616: add LPDDR4 support

Mikhail Kalashnikov u-boot 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest1 patch 3 repliesIn review
  2. v31 patch 3 repliesSuperseded
  3. v21 patch 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch0 repliesSuperseded

Changes in v4 from the cover letter

* added LPDDR4 part for mctl_phy_read_training()
* added the new part in mctl_phy_configure_odt() as LPDDR4 specific to avoid possible problems with existing devices
https://lore.kernel.org/u-boot/[email protected]/

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1sunxi: H616: add LPDDR4 DRAM supportarch/arm/include/asm/arch-sunxi/dram_sun50i_h616.h arch/arm/mach-sunxi/Kconfig arch/arm/mach-sunxi/dram_sun50i_h616.c +2 more+294 -392 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchJernej SkrabecAndre Przywara
1/1R-b A-b

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

Read the v4 thread

Cover letter [PATCH v4 0/1] sunxi: H616: add LPDDR4 support

From: iuncuim <[email protected]>

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/[email protected]/

Changes from v3:
* added LPDDR4 part for mctl_phy_read_training()
* added the new part in mctl_phy_configure_odt() as LPDDR4 specific to avoid possible problems with existing devices
https://lore.kernel.org/u-boot/[email protected]/

Changes from v2:
* added default value for TPR6 parameter
* added panic for unsupported DRAM types in switch/case conditions
* added new line at the end of the timings file, changed the description
* added a few small missing parts obtained from boot0
https://lore.kernel.org/u-boot/[email protected]/

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/[email protected]/

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

 .../include/asm/arch-sunxi/dram_sun50i_h616.h |   2 +
 arch/arm/mach-sunxi/Kconfig                   |  17 ++
 arch/arm/mach-sunxi/dram_sun50i_h616.c        | 218 ++++++++++++++----
 arch/arm/mach-sunxi/dram_timings/Makefile     |   1 +
 .../dram_timings/h616_lpddr4_2133.c           |  95 ++++++++
 5 files changed, 294 insertions(+), 39 deletions(-)
 create mode 100644 arch/arm/mach-sunxi/dram_timings/h616_lpddr4_2133.c
Signature · 1 line
2.42.0