V(CR): Port OIS Kernel Changes

-Add new fields to OIS data structures
-Add capability to program OIS more flexibly

Change-Id: I97988cc3a6d7fa2241016bd4a269618c8ff10ad0
Reviewed-on: https://gerrit.mot.com/1736525
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
timwang 2020-07-16 09:37:16 -05:00 • committed by zhaoji1
commit 23cf72040d
3 changed files with 226 additions and 54 deletions

View file

@ -137,6 +137,12 @@ struct cam_cmd_ois_info {
__u8 cmd_type;
__u8 ois_fw_flag;
__u8 is_ois_calib;
__u8 ois_preprog_flag;
__u8 ois_precoeff_flag;
__u8 ois_postcalib_flag;
__u8 ois_fw_txn_data_sz;
__u8 ois_fw_inc_addr;
__u8 ois_fw_addr_type;
char ois_name[MAX_OIS_NAME_SIZE];
struct cam_ois_opcode opcode;
} __attribute__((packed));