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

Commit bfa65377 authored by Chandan Kumar Jha's avatar Chandan Kumar Jha
Browse files

msm: camera: common: Add support of PHY TPG deinitialization



Add support of phy tpg deinit in ife HW manager.
Change print statement in shima camera config.

CRs-Fixed: 2732941
Change-Id: I572b19b76afdb89bda4bb1cbad7fd94bb5aa8097
Signed-off-by: default avatarChandan Kumar Jha <cjha@codeaurora.org>
parent 431878cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@

ifeq ($(CONFIG_QGKI),y)
export CONFIG_SPECTRA_CAMERA=m
$(info "SPECTRA_CAMERA IS STATIC")
$(info "SPECTRA_CAMERA IS MODULAR")
else
$(info "SPECTRA_CAMERA IS MODULAR")
export CONFIG_SPECTRA_CAMERA=m
+3 −0
Original line number Diff line number Diff line
@@ -484,6 +484,9 @@ static void cam_ife_hw_mgr_deinit_hw(
		return;
	}

	if (ctx->is_tpg)
		cam_ife_hw_mgr_deinit_hw_res(&ctx->res_list_tpg);

	/* Deinit IFE CID */
	list_for_each_entry(hw_mgr_res, &ctx->res_list_ife_cid, list) {
		CAM_DBG(CAM_ISP, "%s: Going to DeInit IFE CID\n", __func__);
+2 −1
Original line number Diff line number Diff line
@@ -1877,7 +1877,8 @@ static int cam_ife_csid_init_config_pxl_path(
		 */
		if (!(csid_hw->csid_debug & CSID_DEBUG_DISABLE_EARLY_EOF) &&
			(camera_hw_version != CAM_CPAS_TITAN_480_V100) &&
			(camera_hw_version != CAM_CPAS_TITAN_580_V100)) {
			(camera_hw_version != CAM_CPAS_TITAN_580_V100) &&
			(camera_hw_version != CAM_CPAS_TITAN_570_V200)) {
			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);