[U-Boot] [PATCH v3 1/4] arm64: rk3399: add ddr controller driver

Simon Glass sjg at chromium.org
Thu Feb 23 16:19:39 UTC 2017


On 22 February 2017 at 20:35, Simon Glass <sjg at chromium.org> wrote:
> On 22 February 2017 at 01:56, Kever Yang <kever.yang at rock-chips.com> wrote:
>> RK3399 support DDR3, LPDDR3, DDR4 sdram, this patch is porting from
>> coreboot, support 4GB lpddr3 in this version.
>>
>> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
>> ---
>>
>> Changes in v3:
>> - enable driver without of-platdata
>> - add binding file for sdram driver
>> - some fix base on Simon's comment.
>>
>> Changes in v2:
>> - use lower-case hex for input dts data
>> - using rk3288 like style to encode/decode sys_reg
>> - gather some parameters as base params in rk3399_sdram_params
>> - add some missing comment
>>
>> Changes in v1:
>> - use dts for parameter
>> - get all controller base address from dts instead of hard code
>> - gather all controller into dram_info instead of separate global
>>   variables.
>> - add return value for error case
>>
>>  arch/arm/dts/rk3399-sdram-lpddr3-4GB-1600.dtsi     | 1536 ++++++++++++++++++++
>>  arch/arm/include/asm/arch-rockchip/sdram_rk3399.h  |  119 ++
>>  arch/arm/mach-rockchip/rk3399/Makefile             |    1 +
>>  arch/arm/mach-rockchip/rk3399/rk3399.c             |    1 +
>>  arch/arm/mach-rockchip/rk3399/sdram_rk3399.c       | 1321 +++++++++++++++++
>>  .../clock/rockchip,rk3399-dmc.txt                  |   42 +
>>  6 files changed, 3020 insertions(+)
>>  create mode 100644 arch/arm/dts/rk3399-sdram-lpddr3-4GB-1600.dtsi
>>  create mode 100644 arch/arm/include/asm/arch-rockchip/sdram_rk3399.h
>>  create mode 100644 arch/arm/mach-rockchip/rk3399/sdram_rk3399.c
>>  create mode 100644 doc/device-tree-bindings/clock/rockchip,rk3399-dmc.txt
>
> Acked-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list