Skip to contentSkip to conversation

drm/bridge: anx7625: Fix power on delay

PATCH Superseded Hsin-Yi Wang 2 participants 2 messages Apr 27, 2021

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/bridge: anx7625: Fix power on delay

From anx7625 spec, the delay between powering on power supplies and gpio should be larger than 10ms.

Fixes 6c744983004e ("drm/bridge: anx7625: disable regulators when power off")
---
 drivers/gpu/drm/bridge/analogix/anx7625.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/analogix/anx7625.c +1 -1
index 23283ba0c4f9..0a8db745cfd5 100644
@@ -893,7 +893,7 @@ static void anx7625_power_on(struct anx7625_data *ctx)
 		usleep_range(2000, 2100);
 	}
 
-	usleep_range(4000, 4100);
+	usleep_range(10000, 11000);
 
 	/* Power on pin enable */
 	gpiod_set_value(ctx->pdata.gpio_p_on, 1);
Signature · 6 lines
2.31.1.498.g6c1eba8ee3d-goog

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · Hsin-Yi Wang

From anx7625 spec, the delay between powering on power supplies and gpio should be larger than 10ms.

Fixes 6c744983004e ("drm/bridge: anx7625: disable regulators when power off")
---
 drivers/gpu/drm/bridge/analogix/anx7625.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/analogix/anx7625.c +0 -0
index 23283ba0c4f9..0a8db745cfd5 100644

drivers/gpu/drm/bridge/analogix/anx7625.c static void anx7625_power_on(struct anx7625_data *ctx) · line 899

Quoted 8 lines
drivers/gpu/drm/bridge/analogix/anx7625.c +1 -1
@@ -893,7 +893,7 @@ static void anx7625_power_on(struct anx7625_data *ctx)
 		usleep_range(2000, 2100);
 	}
 
-	usleep_range(4000, 4100);
+	usleep_range(10000, 11000);
 
 	/* Power on pin enable */
 	gpiod_set_value(ctx->pdata.gpio_p_on, 1);

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel