Patch "drm/panel: nv3051d: Hold panel in reset for unprepare" has been added to the 6.7-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/panel: nv3051d: Hold panel in reset for unprepare

to the 6.7-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-panel-nv3051d-hold-panel-in-reset-for-unprepare.patch
and it can be found in the queue-6.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 3905738c8bb4f31d95849d99f0222347ad3c8f89
Author: Chris Morgan <macromorgan@xxxxxxxxxxx>
Date:   Fri Nov 17 14:25:32 2023 -0600

    drm/panel: nv3051d: Hold panel in reset for unprepare
    
    [ Upstream commit 697ebc319b942403a6fee894607fd2cd47cca069 ]
    
    Improve the panel's ability to restore from suspend by holding the
    panel in suspend after unprepare.
    
    Fixes: b1d39f0f4264 ("drm/panel: Add NewVision NV3051D MIPI-DSI LCD panel")
    Signed-off-by: Chris Morgan <macromorgan@xxxxxxxxxxx>
    Reviewed-by: Jessica Zhang <quic_jesszhan@xxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20231117202536.1387815-3-macroalpha82@xxxxxxxxx
    Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20231117202536.1387815-3-macroalpha82@xxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

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;




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux