sunxi: H6: Add DDR3-1333 timings
authorAndre Przywara <andre.przywara@arm.com>
Mon, 15 Jul 2019 01:27:08 +0000 (02:27 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 16 Jul 2019 11:43:04 +0000 (17:13 +0530)
commit7656d3982a39127f38d5be4ab4e3f61500739ba7
treec4cd5dbcaa329c342d0812e31716b5a59fbf037a
parent75a8a641f313f019c406433856a6793def53dc4d
sunxi: H6: Add DDR3-1333 timings

Add a routine to program the timing parameters for DDR3-1333 DRAM chips
connected to the H6 DRAM controller.

The values were gathered from doing back-calculations from a register
dump, trying to match them up with the official JEDEC DDDR3 spec.
If in doubt, the register dump values were taken for now, but the JEDEC
recommendation were added as a comment.

Many thanks to Jernej for contributing fixes!

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Jernej Skrabec <jernej.skrabec@siol.net>
Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/mach-sunxi/Kconfig
arch/arm/mach-sunxi/dram_timings/Makefile
arch/arm/mach-sunxi/dram_timings/h6_ddr3_1333.c [new file with mode: 0644]