MLK-18605-8 drm/bridge: sec-dsim: add non-continuous clock support
authorFancy Fang <chen.fang@nxp.com>
Fri, 13 Jul 2018 10:32:35 +0000 (18:32 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
Complete the non-continuous clock mode support.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit cd216df51f322434e45d12b6721637f1d8159fe4)
(cherry picked from commit 4b907a32838bf45768a1f687539a09ed96cf53a6)

drivers/gpu/drm/bridge/sec-dsim.c

index 650b35f..9f79284 100644 (file)
@@ -521,8 +521,10 @@ static void sec_mipi_dsim_config_dpi(struct sec_mipi_dsim *dsim)
 
        dsim_write(dsim, rgb_status, DSIM_RGB_STATUS);
 
-       if (dsim->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS)
+       if (dsim->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) {
+               config |= CONFIG_NON_CONTINUOUS_CLOCK_LANE;
                config |= CONFIG_CLKLANE_STOP_START;
+       }
 
        if (dsim->mode_flags & MIPI_DSI_MODE_VSYNC_FLUSH)
                config |= CONFIG_MFLUSH_VS;