fbdev: sh_mipi_dsi: add SH_MIPI_DSI_HFPBM flag
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 9 Nov 2011 04:34:24 +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 20ccc23699fe364c94889e2416276e0c16e362e2..c9fac13b03c7609bc931ab788ec51b04662954df 100644 (file)
@@ -320,6 +320,8 @@ static int __init sh_mipi_setup(struct sh_mipi *mipi,
                vmctr2 |= 1 << 5;
        if (pdata->flags & SH_MIPI_DSI_HBPBM)
                vmctr2 |= 1 << 4;
+       if (pdata->flags & SH_MIPI_DSI_HFPBM)
+               vmctr2 |= 1 << 3;
        iowrite32(vmctr2, mipi->linkbase + VMCTR2);
 
        /*
index 4e2bcb51c43469bdce9aeff7ab3fc70550d238cc..86a72c05e9bdd58dc985d540786bb240f34cee34 100644 (file)
@@ -29,6 +29,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)
 
 struct sh_mipi_dsi_info {
        enum sh_mipi_dsi_data_fmt       data_format;