Skip to content

Commit

Permalink
fbdev: sh_mipi_dsi: support different register layouts
Browse files Browse the repository at this point in the history
The register layout of the MIPI DSI unit on sh-mobile SoCs differ. Add platform
parameters to support such variations.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Guennadi Liakhovetski authored and Paul Mundt committed Jan 5, 2011
1 parent 0851d50 commit 38f3a87
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/video/sh_mipi_dsi.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,15 @@ enum sh_mipi_dsi_data_fmt {

struct sh_mobile_lcdc_chan_cfg;

#define SH_MIPI_DSI_HSABM (1 << 0)
#define SH_MIPI_DSI_HSPBM (1 << 1)

struct sh_mipi_dsi_info {
enum sh_mipi_dsi_data_fmt data_format;
struct sh_mobile_lcdc_chan_cfg *lcd_chan;
unsigned long flags;
u32 clksrc;
unsigned int vsynw_offset;
};

#endif

0 comments on commit 38f3a87

Please sign in to comment.