aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/sh_mipi_dsi.c2
-rw-r--r--include/video/sh_mipi_dsi.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/sh_mipi_dsi.c b/drivers/video/sh_mipi_dsi.c
index c9fac13b03c7..dfd51541e24c 100644
--- a/drivers/video/sh_mipi_dsi.c
+++ b/drivers/video/sh_mipi_dsi.c
@@ -316,6 +316,8 @@ static int __init sh_mipi_setup(struct sh_mipi *mipi,
316 * Non-burst mode with sync pulses: VSE and HSE are output, 316 * Non-burst mode with sync pulses: VSE and HSE are output,
317 * HSA period allowed, no commands in LP 317 * HSA period allowed, no commands in LP
318 */ 318 */
319 if (pdata->flags & SH_MIPI_DSI_BL2E)
320 vmctr2 |= 1 << 17;
319 if (pdata->flags & SH_MIPI_DSI_HSABM) 321 if (pdata->flags & SH_MIPI_DSI_HSABM)
320 vmctr2 |= 1 << 5; 322 vmctr2 |= 1 << 5;
321 if (pdata->flags & SH_MIPI_DSI_HBPBM) 323 if (pdata->flags & SH_MIPI_DSI_HBPBM)
diff --git a/include/video/sh_mipi_dsi.h b/include/video/sh_mipi_dsi.h
index 86a72c05e9bd..58b78f8c0abd 100644
--- a/include/video/sh_mipi_dsi.h
+++ b/include/video/sh_mipi_dsi.h
@@ -30,6 +30,7 @@ struct sh_mobile_lcdc_chan_cfg;
30#define SH_MIPI_DSI_HSABM (1 << 0) 30#define SH_MIPI_DSI_HSABM (1 << 0)
31#define SH_MIPI_DSI_HBPBM (1 << 1) 31#define SH_MIPI_DSI_HBPBM (1 << 1)
32#define SH_MIPI_DSI_HFPBM (1 << 2) 32#define SH_MIPI_DSI_HFPBM (1 << 2)
33#define SH_MIPI_DSI_BL2E (1 << 3)
33 34
34struct sh_mipi_dsi_info { 35struct sh_mipi_dsi_info {
35 enum sh_mipi_dsi_data_fmt data_format; 36 enum sh_mipi_dsi_data_fmt data_format;