]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: rk3399: Add tsel control clock drive
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 16 Jul 2019 11:57:23 +0000 (17:27 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 20 Jul 2019 15:59:44 +0000 (23:59 +0800)
commitaa30aae8b4e8c871a263ad67c4b4fdca236bf7c1
treed4e52f1aa4edc2b4566e4acf488d81883df184a6
parent2fb2de33b2d89442d08a7d69f6afb9c7e46aa992
ram: rk3399: Add tsel control clock drive

tsel contrl clock drives are required to configure PHY
929, 939 controls drive settings.

Add support for these control clock for all dramtype
sdrams.

Thse control clock drives are configure via tsel_ckcs_select_p
and tsel_ckcs_select_n variables.

tsel_ckcs_select_n is PHY_DRV_ODT_34_3 value where as
tsel_ckcs_select_p is retrived from IO settings for lpddr4
and rest uses PHY_DRV_ODT_34_3.

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