summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWojciech Bieganski <wbieganski@antmicro.com>2014-04-14 15:56:00 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2014-04-22 08:43:29 +0200
commitadc6a443b7df188545c99cea1c3ebd5c965763b7 (patch)
tree8051536c2bf46c87c584a31c7e343abd2beb37a8 /include
parent39989815e732886a763d41b0067eb9ce64a7e84f (diff)
media: added camera settings per decoder
This commit adds settings such as: - values of horizontal/vertical active start, - enabling/disabling internal sync, to the private data of decoders: MAX9526, ADV7180, TVP5150, OV7670 and AS0260. The feature is available through *_tegra_camera_platform_data struct initialised in board-*.c files.
Diffstat (limited to 'include')
-rw-r--r--include/media/tegra_v4l2_camera.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/tegra_v4l2_camera.h b/include/media/tegra_v4l2_camera.h
index f6390b6e5609..fef8a9bb5db0 100644
--- a/include/media/tegra_v4l2_camera.h
+++ b/include/media/tegra_v4l2_camera.h
@@ -35,6 +35,11 @@ struct tegra_camera_platform_data {
enum tegra_camera_port port;
int lanes; /* For CSI port only */
bool continuous_clk; /* For CSI port only */
+
+ bool internal_sync; /* VIP */
+ u8 vip_h_active_start; /* VIP */
+ u8 vip_v_active_start; /* VIP */
+
};
#endif /* _TEGRA_CAMERA_H_ */