summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2011-06-10 15:36:58 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-06 17:49:40 -0300
commite1d72f4d521733bbf16cb5ba63683fe4147fa349 (patch)
treebe8e5825baef40898b4058f2f519e359dea781f9 /include/media
parentee7160e57c98ffb03253abb2cb4ad5b1376a2257 (diff)
downloadop-kernel-dev-e1d72f4d521733bbf16cb5ba63683fe4147fa349.zip
op-kernel-dev-e1d72f4d521733bbf16cb5ba63683fe4147fa349.tar.gz
[media] s5p-fimc: Add v4l2_device notification support for single frame capture
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/s5p_fimc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/media/s5p_fimc.h b/include/media/s5p_fimc.h
index 086a7aa..2b58904 100644
--- a/include/media/s5p_fimc.h
+++ b/include/media/s5p_fimc.h
@@ -60,4 +60,13 @@ struct s5p_platform_fimc {
struct s5p_fimc_isp_info *isp_info;
int num_clients;
};
+
+/*
+ * v4l2_device notification id. This is only for internal use in the kernel.
+ * Sensor subdevs should issue S5P_FIMC_TX_END_NOTIFY notification in single
+ * frame capture mode when there is only one VSYNC pulse issued by the sensor
+ * at begining of the frame transmission.
+ */
+#define S5P_FIMC_TX_END_NOTIFY _IO('e', 0)
+
#endif /* S5P_FIMC_H_ */
OpenPOWER on IntegriCloud