From: Vivek Gautam Date: Mon, 27 May 2019 10:26:16 +0000 (+0530) Subject: drm/panel: truly: Add additional delay after pulling down reset gpio X-Git-Tag: v5.15~303^2~28^2~5199 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5b8687869247c70ae114415d440798b01d8b952;p=platform%2Fkernel%2Flinux-starfive.git drm/panel: truly: Add additional delay after pulling down reset gpio MTP SDM845 panel seems to need additional delay to bring panel to a workable state. Running modetest without this change displays blurry artifacts. Signed-off-by: Vivek Gautam Signed-off-by: Sam Ravnborg Link: https://patchwork.freedesktop.org/patch/msgid/20190527102616.28315-1-vivek.gautam@codeaurora.org --- diff --git a/drivers/gpu/drm/panel/panel-truly-nt35597.c b/drivers/gpu/drm/panel/panel-truly-nt35597.c index b68b142..77e1311 100644 --- a/drivers/gpu/drm/panel/panel-truly-nt35597.c +++ b/drivers/gpu/drm/panel/panel-truly-nt35597.c @@ -284,6 +284,7 @@ static int truly_35597_power_on(struct truly_nt35597 *ctx) gpiod_set_value(ctx->reset_gpio, 1); usleep_range(10000, 20000); gpiod_set_value(ctx->reset_gpio, 0); + usleep_range(10000, 20000); return 0; }