public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/9] rk3399: enable SPL driver
@ 2017-02-13  9:38 Kever Yang
  2017-02-13  9:38 ` [U-Boot] [PATCH v2 1/9] arm64: rk3399: add ddr controller driver Kever Yang
                   ` (9 more replies)
  0 siblings, 10 replies; 23+ messages in thread
From: Kever Yang @ 2017-02-13  9:38 UTC (permalink / raw)
  To: u-boot


This series patch enable basic driver for rk3399 SPL, the ATF support
has been split as a separate patch.

SPL_OF_PLATDATA is consider to be must because the dram driver has much
configuration parameter from dts, but we don't want to do the copy.

Other driver like clock, pinctrl, sdhci has update to support
OF-PLATDATA.


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
- split SPL patch into 4 patches

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

Kever Yang (9):
  arm64: rk3399: add ddr controller driver
  arm64: rk3399: move grf register definitions to grf_rk3399.h
  clk: rk3399: update driver for spl
  sdhci: rk3399: update driver to support of-platdata
  pinctrl: rk3399: add the of-platdata support
  arm64: rk3399: syscon addition for rk3399
  dts: rk3399: update for spl require driver
  arm64: rk3399: add SPL support
  config: rk3399: enable SPL config for evb-rk3399

 arch/arm/Kconfig                                  |    1 +
 arch/arm/dts/rk3399-evb.dts                       |    2 +
 arch/arm/dts/rk3399-sdram-lpddr3-4GB-1600.dtsi    | 1536 +++++++++++++++++++++
 arch/arm/dts/rk3399.dtsi                          |   44 +
 arch/arm/include/asm/arch-rockchip/clock.h        |    9 +
 arch/arm/include/asm/arch-rockchip/cru_rk3399.h   |    5 +
 arch/arm/include/asm/arch-rockchip/grf_rk3399.h   |  118 ++
 arch/arm/include/asm/arch-rockchip/sdram_rk3399.h |  124 ++
 arch/arm/mach-rockchip/Kconfig                    |    2 +
 arch/arm/mach-rockchip/Makefile                   |    1 +
 arch/arm/mach-rockchip/rk3399-board-spl.c         |  158 +++
 arch/arm/mach-rockchip/rk3399/Makefile            |    1 +
 arch/arm/mach-rockchip/rk3399/clk_rk3399.c        |   21 +
 arch/arm/mach-rockchip/rk3399/sdram_rk3399.c      | 1259 +++++++++++++++++
 arch/arm/mach-rockchip/rk3399/syscon_rk3399.c     |   40 +
 configs/evb-rk3399_defconfig                      |   18 +
 drivers/clk/rockchip/clk_rk3399.c                 |   89 +-
 drivers/mmc/rockchip_sdhci.c                      |   17 +-
 drivers/pinctrl/rockchip/pinctrl_rk3399.c         |  111 +-
 include/configs/rk3399_common.h                   |   11 +
 include/dt-bindings/clock/rk3399-cru.h            |   16 +-
 21 files changed, 3460 insertions(+), 123 deletions(-)
 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-board-spl.c
 create mode 100644 arch/arm/mach-rockchip/rk3399/sdram_rk3399.c

-- 
1.9.1

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2017-02-23  7:44 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-13  9:38 [U-Boot] [PATCH v2 0/9] rk3399: enable SPL driver Kever Yang
2017-02-13  9:38 ` [U-Boot] [PATCH v2 1/9] arm64: rk3399: add ddr controller driver Kever Yang
2017-02-16 20:43   ` Simon Glass
2017-02-13  9:38 ` [U-Boot] [PATCH v2 2/9] arm64: rk3399: move grf register definitions to grf_rk3399.h Kever Yang
2017-02-21 20:33   ` Simon Glass
2017-02-13  9:38 ` [U-Boot] [PATCH v2 3/9] clk: rk3399: update driver for spl Kever Yang
2017-02-21 20:33   ` Simon Glass
2017-02-13  9:38 ` [U-Boot] [PATCH v2 4/9] sdhci: rk3399: update driver to support of-platdata Kever Yang
2017-02-21 20:34   ` Simon Glass
2017-02-13  9:38 ` [U-Boot] [PATCH v2 5/9] pinctrl: rk3399: add the of-platdata support Kever Yang
2017-02-21 20:34   ` Simon Glass
2017-02-13  9:38 ` [U-Boot] [PATCH v2 6/9] arm64: rk3399: syscon addition for rk3399 Kever Yang
2017-02-16 20:43   ` Simon Glass
2017-02-21 20:34   ` Simon Glass
2017-02-13  9:39 ` [U-Boot] [PATCH v2 7/9] dts: rk3399: update for spl require driver Kever Yang
2017-02-16 20:43   ` Simon Glass
2017-02-13  9:39 ` [U-Boot] [PATCH v2 8/9] arm64: rk3399: add SPL support Kever Yang
2017-02-16 20:43   ` Simon Glass
2017-02-23  4:16   ` Simon Glass
2017-02-23  7:44     ` Kever Yang
2017-02-13  9:39 ` [U-Boot] [PATCH v2 9/9] config: rk3399: enable SPL config for evb-rk3399 Kever Yang
2017-02-16 20:43   ` Simon Glass
2017-02-16 20:43 ` [U-Boot] [PATCH v2 0/9] rk3399: enable SPL driver Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox