Browse Source

msm: camera: isp: Add missing config values for RDI on Lahaina IFE Lite

CSI2 RX PHY selection and lane swapping shift values are missing in the CSID
480 header file. The values default to zero which results in SOF freeze.
Adding these values restores the RDI functionality post-CSID-refactor.

CRs-Fixed: 2830502
Change-Id: I32c75a4b3a911cb871fd404f9e6d5addd626bb50
Signed-off-by: Anand Ravi <[email protected]>
Anand Ravi 4 years ago
parent
commit
d52fbf7117

+ 4 - 0
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_lite480.h

@@ -326,6 +326,10 @@ static struct cam_ife_csid_csi2_rx_reg_info
 	.fatal_err_mask                       = 0x78000,
 	.fatal_err_mask                       = 0x78000,
 	.part_fatal_err_mask                  = 0x1801800,
 	.part_fatal_err_mask                  = 0x1801800,
 	.non_fatal_err_mask                   = 0x380000,
 	.non_fatal_err_mask                   = 0x380000,
+	.lane_num_shift                       = 0,
+	.lane_cfg_shift                       = 4,
+	.phy_type_shift                       = 24,
+	.phy_num_shift                        = 20,
 };
 };
 
 
 static struct cam_ife_csid_ver1_tpg_reg_info
 static struct cam_ife_csid_ver1_tpg_reg_info