From 1dfd3efd17c1e8a4410e859baa615fbe51332425 Mon Sep 17 00:00:00 2001 From: Venkat Chinta Date: Mon, 7 Oct 2019 12:03:49 -0700 Subject: [PATCH] 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: Venkat Chinta --- .../isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c b/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c index 256fea2e5bbd..af9f67286d82 100644 --- a/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c +++ b/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c @@ -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", csid_hw->hw_intf->hw_idx, val); - /* Enable generating early eof strobe based on crop config */ - if (!(csid_hw->csid_debug & CSID_DEBUG_DISABLE_EARLY_EOF)) { + /* Enable generating early eof strobe based on crop config. + * 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 + pxl_reg->csid_pxl_cfg0_addr); val |= (1 << pxl_reg->early_eof_en_shift_val);