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 <vchinta@codeaurora.org>
This commit is contained in:
Venkat Chinta 2019-10-07 12:03:49 -07:00 коммит произвёл Gerrit - the friendly Code Review server
Родитель 11e7f21754
Коммит 1dfd3efd17
1 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -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);