aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcmstb
diff options
context:
space:
mode:
authorIcenowy Zheng2018-07-23 06:13:34 +0800
committerJagan Teki2018-07-31 11:38:13 +0530
commitda2616543aa57cad2b2d884af9d88ff0bfd4776a (patch)
treea057e4ee6bc23d60f1c4088ea8c438b43280dabd /arch/arm/mach-bcmstb
parent42956f1b85feb7f612647b73539b8a84d38b68b6 (diff)
sunxi: add DRAM support to H6
The Allwinner H6 SoC comes with a set of new DRAM controller+PHY combo. Both the controller and the PHY seem to be originate from DesignWare, and are similar to the ones in ZynqMP SoCs. This commit introduces an initial DRAM driver for H6, which contains only LPDDR3 support. The currently known SBCs with H6 all come with LPDDR3 memory, including Pine H64 and several Orange Pi's. The BSP DRAM initialization code is closed source and violates GPL. Code in this commit is written by experimenting, referring the code/document of other users of the IPs (mainly the ZynqMP, as it's the only found PHY reference) and disassebling the BSP blob. Thanks for Jernej Skrabec for review and fix some issues in this driver (including the most critical one which made it to work), and rewrite some code from register dump! Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Jagan Teki <jagan@openedev.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'arch/arm/mach-bcmstb')
0 files changed, 0 insertions, 0 deletions