On 11/1/26 22:24, Vladimir Zapolskiy wrote:
The initialization sequence is sent 10ms after the panel reset is
deasserted, however on the SM8350-HDK display card the panel does not
answer a DCS read at that time, as a result the panel initialization
commands are lost, and the panel does not exit sleep mode and the display
stays black. With the first command sent about 15ms after the reset
the panel comes up reliably, so wait 20ms after deasserting the reset.

Fixes: a6dfab2738fc ("drm/panel: Add driver for Visionox r66451 panel")
Signed-off-by: Vladimir Zapolskiy <[email protected]>
---
  drivers/gpu/drm/panel/panel-visionox-r66451.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/panel/panel-visionox-r66451.c 
b/drivers/gpu/drm/panel/panel-visionox-r66451.c
index 4f28bd3b6080..b0559e8b1cb5 100644
--- a/drivers/gpu/drm/panel/panel-visionox-r66451.c
+++ b/drivers/gpu/drm/panel/panel-visionox-r66451.c
@@ -36,7 +36,7 @@ static void visionox_r66451_reset(struct visionox_r66451 *ctx)
        gpiod_set_value_cansleep(ctx->reset_gpio, 1);
        usleep_range(10000, 10100);
        gpiod_set_value_cansleep(ctx->reset_gpio, 0);
-       usleep_range(10000, 10100);
+       usleep_range(20000, 21000);
  }
static int visionox_r66451_on(struct visionox_r66451 *ctx)

Reviewed-by: Neil Armstrong <[email protected]>

Thanks,
Neil

Reply via email to