diff options
author | Liu Ying <victor.liu@nxp.com> | 2017-07-18 14:54:43 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | d54ffa27a643f736f37600fdffb05787d53e82ee (patch) | |
tree | 267a6b12ec1c65c2b22630c2c67065b3cbcf4058 /drivers/phy | |
parent | 97d97eb61e1298a536c45c99c8c964223b6523d7 (diff) |
MLK-16015-1 phy: mixel-lvds: Add delay to wait PHY to be locked
It seems that we haven't got SCU ISO bit available to check if PHY is
locked or not after enable, so let's simply delay for a while as a
temporary solution.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Diffstat (limited to 'drivers/phy')
-rw-r--r-- | drivers/phy/phy-mixel-lvds.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/phy/phy-mixel-lvds.c b/drivers/phy/phy-mixel-lvds.c index 01ac237b7d80..824b251020a4 100644 --- a/drivers/phy/phy-mixel-lvds.c +++ b/drivers/phy/phy-mixel-lvds.c @@ -13,6 +13,7 @@ */ #include <linux/clk.h> +#include <linux/delay.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/module.h> @@ -166,6 +167,8 @@ static int mixel_lvds_phy_power_on(struct phy *phy) phy_write(phy, CH_EN(id), PHY_CTRL + SET); mutex_unlock(&priv->lock); + usleep_range(500, 1000); + return 0; } |