summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2010-12-29 08:12:22 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-01-05 17:16:24 +0900
commit38f3a8794236af422312d280bbe3801130cfa63b (patch)
tree304bc2dba2b3edc8a6efe5f691612fa78e3bdf5e /include/video
parent0851d50dc12a844778a9b243e141f713cd8f074f (diff)
downloadop-kernel-dev-38f3a8794236af422312d280bbe3801130cfa63b.zip
op-kernel-dev-38f3a8794236af422312d280bbe3801130cfa63b.tar.gz
fbdev: sh_mipi_dsi: support different register layouts
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>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/sh_mipi_dsi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/video/sh_mipi_dsi.h b/include/video/sh_mipi_dsi.h
index 18bca08..6cb95c9 100644
--- a/include/video/sh_mipi_dsi.h
+++ b/include/video/sh_mipi_dsi.h
@@ -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
OpenPOWER on IntegriCloud