phy: rockchip-emmc: give DLL some extra time to be ready
authorShawn Lin <shawn.lin@rock-chips.com>
Mon, 20 Jun 2016 17:56:40 +0000 (10:56 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:14 +0000 (10:34 +0200)
commit4d54a25ba5df8d4fd1c1604d1526c9279237ac27
tree6fb4b4f9848dd112733b739585efc6ab352fd7b4
parent476bf3d62d5cc0ec003da37ba9da4f2b46c23660
phy: rockchip-emmc: give DLL some extra time to be ready

According to the databook, 10.2us is the max time for dll to be ready to
work. However in testing, some chips need 20us for dll to be ready. This
patch adds some extra margin for dllrdy to be ready, fixing our
-ETIMEDOUT issues.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/phy/phy-rockchip-emmc.c