[PATCH] phy: zynqmp: Increase timeout value to 10ms

Observing psgtr pll timeouts with some usb hubs and devices behind it. Increase timeout to 10ms to take care of it.
Signed-off-by: Ashok Reddy Soma ashok.reddy.soma@xilinx.com ---
drivers/phy/phy-zynqmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/phy-zynqmp.c b/drivers/phy/phy-zynqmp.c index 08c1b6efcf..d1288bb17f 100644 --- a/drivers/phy/phy-zynqmp.c +++ b/drivers/phy/phy-zynqmp.c @@ -168,7 +168,7 @@ enum { };
/* Timeout values */ -#define TIMEOUT_US 1000 +#define TIMEOUT_US 10000
#define IOU_SLCR_GEM_CLK_CTRL 0x308 #define GEM_CTRL_GEM_SGMII_MODE BIT(2)

On 5/10/22 15:12, Ashok Reddy Soma wrote:
Observing psgtr pll timeouts with some usb hubs and devices behind it. Increase timeout to 10ms to take care of it.
Signed-off-by: Ashok Reddy Soma ashok.reddy.soma@xilinx.com
drivers/phy/phy-zynqmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/phy-zynqmp.c b/drivers/phy/phy-zynqmp.c index 08c1b6efcf..d1288bb17f 100644 --- a/drivers/phy/phy-zynqmp.c +++ b/drivers/phy/phy-zynqmp.c @@ -168,7 +168,7 @@ enum { };
/* Timeout values */ -#define TIMEOUT_US 1000 +#define TIMEOUT_US 10000
#define IOU_SLCR_GEM_CLK_CTRL 0x308 #define GEM_CTRL_GEM_SGMII_MODE BIT(2)
Applied, M
participants (2)
-
Ashok Reddy Soma
-
Michal Simek