]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: rk3399: Avoid two channel ZQ Cal Start at the same time
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 16 Jul 2019 11:57:13 +0000 (17:27 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 20 Jul 2019 15:59:44 +0000 (23:59 +0800)
commit47627c8a5cfc0d5d60ca81446528705b3b56077b
tree0eeebf670a608739d4bcae3349666e57f40b027e
parent5cbc8669819a69c22a50d2fb22c9d4962c8bbad5
ram: rk3399: Avoid two channel ZQ Cal Start at the same time

It is possible in lpddr4 dram, where both the channels would
start at same time with ZQ Cal Start. If it uses ZQ Call start
then it will use RZQ.

For example LPDDR4 366 Dual-Die, Quad-Channel Package, RZQ maybe
connect to both channel. If ZQ Cal Start at the same time,
it will use the same RZQ.

It is not a problem of using RZQ in both the channels, but can not
use at the same time.

So, to avoid this, we have an option of dram tINIT3 value for
increasing the frequency for channel 1.

This patch increase the available tINIT3 with existing running
dram frequency.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: YouMin Chen <cym@rock-chips.com>
Reviewed-by: Kever Yang <Kever.yang@rock-chips.com>
drivers/ram/rockchip/sdram_rk3399.c