Skip to content

ram: rk3399: Add rank detection

Jagan Teki linux-rockchip u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest18 patches 20 repliesIn review

Changes in v3 from the cover letter

- rebase in master
- order them in proper way

[1] https://patchwork.ozlabs.org/cover/1116734/

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18ram: rk3399: Handle data training return typesdrivers/ram/rockchip/sdram_rk3399.c+38 -121 reply
2/18ram: rk3399: Clear PI_175 interrupts in data trainingdrivers/ram/rockchip/sdram_rk3399.c+15 -01 reply
3/18ram: rk3399: Use rank mask in ca data trainingdrivers/ram/rockchip/sdram_rk3399.c+7 -11 reply
4/18ram: rk3399: Use rank mask in wdql data trainingdrivers/ram/rockchip/sdram_rk3399.c+7 -11 reply
5/18ram: rk3399: Add phy pctrl reset supportdrivers/ram/rockchip/sdram_rk3399.c+29 -01 reply
6/18ram: rk3399: Move pwrup_srefresh_exit to dram_infodrivers/ram/rockchip/sdram_rk3399.c+7 -61 reply
7/18ram: rk3399: Add pctl start supportdrivers/ram/rockchip/sdram_rk3399.c+55 -201 reply
8/18ram: rockchip: Add initial Kconfigdrivers/ram/Kconfig drivers/ram/rockchip/Kconfig drivers/ram/rockchip/Makefile+19 -11 reply
9/18debug_uart: Add printdecinclude/debug_uart.h+19 -01 reply
10/18ram: rockchip: Add debug sdram driverarch/arm/include/asm/arch-rockchip/sdram_common.h drivers/ram/rockchip/Kconfig drivers/ram/rockchip/Makefile +1 more+53 -01 reply
11/18ram: rockchip: debug: Add sdram_print_ddr_infoarch/arm/include/asm/arch-rockchip/sdram_common.h drivers/ram/rockchip/sdram_debug.c+47 -01 reply
12/18ram: rockchip: debug: Get the cs capacitydrivers/ram/rockchip/sdram_debug.c+45 -11 reply
13/18ram: rk3399: debug: Add sdram_print_stridearch/arm/include/asm/arch-rockchip/sdram_common.h drivers/ram/rockchip/sdram_debug.c+34 -01 reply
14/18ram: rk3399: Compute stride for 2 channelsdrivers/ram/rockchip/sdram_rk3399.c+70 -11 reply
15/18ram: rk3399: Compute stride for 1 channel adrivers/ram/rockchip/sdram_rk3399.c+4 -01 reply
16/18ram: rk3399: Add rank detection supportdrivers/ram/rockchip/sdram_rk3399.c+86 -243 replies
17/18ram: rk3399: Enable sdram debug functionsdrivers/ram/rockchip/sdram_rk3399.c+5 -01 reply
18/18rockchip: dts: rk3399: nanopi-neo4: Use DDR3-1866 dtsiarch/arm/dts/rk3399-nanopi-neo4-u-boot.dtsi+1 -01 reply

Reviews trailers per patch

All 18 patches have a Reviewed-by or Acked-by.

PatchKever Yang
1/18R-b
2/18R-b
3/18R-b
4/18R-b
5/18R-b
6/18R-b
7/18R-b
8/18R-b
9/18R-b
10/18R-b
11/18R-b
12/18R-b
13/18R-b
14/18R-b
15/18R-b
16/18R-b
17/18R-b
18/18R-b

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

Read the v3 thread

Cover letter [PATCH v3 00/18] ram: rk3399: Add rank detection

This is v3, version of dynamic rank detection changes from previous lpddr4 changes[1].

rank detection would required for probing single channel ddr configuration like NanoPi NEO4.

Changes for v3:
- rebase in master
- order them in proper way

[1] https://patchwork.ozlabs.org/cover/1116734/

Any inputs?
Jagan.

Jagan Teki (18):
ram: rk3399: Handle data training return types
ram: rk3399: Clear PI_175 interrupts in data training
ram: rk3399: Use rank mask in ca data training
ram: rk3399: Use rank mask in wdql data training
ram: rk3399: Add phy pctrl reset support
ram: rk3399: Move pwrup_srefresh_exit to dram_info
ram: rk3399: Add pctl start support
ram: rockchip: Add initial Kconfig
debug_uart: Add printdec
ram: rockchip: Add debug sdram driver
ram: rockchip: debug: Add sdram_print_ddr_info
ram: rockchip: debug: Get the cs capacity
ram: rk3399: debug: Add sdram_print_stride
ram: rk3399: Compute stride for 2 channels
ram: rk3399: Compute stride for 1 channel a
ram: rk3399: Add rank detection support
ram: rk3399: Enable sdram debug functions
rockchip: dts: rk3399: nanopi-neo4: Use DDR3-1866 dtsi

 arch/arm/dts/rk3399-nanopi-neo4-u-boot.dtsi   |   1 +
 .../include/asm/arch-rockchip/sdram_common.h  |  21 +
 drivers/ram/Kconfig                           |   1 +
 drivers/ram/rockchip/Kconfig                  |  26 ++
 drivers/ram/rockchip/Makefile                 |   3 +-
 drivers/ram/rockchip/sdram_debug.c            | 147 +++++++
 drivers/ram/rockchip/sdram_rk3399.c           | 366 +++++++++++++++---
 include/debug_uart.h                          |  19 +
 8 files changed, 529 insertions(+), 55 deletions(-)
 create mode 100644 drivers/ram/rockchip/Kconfig
 create mode 100644 drivers/ram/rockchip/sdram_debug.c
Signature · 1 line
2.18.0.321.gffc6fa0e3