msm: camera: csiphy: Add mipi flags to phy config

-Add mipi flags mask to phy cmd buffer.
-Enable skew calibration settings only if the
corresponding flag is set.

CRs-fixed: 2697576
Change-Id: I0353e57daf49ce15d7573b57dbaa9363dbc59635
Signed-off-by: Shravan Nevatia <[email protected]>
This commit is contained in:
Shravan Nevatia 2020-05-26 04:20:39 +05:30 • committed by Gerrit - the friendly Code Review server
commit a58f2a9d27
3 changed files with 19 additions and 1 deletions

View file

@ -326,6 +326,7 @@ struct cam_cmd_unconditional_wait {
/**
* cam_csiphy_info : Provides cmdbuffer structre
* @lane_assign : Lane sensor will be using
* @mipi_flags : MIPI phy flags
* @lane_cnt : Total number of lanes
* @secure_mode : Secure mode flag to enable / disable
* @settle_time : Settling time in ms
@ -335,7 +336,7 @@ struct cam_cmd_unconditional_wait {
struct cam_csiphy_info {
__u16 reserved;
__u16 lane_assign;
__u16 reserved1;
__u16 mipi_flags;
__u8 lane_cnt;
__u8 secure_mode;
__u64 settle_time;