]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
fbdev: sh_mipi_dsi: support different register layouts
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 29 Dec 2010 08:12:22 +0000 (08:12 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 5 Jan 2011 08:16:24 +0000 (17:16 +0900)
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>
include/video/sh_mipi_dsi.h

index 18bca08f9f59d8c0c97883e1f6db76bbb33f906a..6cb95c977de9c2455e7c5007a6cf641d0524f3e2 100644 (file)
@@ -27,9 +27,15 @@ enum sh_mipi_dsi_data_fmt {
 
 struct sh_mobile_lcdc_chan_cfg;
 
 
 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;
 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
 };
 
 #endif