sunxi: H616: add LPDDR3 DRAM support
authorMikhail Kalashnikov <iuncuim@gmail.com>
Wed, 7 Jun 2023 00:07:45 +0000 (01:07 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Thu, 20 Jul 2023 23:54:19 +0000 (00:54 +0100)
commitecb896cec75e98d6e5f9bcbf0a87976119443985
tree3fc32ecd18b2575a3d7a62c0379a325244ada277
parent5d6f013adc5f866a17ce870372d619ed90b7cad3
sunxi: H616: add LPDDR3 DRAM support

The H616 SoC has support for several types of DRAM: DDR3, LPDDR3,
DDR4 and LPDDR4.
At the moment, the driver only supports DDR3 memory.
Let's extend the driver to support the LPDDR3 memory. All "magic"
values obtained from the boot0.

Signed-off-by: Mikhail Kalashnikov <iuncuim@gmail.com>
Acked-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/mach-sunxi/Kconfig
arch/arm/mach-sunxi/dram_sun50i_h616.c
arch/arm/mach-sunxi/dram_timings/Makefile
arch/arm/mach-sunxi/dram_timings/h616_lpddr3.c [new file with mode: 0644]