Panel v1 reset patch

This commit is contained in:
mason 2023-11-24 21:55:23 +00:00 committed by fewtarius
parent e4d15b2a12
commit 8de20885dd
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -0,0 +1,13 @@
diff --git a/drivers/gpu/drm/panel/panel-newvision-nv3051d.c b/drivers/gpu/drm/panel/panel-newvision-nv3051d.c
index 79de6c886292..c44c6945662f 100644
--- a/drivers/gpu/drm/panel/panel-newvision-nv3051d.c
+++ b/drivers/gpu/drm/panel/panel-newvision-nv3051d.c
@@ -261,6 +261,8 @@ static int panel_nv3051d_unprepare(struct drm_panel *panel)
usleep_range(10000, 15000);
+ gpiod_set_value_cansleep(ctx->reset_gpio, 1);
+
regulator_disable(ctx->vdd);
return 0;