public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Siarhei Siamashka <siarhei.siamashka@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [linux-sunxi] [PATCH v2 00/12] Big work on sunxi DW DRAM controllers and some new DDR type support
Date: Thu, 8 Jun 2017 22:03:46 +0300	[thread overview]
Message-ID: <20170608220346.7c499ff0@i7> (raw)
In-Reply-To: <20170603091025.11723-1-icenowy@aosc.io>

On Sat,  3 Jun 2017 17:10:13 +0800
Icenowy Zheng <icenowy@aosc.io> wrote:

> This patchset contains several works on the sunxi DesignWare DRAM
> controllers.
> 
> The 1st patch made an option for H3-like DRAM controllers
> (DesignWare ones), which can ease further import of alike controllers.
> 
> The 2nd and 3rd patches are for supporting 16-bit DW DRAM controllers,
> in order to add V3s DRAM support (The controller on V3s is 16-bit).
> 
> The 4th patch adds bank detection code, in order to support some DDR2
> chips.
> 
> The 5th patch adds a framework for select DRAM type and timing -- it's
> needed for boards that use DRAM chips rather than DDR3.
> 
> The 6th patch enables dual rank detection in the DW DRAM code on SoCs
> except R40. For R40 the dual rank facility is still not so clear, so it's
> temporarily disabled.
> 
> The 7th~9th patches enables support for DRAM initialization and SPL for
> the V3s SoC, which integrates a DDR2 chip.
> 
> The 10th and 11th patches adds support for LPDDR3, with the stock boot0
> timing. (Seen in A83T boot0 source and some leaked H5/R40 libdram source)
> 
> The 12th patches adds a defconfig for SoPine w/ official baseboard, which
> utilizes LPDDR3.
> 
> Icenowy Zheng (12):
>   sunxi: makes an invisible option for H3-like DRAM controllers
>   sunxi: Rename bus-width related macros in H3 DRAM code
>   sunxi: add option for 16-bit DW DRAM controller
>   sunxi: add bank detection code to H3 DRAM initialization code
>   sunxi: Add selective DRAM type and timing
>   sunxi: enable dual rank detection in DesignWare-like DRAM code
>   sunxi: add support for the DDR2 in V3s SoC
>   sunxi: add support for V3s DRAM controller
>   sunxi: enable DRAM initialization and SPL for V3s SoC
>   sunxi: add LPDDR3 DRAM type support for DesignWare-like DRAM
>     controller
>   sunxi: add LPDDR3 timing from stock boot0
>   sunxi: add a defconfig for SoPine w/ official baseboard
> 
>  arch/arm/include/asm/arch-sunxi/dram.h             |   6 +-
>  .../{dram_sun8i_h3.h => dram_sunxi_dw.h}           |  36 +++-
>  arch/arm/mach-sunxi/Kconfig                        |  75 ++++++++-
>  arch/arm/mach-sunxi/Makefile                       |   5 +-
>  .../{dram_sun8i_h3.c => dram_sunxi_dw.c}           | 187 +++++++--------------
>  arch/arm/mach-sunxi/dram_timings/Makefile          |   3 +
>  arch/arm/mach-sunxi/dram_timings/ddr2_v3s.c        |  84 +++++++++
>  arch/arm/mach-sunxi/dram_timings/ddr3_1333.c       |  87 ++++++++++
>  arch/arm/mach-sunxi/dram_timings/lpddr3_stock.c    |  83 +++++++++
>  configs/sopine_baseboard_defconfig                 |  22 +++
>  10 files changed, 453 insertions(+), 135 deletions(-)
>  rename arch/arm/include/asm/arch-sunxi/{dram_sun8i_h3.h => dram_sunxi_dw.h} (86%)
>  rename arch/arm/mach-sunxi/{dram_sun8i_h3.c => dram_sunxi_dw.c} (84%)
>  create mode 100644 arch/arm/mach-sunxi/dram_timings/Makefile
>  create mode 100644 arch/arm/mach-sunxi/dram_timings/ddr2_v3s.c
>  create mode 100644 arch/arm/mach-sunxi/dram_timings/ddr3_1333.c
>  create mode 100644 arch/arm/mach-sunxi/dram_timings/lpddr3_stock.c
>  create mode 100644 configs/sopine_baseboard_defconfig
> 

I'll have time to review your patchset on the coming weekend. Thanks!

-- 
Best regards,
Siarhei Siamashka

      parent reply	other threads:[~2017-06-08 19:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-03  9:10 [U-Boot] [PATCH v2 00/12] Big work on sunxi DW DRAM controllers and some new DDR type support Icenowy Zheng
2017-06-03  9:10 ` [U-Boot] [PATCH v2 01/12] sunxi: makes an invisible option for H3-like DRAM controllers Icenowy Zheng
2017-06-03  9:10 ` [U-Boot] [PATCH v2 02/12] sunxi: Rename bus-width related macros in H3 DRAM code Icenowy Zheng
2017-06-03  9:10 ` [U-Boot] [PATCH v2 03/12] sunxi: add option for 16-bit DW DRAM controller Icenowy Zheng
2017-06-03  9:10 ` [U-Boot] [PATCH v2 04/12] sunxi: add bank detection code to H3 DRAM initialization code Icenowy Zheng
2017-06-03  9:10 ` [U-Boot] [PATCH v2 05/12] sunxi: Add selective DRAM type and timing Icenowy Zheng
2017-06-03  9:10 ` [U-Boot] [PATCH v2 06/12] sunxi: enable dual rank detection in DesignWare-like DRAM code Icenowy Zheng
2017-06-03  9:10 ` [U-Boot] [PATCH v2 07/12] sunxi: add support for the DDR2 in V3s SoC Icenowy Zheng
2017-06-03  9:10 ` [U-Boot] [PATCH v2 08/12] sunxi: add support for V3s DRAM controller Icenowy Zheng
2017-06-03  9:10 ` [U-Boot] [PATCH v2 09/12] sunxi: enable DRAM initialization and SPL for V3s SoC Icenowy Zheng
2017-06-03  9:10 ` [U-Boot] [PATCH v2 10/12] sunxi: add LPDDR3 DRAM type support for DesignWare-like DRAM controller Icenowy Zheng
2017-06-03  9:10 ` [U-Boot] [PATCH v2 11/12] sunxi: add LPDDR3 timing from stock boot0 Icenowy Zheng
2017-06-03  9:10 ` [U-Boot] [PATCH v2 12/12] sunxi: add a defconfig for SoPine w/ official baseboard Icenowy Zheng
2017-06-08 12:41 ` [U-Boot] [PATCH v2 00/12] Big work on sunxi DW DRAM controllers and some new DDR type support Jagan Teki
2017-06-08 15:58   ` [U-Boot] [linux-sunxi] " Icenowy Zheng
2017-06-08 17:10 ` [U-Boot] " Jagan Teki
2017-06-08 19:03 ` Siarhei Siamashka [this message]

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=20170608220346.7c499ff0@i7 \
    --to=siarhei.siamashka@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox