msm: camera: cpas: Add support for Parrot Camera

Parrot has different version of CPAS which requires
camnoc interface changes and CPAS version change.
This change adds the same.

CRs-Fixed: 3081144
Change-Id: Icf39e12d3af8518471b093c860888df05af279b7
Signed-off-by: Alok Pandey <akumarpa@codeaurora.org>
This commit is contained in:
Alok Pandey
2021-11-19 14:30:19 +05:30
committed by Gerrit - the friendly Code Review server
parent c4b93c74bf
commit 9dd2955dc9
8 changed files with 611 additions and 1 deletions

View File

@@ -73,6 +73,7 @@ enum cam_cpas_camera_version {
CAM_CPAS_CAMERA_VERSION_680 = 0x00060800,
CAM_CPAS_CAMERA_VERSION_165 = 0x00010605,
CAM_CPAS_CAMERA_VERSION_780 = 0x00070800,
CAM_CPAS_CAMERA_VERSION_640 = 0x00060400,
CAM_CPAS_CAMERA_VERSION_MAX
};
@@ -107,6 +108,7 @@ enum cam_cpas_camera_version_map_id {
CAM_CPAS_CAMERA_VERSION_ID_680 = 0x9,
CAM_CPAS_CAMERA_VERSION_ID_165 = 0xA,
CAM_CPAS_CAMERA_VERSION_ID_780 = 0xB,
CAM_CPAS_CAMERA_VERSION_ID_640 = 0xC,
CAM_CPAS_CAMERA_VERSION_ID_MAX
};
@@ -149,6 +151,7 @@ enum cam_cpas_hw_version {
CAM_CPAS_TITAN_680_V100 = 0x680100,
CAM_CPAS_TITAN_680_V110 = 0x680110,
CAM_CPAS_TITAN_780_V100 = 0x780100,
CAM_CPAS_TITAN_640_V200 = 0x640200,
CAM_CPAS_TITAN_MAX
};