summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/media/ov5693.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/media/ov5693.h b/include/media/ov5693.h
index 21e10e80ca92..c89a8c0f702a 100644
--- a/include/media/ov5693.h
+++ b/include/media/ov5693.h
@@ -34,7 +34,9 @@
#define OV5693_IOCTL_SET_CAMERA_MODE _IOW('o', 10, __u32)
#define OV5693_IOCTL_SYNC_SENSORS _IOW('o', 11, __u32)
#define OV5693_IOCTL_GET_FUSEID _IOR('o', 12, struct ov5693_fuseid)
+#define OV5693_IOCTL_SET_HDR_COARSE_TIME _IOW('o', 13, struct ov5693_hdr)
+#define OV5693_INVALID_COARSE_TIME -1
struct ov5693_mode {
int res_x;
@@ -42,6 +44,7 @@ struct ov5693_mode {
int fps;
__u32 frame_length;
__u32 coarse_time;
+ __u32 coarse_time_short;
__u16 gain;
};
@@ -49,6 +52,7 @@ struct ov5693_ae {
__u32 frame_length;
__u8 frame_length_enable;
__u32 coarse_time;
+ __u16 coarse_time_short;
__u8 coarse_time_enable;
__s32 gain;
__u8 gain_enable;
@@ -59,6 +63,12 @@ struct ov5693_fuseid {
__u8 id[16];
};
+struct ov5693_hdr {
+ __u32 coarse_time_long;
+ __u32 coarse_time_short;
+};
+
+
/* See notes in the nvc.h file on the GPIO usage */
enum ov5693_gpio_type {
OV5693_GPIO_TYPE_PWRDN = 0,