Skip to content

Commit

Permalink
fbdev: sh_mipi_dsi: add SH_MIPI_DSI_HFPBM flag
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Florian Tobias Schandinat committed Nov 21, 2011
1 parent 3c2a659 commit f7b0af6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/video/sh_mipi_dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/*
Expand Down
1 change: 1 addition & 0 deletions include/video/sh_mipi_dsi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f7b0af6

Please sign in to comment.