diff options
| author | Wei Ding <weiding@codeaurora.org> | 2015-05-19 10:05:32 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-12-15 00:14:53 -0800 |
| commit | 7dcadefa9c28e9c87140112a44e18e55fe1d4090 (patch) | |
| tree | 8e9460558a6d59ca104d29173acb9f02d16f9690 /include | |
| parent | 3162449f7d245d45f007d4ea3224576ddf1bcc63 (diff) | |
msm: camera: add logic to support sensor compatibility
Add logic to support sensor compatibility to fix same
slave address of sensor but different modules on one platform.
Change-Id: I6c6721e8ff890feaf2d618c8170e346367a68c28
Signed-off-by: penliu <pengfeiliu@codeaurora.org>
Signed-off-by: Wei Ding <weiding@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/soc/qcom/camera2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/soc/qcom/camera2.h b/include/soc/qcom/camera2.h index bf9db17e6981..5a61d2b372c3 100644 --- a/include/soc/qcom/camera2.h +++ b/include/soc/qcom/camera2.h @@ -20,6 +20,7 @@ #include <linux/of_device.h> #include <linux/of.h> +#define MAX_SPECIAL_SUPPORT_SIZE 10 enum msm_camera_device_type_t { MSM_CAMERA_I2C_DEVICE, @@ -148,6 +149,8 @@ struct msm_camera_sensor_board_info { const char *actuator_name; const char *ois_name; const char *flash_name; + const char *special_support_sensors[MAX_SPECIAL_SUPPORT_SIZE]; + int32_t special_support_size; struct msm_camera_slave_info *slave_info; struct msm_camera_csi_lane_params *csi_lane_params; struct msm_camera_sensor_strobe_flash_data *strobe_flash_data; |
