1
0
Fork 0

MLK-16015-2 phy: mixel-lvds-combo: 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>
pull/10/head
Liu Ying 2017-07-18 14:59:33 +08:00 committed by Jason Liu
parent 356465fdde
commit e944130d14
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@
*/
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
@ -174,6 +175,8 @@ static int mixel_lvds_combo_phy_power_on(struct phy *phy)
phy_csr_write(phy, val, PHY_CTRL);
mutex_unlock(&lvds_phy->lock);
usleep_range(500, 1000);
return 0;
}