summaryrefslogtreecommitdiffstats
path: root/include/video/samsung_fimd.h
diff options
context:
space:
mode:
authorYoungJun Cho <yj44.cho@samsung.com>2014-07-17 18:01:21 +0900
committerInki Dae <daeinki@gmail.com>2014-08-03 16:52:15 +0900
commit3854fab24e899c02439657956ab1d2c85001958c (patch)
tree111c35831a6b1f341b62bd1d13f21fbb4c2d4372 /include/video/samsung_fimd.h
parente17ddecc3aa519b7e59edf490e34ac036be1f8b8 (diff)
downloadlinux-3854fab24e899c02439657956ab1d2c85001958c.tar.gz
linux-3854fab24e899c02439657956ab1d2c85001958c.tar.bz2
linux-3854fab24e899c02439657956ab1d2c85001958c.zip
drm/exynos: fimd: support LCD I80 interface
To support MIPI command mode based I80 interface panel, FIMD should do followings: - Sets LCD I80 interface timings configuration. - Uses "lcd_sys" as an IRQ resource and sets relevant IRQ configuration. - Sets LCD block configuration for I80 interface. - Sets ideal(pixel) clock is 2 times faster than the original one to generate frame done IRQ prior to the next TE signal. - Implements trigger feature that transfers image data if there is page flip request, and implements TE handler to call trigger function. Signed-off-by: YoungJun Cho <yj44.cho@samsung.com> Acked-by: Inki Dae <inki.dae@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'include/video/samsung_fimd.h')
-rw-r--r--include/video/samsung_fimd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/video/samsung_fimd.h b/include/video/samsung_fimd.h
index b0393209679b..eaad58b5be4a 100644
--- a/include/video/samsung_fimd.h
+++ b/include/video/samsung_fimd.h
@@ -19,6 +19,7 @@
/* VIDCON0 */
#define VIDCON0 0x00
+#define VIDCON0_DSI_EN (1 << 30)
#define VIDCON0_INTERLACE (1 << 29)
#define VIDCON0_VIDOUT_MASK (0x7 << 26)
#define VIDCON0_VIDOUT_SHIFT 26
@@ -355,7 +356,7 @@
#define VIDINTCON0_INT_ENABLE (1 << 0)
#define VIDINTCON1 0x134
-#define VIDINTCON1_INT_I180 (1 << 2)
+#define VIDINTCON1_INT_I80 (1 << 2)
#define VIDINTCON1_INT_FRAME (1 << 1)
#define VIDINTCON1_INT_FIFO (1 << 0)