rk3399: enable SPL driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 0 repliesNew
- v29 patches 0 repliesSuperseded
- v10 of 6 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- enable driver without of-platdata
- add binding file for sdram driver
- some fix base on Simon's comment.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | arm64: rk3399: add ddr controller driverarch/ arch/ arch/ +3 more | +3020 | 2 replies | |
| 2/4 | dts: rk3399: update for spl require driverarch/ arch/ | +46 | 1 reply | |
| 3/4 | arm64: rk3399: add SPL supportarch/ arch/ arch/ +2 more | +168 | 1 reply | |
| 4/4 | config: rk3399: enable SPL config for evb-rk3399configs/ include/ | +23 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/4 | A-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v3 0/4] rk3399: enable SPL driver
This series patch enable basic driver for rk3399 SPL, the ATF support has been split as a separate patch.
SPL_OF_PLATDATA is consider as recommend option because the dram driver has much configuration parameter from dts, we can save some boot time if we don't do the copy.
Other driver like clock, pinctrl, sdhci has update to support OF-PLATDATA.
Patches that have been applied are removed from this version.
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
- 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 (4):
arm64: rk3399: add ddr controller driver
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/sdram_rk3399.h | 119 ++ 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/rk3399.c | 1 + arch/arm/mach-rockchip/rk3399/sdram_rk3399.c | 1321 +++++++++++++++++ configs/evb-rk3399_defconfig | 18 + .../clock/rockchip,rk3399-dmc.txt | 42 + include/configs/rk3399_common.h | 11 + 14 files changed, 3257 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-board-spl.c create mode 100644 arch/arm/mach-rockchip/rk3399/sdram_rk3399.c create mode 100644 doc/device-tree-bindings/clock/rockchip,rk3399-dmc.txt
Signature · 1 line
1.9.1