]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
fbdev: sh_mipi_dsi: add SH_MIPI_DSI_BL2E flag
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 9 Nov 2011 04:34:33 +0000 (20:34 -0800)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 21 Nov 2011 23:43:21 +0000 (23:43 +0000)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/sh_mipi_dsi.c
include/video/sh_mipi_dsi.h

index c9fac13b03c7609bc931ab788ec51b04662954df..dfd51541e24c855420ba9feb9db0e86329bca6f8 100644 (file)
@@ -316,6 +316,8 @@ static int __init sh_mipi_setup(struct sh_mipi *mipi,
         * Non-burst mode with sync pulses: VSE and HSE are output,
         * HSA period allowed, no commands in LP
         */
+       if (pdata->flags & SH_MIPI_DSI_BL2E)
+               vmctr2 |= 1 << 17;
        if (pdata->flags & SH_MIPI_DSI_HSABM)
                vmctr2 |= 1 << 5;
        if (pdata->flags & SH_MIPI_DSI_HBPBM)
index 86a72c05e9bdd58dc985d540786bb240f34cee34..58b78f8c0abd229678cc4306b4b2786eceeaf72a 100644 (file)
@@ -30,6 +30,7 @@ struct sh_mobile_lcdc_chan_cfg;
 #define SH_MIPI_DSI_HSABM      (1 << 0)
 #define SH_MIPI_DSI_HBPBM      (1 << 1)
 #define SH_MIPI_DSI_HFPBM      (1 << 2)
+#define SH_MIPI_DSI_BL2E       (1 << 3)
 
 struct sh_mipi_dsi_info {
        enum sh_mipi_dsi_data_fmt       data_format;