From 61598093bbdd283a7edc367d900f223070ead8d2 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:43:03 +0000 Subject: [PATCH] add ax88772C AX88772C_eeprom_tools --- kernel/include/uapi/linux/rk-isp2-config.h | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/kernel/include/uapi/linux/rk-isp2-config.h b/kernel/include/uapi/linux/rk-isp2-config.h index 9de8ac7..50949e0 100644 --- a/kernel/include/uapi/linux/rk-isp2-config.h +++ b/kernel/include/uapi/linux/rk-isp2-config.h @@ -11,7 +11,7 @@ #include <linux/types.h> #include <linux/v4l2-controls.h> -#define RKISP_API_VERSION KERNEL_VERSION(2, 3, 0) +#define RKISP_API_VERSION KERNEL_VERSION(2, 4, 0) /****************ISP SUBDEV IOCTL*****************************/ @@ -1968,6 +1968,12 @@ struct rkisp_mipi_luma luma[ISP2X_MIPI_RAW_MAX]; } __attribute__ ((packed)); +enum { + RKISP_RTT_MODE_NORMAL = 0, + RKISP_RTT_MODE_MULTI_FRAME, + RKISP_RTT_MODE_ONE_FRAME, +}; + /** * struct rkisp_thunderboot_resmem_head */ @@ -1976,15 +1982,20 @@ __u16 complete; __u16 frm_total; __u16 hdr_mode; + __u16 rtt_mode; __u16 width; __u16 height; __u16 camera_num; __u16 camera_index; + __u16 md_flag; __u32 exp_time[3]; __u32 exp_gain[3]; __u32 exp_time_reg[3]; __u32 exp_gain_reg[3]; + __u32 exp_isp_dgain[3]; + __u32 nr_buf_size; + __u32 share_mem_size; } __attribute__ ((packed)); /** -- Gitblit v1.6.2