Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1dfd3efd authored by Venkat Chinta's avatar Venkat Chinta Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: ife: Disable early eof strobe



This change disables early eof strobe for version 480 hardware
due to hardware limitation.

CRs-Fixed: 2545140
Change-Id: I727ba5950911caac76cd2046e9e7c1e6d7ca6d96
Signed-off-by: default avatarVenkat Chinta <vchinta@codeaurora.org>
parent 11e7f217
Loading
Loading
Loading
Loading
+5 −2
Original line number Original line Diff line number Diff line
@@ -1773,8 +1773,11 @@ static int cam_ife_csid_init_config_pxl_path(
		CAM_DBG(CAM_ISP, "CSID:%d Vertical Crop config val: 0x%x",
		CAM_DBG(CAM_ISP, "CSID:%d Vertical Crop config val: 0x%x",
			csid_hw->hw_intf->hw_idx, val);
			csid_hw->hw_intf->hw_idx, val);


		/* Enable generating early eof strobe based on crop config */
		/* Enable generating early eof strobe based on crop config.
		if (!(csid_hw->csid_debug & CSID_DEBUG_DISABLE_EARLY_EOF)) {
		 * Skip for version 480 HW due to HW limitation.
		 */
		if (!(csid_hw->csid_debug & CSID_DEBUG_DISABLE_EARLY_EOF) &&
			(camera_hw_version != CAM_CPAS_TITAN_480_V100)) {
			val = cam_io_r_mb(soc_info->reg_map[0].mem_base +
			val = cam_io_r_mb(soc_info->reg_map[0].mem_base +
				pxl_reg->csid_pxl_cfg0_addr);
				pxl_reg->csid_pxl_cfg0_addr);
			val |= (1 << pxl_reg->early_eof_en_shift_val);
			val |= (1 << pxl_reg->early_eof_en_shift_val);