aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-05-19 15:37:38 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-21 16:25:14 -0400
commit9a36d8ed33c481a99f69f8a2eeb22e3c7750e522 (patch)
tree05e04c5c044086df8248e88877426758571be347 /include/media
parent0a7b1a01037e0d43e1b85134be4217c7831f57d6 (diff)
[media] omap3isp: ccdc: Add basic support for interlaced video
When the CCDC input is interlaced enable the alternate field order on the CCDC output video node. The field signal polarity is specified through platform data. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Enrico Butera <ebutera@users.sourceforge.net> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/omap3isp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/omap3isp.h b/include/media/omap3isp.h
index c9d06d9f7e6e..398279dd1922 100644
--- a/include/media/omap3isp.h
+++ b/include/media/omap3isp.h
@@ -57,6 +57,8 @@ enum {
57 * 0 - Active high, 1 - Active low 57 * 0 - Active high, 1 - Active low
58 * @vs_pol: Vertical synchronization polarity 58 * @vs_pol: Vertical synchronization polarity
59 * 0 - Active high, 1 - Active low 59 * 0 - Active high, 1 - Active low
60 * @fld_pol: Field signal polarity
61 * 0 - Positive, 1 - Negative
60 * @data_pol: Data polarity 62 * @data_pol: Data polarity
61 * 0 - Normal, 1 - One's complement 63 * 0 - Normal, 1 - One's complement
62 */ 64 */
@@ -65,6 +67,7 @@ struct isp_parallel_platform_data {
65 unsigned int clk_pol:1; 67 unsigned int clk_pol:1;
66 unsigned int hs_pol:1; 68 unsigned int hs_pol:1;
67 unsigned int vs_pol:1; 69 unsigned int vs_pol:1;
70 unsigned int fld_pol:1;
68 unsigned int data_pol:1; 71 unsigned int data_pol:1;
69}; 72};
70 73