msm: camera: uapi: Enable preamble control notification

Enable preamble control notificaion for disable preprogrammed
CDR setting for certain resolution sensor mode.

CRs-Fixed: 2943640
Change-Id: I31705cd14239d5610c4f12c2d9e9417eead3c886
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
This commit is contained in:
Jigarkumar Zala
2021-01-28 14:43:53 -08:00
parent 80f937e481
commit 2dbc434daa
2 changed files with 4 additions and 4 deletions

View File

@@ -32,9 +32,6 @@
*/ */
#define MAX_PHY_MSK_PER_REG 4 #define MAX_PHY_MSK_PER_REG 4
/* Mask to enable skew calibration registers */
#define SKEW_CAL_MASK 0x2
static DEFINE_MUTEX(active_csiphy_cnt_mutex); static DEFINE_MUTEX(active_csiphy_cnt_mutex);
static int csiphy_dump; static int csiphy_dump;

View File

@@ -16,6 +16,9 @@
#define CAM_CSIPHY_SECURE_MODE_ENABLED 1 #define CAM_CSIPHY_SECURE_MODE_ENABLED 1
#define CAM_SENSOR_NAME_MAX_SIZE 32 #define CAM_SENSOR_NAME_MAX_SIZE 32
#define SKEW_CAL_MASK BIT(1)
#define PREAMBLE_PATTEN_CAL_MASK BIT(2)
enum camera_sensor_cmd_type { enum camera_sensor_cmd_type {
CAMERA_SENSOR_CMD_TYPE_INVALID, CAMERA_SENSOR_CMD_TYPE_INVALID,
CAMERA_SENSOR_CMD_TYPE_PROBE, CAMERA_SENSOR_CMD_TYPE_PROBE,
@@ -432,7 +435,7 @@ struct cam_cmd_unconditional_wait {
/** /**
* cam_csiphy_info : Provides cmdbuffer structre * cam_csiphy_info : Provides cmdbuffer structre
* @lane_assign : Lane sensor will be using * @lane_assign : Lane sensor will be using
* @mipi_flags : MIPI phy flags * @mipi_flags : Phy flags for differnt calibration operations
* @lane_cnt : Total number of lanes * @lane_cnt : Total number of lanes
* @secure_mode : Secure mode flag to enable / disable * @secure_mode : Secure mode flag to enable / disable
* @settle_time : Settling time in ms * @settle_time : Settling time in ms