From: Maxime Ripard <maxime.ripard@bootlin.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2.1 11/13] sunxi: add DRAM support to H6
Date: Tue, 24 Jul 2018 10:40:10 +0200 [thread overview]
Message-ID: <20180724084010.rowebpigyvilxv4y@flea> (raw)
In-Reply-To: <20180722221334.3679-1-icenowy@aosc.io>
On Mon, Jul 23, 2018 at 06:13:34AM +0800, Icenowy Zheng wrote:
> 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>
Maxime
--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180724/a9648f1d/attachment.sig>
next prev parent reply other threads:[~2018-07-24 8:40 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-21 8:20 [U-Boot] [PATCH v2 00/13] Allwinner H6 support (w/ SPL) Icenowy Zheng
2018-07-21 8:20 ` [U-Boot] [PATCH v2 01/13] sunxi: change SUNXI_HIGH_SRAM option to SUNXI_SRAM_ADDRESS Icenowy Zheng
2018-07-21 8:20 ` [U-Boot] [PATCH v2 02/13] sunxi: add basic memory map definitions of H6 SoC Icenowy Zheng
2018-07-24 8:23 ` Maxime Ripard
2018-07-21 8:20 ` [U-Boot] [PATCH v2 03/13] sunxi: change RMR64's RVBAR address for H6 Icenowy Zheng
2018-07-24 8:31 ` Maxime Ripard
2018-07-21 8:20 ` [U-Boot] [PATCH v2 04/13] sunxi: change ATF position " Icenowy Zheng
2018-07-24 8:26 ` Andre Przywara
2018-07-24 8:32 ` Maxime Ripard
2018-07-21 8:20 ` [U-Boot] [PATCH v2 05/13] sunxi: add config for SPL at 0x20000 on H6 Icenowy Zheng
2018-07-24 8:34 ` Maxime Ripard
2018-07-24 8:36 ` Icenowy Zheng
2018-07-30 7:28 ` [U-Boot] [linux-sunxi] " Jagan Teki
2018-07-21 8:20 ` [U-Boot] [PATCH v2 06/13] sunxi: change GIC address " Icenowy Zheng
2018-07-24 8:35 ` Maxime Ripard
2018-07-21 8:20 ` [U-Boot] [PATCH v2 07/13] sunxi: add clock code for H6 Icenowy Zheng
2018-07-24 8:35 ` Maxime Ripard
2018-07-21 8:20 ` [U-Boot] [PATCH v2 08/13] sunxi: use sun6i-style watchdog " Icenowy Zheng
2018-07-24 8:36 ` Maxime Ripard
2018-07-21 8:20 ` [U-Boot] [PATCH v2 09/13] sunxi: add UART0 setup " Icenowy Zheng
2018-07-24 8:36 ` Maxime Ripard
2018-07-21 8:20 ` [U-Boot] [PATCH v2 10/13] sunxi: add MMC support " Icenowy Zheng
2018-07-24 8:37 ` Maxime Ripard
2018-07-24 8:39 ` [U-Boot] [linux-sunxi] " Icenowy Zheng
2018-07-26 5:56 ` [U-Boot] [linux-sunxi] " Jagan Teki
2018-07-26 5:57 ` Icenowy Zheng
2018-07-21 8:20 ` [U-Boot] [PATCH v2 11/13] sunxi: add DRAM support to H6 Icenowy Zheng
2018-07-22 22:13 ` [U-Boot] [PATCH v2.1 " Icenowy Zheng
2018-07-24 8:40 ` Maxime Ripard [this message]
2018-07-21 8:20 ` [U-Boot] [PATCH v2 12/13] sunxi: add support for Allwinner H6 SoC Icenowy Zheng
2018-07-24 8:38 ` Maxime Ripard
2018-07-21 8:20 ` [U-Boot] [PATCH v2 13/13] sunxi: add support for Pine H64 board Icenowy Zheng
2018-07-24 8:39 ` Maxime Ripard
2018-07-26 7:02 ` [U-Boot] [linux-sunxi] [PATCH v2 00/13] Allwinner H6 support (w/ SPL) Jagan Teki
2018-07-26 7:05 ` Icenowy Zheng
2018-07-27 13:18 ` Jagan Teki
2018-07-29 13:24 ` Icenowy Zheng
2018-07-31 5:42 ` Jagan Teki
2018-07-31 5:45 ` Icenowy Zheng
2018-07-31 5:49 ` Jagan Teki
2018-07-31 5:54 ` Icenowy Zheng
2018-07-31 5:57 ` Jagan Teki
2018-07-31 5:58 ` Icenowy Zheng
2018-07-31 6:00 ` Jagan Teki
2018-08-04 16:06 ` Icenowy Zheng
2018-08-04 16:36 ` Jagan Teki
2018-08-04 17:29 ` Icenowy Zheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180724084010.rowebpigyvilxv4y@flea \
--to=maxime.ripard@bootlin.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.