From: Vivek Gautam Subject: [PATCH 1/1] drm/panel: truly: Add additional delay after pulling down reset gpio Date: Mon, 27 May 2019 15:56:16 +0530 Message-ID: <20190527102616.28315-1-vivek.gautam@codeaurora.org> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: airlied@linux.ie, thierry.reding@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, robdclark@gmail.com, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, Vivek Gautam List-Id: dri-devel@lists.freedesktop.org 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 --- drivers/gpu/drm/panel/panel-truly-nt35597.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-truly-nt35597.c b/drivers/gpu/drm/panel/panel-truly-nt35597.c index fc2a66c53db4..aa7153fd3be4 100644 --- a/drivers/gpu/drm/panel/panel-truly-nt35597.c +++ b/drivers/gpu/drm/panel/panel-truly-nt35597.c @@ -280,6 +280,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; } -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation