FROMLIST: ram: rk3399: Add LPDDR4 support
This is the v2 set for supporting LPDDR4 with associated
features, wrt to previous series[1].
Thanks to
- YouMin Chen
- Akash Gajjar
- Kever Yang
for supporting all the help on this work.
On summary this series support
- Code warning and fixes
- rank detection, this would required to probe single channel
sdram configured in NanoPI-NEO4
- LPDDR4 support, tested in Rockpro64 and Rock-PI-4
Changes for v2:
- handle LPDDR4 code as part of CONFIG_RAM_RK3399_LPDDR4
- support data_training and set_rate via sdram_rk3399_ops
- add proper sys_reg_enc macros
- add new patch to rename variable sdram_params with params
- fix few commit messages
patch 0001 - 0034: fix code warnings, prints, new macros
patch 0035 - 0052: rank detection, sdram debug code
patch 0053: use DDR3-1800 on NanoPI-NEO4
patch 0054 - 0094: lpddr4 support
patch 0095: enable lpddr4 in Rockpro64
patch 0096: enable lpddr4 in Rock-PI-4
patch 0097: LPDDR4-100 timings
patch 0098: Use LPDDR4-100 on Rockpro64
patch 0099: Use LPDDR4-100 on Rock-PI 4
Size (increased to ~3KiB ):
- Puma RK3399 (u-boot-spl-dtb.bin):
before: 115644 after: 118744
- NanoPI M4 (u-boot-tpl-dtb.bin)
before: 41873 after: 44909
Travis-CI:
https://travis-ci.org/openedev/u-boot-amarula/builds/546597944
Repo:
https://github.com/openedev/u-boot-amarula/tree/rk3399-lpddr4
[1] https://patchwork.ozlabs.org/cover/1113893/
Any inputs?
Jagan.
Bug: 137034204
Change-Id: I8b4e60b26cdb04ed24af54331bf01d62e36cce2c
Link: https://patchwork.kernel.org/cover/10998057/
[adelva: roll-up of all 99 patches to ease future revert]
Signed-off-by: Alistair Delva <adelva@google.com>
22 files changed