summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/omap3isp/omap3isp.h
diff options
context:
space:
mode:
authorLaurent Pinchart2017-07-18 17:51:35 +0200
committerMauro Carvalho Chehab2017-07-26 14:41:33 +0200
commitc8dbe3181b80dbb1f3e6c9f27da9bb3c1459c656 (patch)
tree3a9183a8c74707fc1752b4d3f54b47e08e411b23 /drivers/media/platform/omap3isp/omap3isp.h
parentmedia: v4l2-flash: Flash ops aren't mandatory (diff)
downloadkernel-qcow2-linux-c8dbe3181b80dbb1f3e6c9f27da9bb3c1459c656.tar.gz
kernel-qcow2-linux-c8dbe3181b80dbb1f3e6c9f27da9bb3c1459c656.tar.xz
kernel-qcow2-linux-c8dbe3181b80dbb1f3e6c9f27da9bb3c1459c656.zip
media: v4l: omap3isp: Get the parallel bus type from DT
The OMAP3 ISP supports both external and embedded BT.656 synchronization for parallel buses. It currently gets the bus type information from the source subdev through the .g_mbus_config() operation, but should instead get it from DT as that's the authoritative source of bus configuration information. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/omap3isp/omap3isp.h')
-rw-r--r--drivers/media/platform/omap3isp/omap3isp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/omap3isp/omap3isp.h b/drivers/media/platform/omap3isp/omap3isp.h
index 3c26f9a3f508..dfd3cbe26ccd 100644
--- a/drivers/media/platform/omap3isp/omap3isp.h
+++ b/drivers/media/platform/omap3isp/omap3isp.h
@@ -46,6 +46,7 @@ enum isp_interface_type {
* 0 - Positive, 1 - Negative
* @data_pol: Data polarity
* 0 - Normal, 1 - One's complement
+ * @bt656: Data contain BT.656 embedded synchronization
*/
struct isp_parallel_cfg {
unsigned int data_lane_shift:3;
@@ -54,6 +55,7 @@ struct isp_parallel_cfg {
unsigned int vs_pol:1;
unsigned int fld_pol:1;
unsigned int data_pol:1;
+ unsigned int bt656:1;
};
enum {