msm: camera: uapi: Add a flag for different channel settings
Add a flag for different channel settings including short and standard channel. CRs-Fixed: 3440178 Change-Id: I3f9ea83483a1706e660a8c5ddf225f5d9eb3abcb Signed-off-by: Wang Kan <quic_wkan@quicinc.com>
This commit is contained in:

committed by
Camera Software Integration

parent
14dbf1fe63
commit
5bf8e19f67
@@ -24,6 +24,7 @@
|
||||
/* CSIPHY driver cmd buffer meta types */
|
||||
#define CAM_CSIPHY_PACKET_META_LANE_INFO 0
|
||||
#define CAM_CSIPHY_PACKET_META_GENERIC_BLOB 1
|
||||
#define CAM_CSIPHY_PACKET_META_LANE_INFO_V2 2
|
||||
|
||||
/* CSIPHY blob types */
|
||||
#define CAM_CSIPHY_GENERIC_BLOB_TYPE_CDR_CONFIG 0
|
||||
@@ -759,6 +760,34 @@ struct cam_csiphy_info {
|
||||
__u64 data_rate;
|
||||
} __attribute__((packed));
|
||||
|
||||
/**
|
||||
* cam_csiphy_info_v2 : Provides cmdbuffer structre
|
||||
* @version : Version number
|
||||
* @lane_assign : Lane sensor will be using
|
||||
* @mipi_flags : Phy flags for different calibration operations
|
||||
* @lane_cnt : Total number of lanes
|
||||
* @secure_mode : Secure mode flag to enable / disable
|
||||
* @settle_time : Settling time in ms
|
||||
* @data_rate : Data rate
|
||||
* @channel_type : Channel type indicates apply which channel settings
|
||||
* @num_valid_params : Number of valid params
|
||||
* @param_mask : Mask to indicate what the parameters are
|
||||
* @params : Additional params
|
||||
*/
|
||||
struct cam_csiphy_info_v2 {
|
||||
__u16 version;
|
||||
__u16 lane_assign;
|
||||
__u16 mipi_flags;
|
||||
__u8 lane_cnt;
|
||||
__u8 secure_mode;
|
||||
__u64 settle_time;
|
||||
__u64 data_rate;
|
||||
__u32 channel_type;
|
||||
__u32 num_vaild_params;
|
||||
__u32 param_mask;
|
||||
__u32 params[5];
|
||||
} __attribute__((packed));
|
||||
|
||||
/**
|
||||
* cam_csiphy_acquire_dev_info : Information needed for
|
||||
* csiphy at the time of acquire
|
||||
|
Reference in New Issue
Block a user