summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-11-09 05:35:14 +0100
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-11-22 00:43:21 +0100
commit5e47431aabf716c9ad9eacf1a966e1fc1469c809 (patch)
treef2d588fe8e00656b83dc8ee30d17c4777a9b1e9e /include/video
parentfbdev: sh_mipi_dsi: add VMLEN1/VMLEN2 calculation (diff)
downloadlinux-5e47431aabf716c9ad9eacf1a966e1fc1469c809.tar.xz
linux-5e47431aabf716c9ad9eacf1a966e1fc1469c809.zip
fbdev: sh_mipi_dsi: add set_dot_clock() for each platform
Dot clock of SH MIPI are depends on each platform board. This patch adds set_dot_clock() function for it. 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>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/sh_mipi_dsi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/video/sh_mipi_dsi.h b/include/video/sh_mipi_dsi.h
index c8225b4fe8e6..310b883bb312 100644
--- a/include/video/sh_mipi_dsi.h
+++ b/include/video/sh_mipi_dsi.h
@@ -48,6 +48,9 @@ struct sh_mipi_dsi_info {
unsigned long flags;
u32 clksrc;
unsigned int vsynw_offset;
+ int (*set_dot_clock)(struct platform_device *pdev,
+ void __iomem *base,
+ int enable);
};
#endif