2021-10-07 11:09:48

by Rex-BC Chen (陳柏辰)

[permalink] [raw]
Subject: [v2] drm/panel: panel-simple: Add delay for LG LP120UP1

Add power sequence for LG LP120UP1.

Signed-off-by: Rex-BC Chen <[email protected]>
---
drivers/gpu/drm/panel/panel-simple.c | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 9b6c4e6c38a1..9f6544450b56 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -3045,6 +3045,11 @@ static const struct panel_desc lg_lp120up1 = {
.width = 267,
.height = 183,
},
+ .delay = {
+ .prepare = 200,
+ .enable = 50,
+ .unprepare = 500,
+ },
.connector_type = DRM_MODE_CONNECTOR_eDP,
};

--
2.18.0