dect
/
linux-2.6
Archived
13
0
Fork 0

fbdev: sh_mipi_dsi: add SH_MIPI_DSI_HFPBM flag

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>
This commit is contained in:
Kuninori Morimoto 2011-11-08 20:34:24 -08:00 committed by Florian Tobias Schandinat
parent 3c2a659936
commit f7b0af68bc
2 changed files with 3 additions and 0 deletions

View 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);
/*

View 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;