mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
28 lines
826 B
Diff
28 lines
826 B
Diff
|
From 6b438292e6b86a5cb5bffee2e517f1335903e39e Mon Sep 17 00:00:00 2001
|
||
|
From: Samuel Holland <samuel@sholland.org>
|
||
|
Date: Tue, 9 Aug 2022 20:15:24 -0500
|
||
|
Subject: [PATCH 115/117] drm: panel: cwd686: Power up sequence
|
||
|
|
||
|
Signed-off-by: Samuel Holland <samuel@sholland.org>
|
||
|
---
|
||
|
drivers/gpu/drm/panel/panel-clockwork-cwd686.c | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
--- a/drivers/gpu/drm/panel/panel-clockwork-cwd686.c
|
||
|
+++ b/drivers/gpu/drm/panel/panel-clockwork-cwd686.c
|
||
|
@@ -218,12 +218,14 @@ static int cwd686_prepare(struct drm_pan
|
||
|
dev_err(ctx->dev, "failed to enable iovcc (%d)\n", err);
|
||
|
return err;
|
||
|
}
|
||
|
+ msleep(20);
|
||
|
|
||
|
err = regulator_enable(ctx->vci);
|
||
|
if (err) {
|
||
|
dev_err(ctx->dev, "failed to enable vci (%d)\n", err);
|
||
|
return err;
|
||
|
}
|
||
|
+ msleep(120);
|
||
|
|
||
|
gpiod_set_value_cansleep(ctx->reset_gpio, 1);
|
||
|
/* T2 */
|