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

Commit 09640585 authored by Abhijit Trivedi's avatar Abhijit Trivedi
Browse files

UPSTREAM: Merge remote-tracking branch 'quic/dev/msm-4.9-camx' into mainline (msm-4.9)



* quic/dev/msm-4.9-camx:
  ARM: dts: msm: Modify suspend state properties for sdm845
  Revert "msm: camera: Modify size field in icp handles"
  msm: camera: reqmgr: Fix condition check in SOF trigger
  msm: camera: update soc util functionality to make it more generic
  msm: camera: util: add support for i2c and spi device
  msm: camera: Initialize the structure with default values
  msm: camera: isp: Program HFR related registers in hw start
  msm: camera: Handle out of bound cases properly
  msm: camera: Add uapi header for camera fd
  msm: camera: util: Add support for generic blob command buffer
  Revert "msm: camera: HW CDM reset failure workaround"
  msm: camera: reqmgr: Add EOF trigger notification
  msm: camera: Add call to dump memory for CSIPHY

Change-Id: Ib35a7d13428602d3f453b19d02b73e1c12194058
Signed-off-by: default avatarAbhijit Trivedi <abhijitt@codeaurora.org>
parents 1d9aee75 e87f1ee0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2753,6 +2753,7 @@
				pins = "gpio80","gpio79";
				bias-pull-down; /* PULL DOWN */
				drive-strength = <2>; /* 2 MA */
				output-low;
			};
		};

@@ -2809,6 +2810,7 @@
				pins = "gpio28";
				bias-pull-down; /* PULL DOWN */
				drive-strength = <2>; /* 2 MA */
				output-low;
			};
		};

@@ -2866,6 +2868,7 @@
				pins = "gpio9","gpio8";
				bias-pull-down; /* PULL DOWN */
				drive-strength = <2>; /* 2 MA */
				output-low;
			};
		};

+2 −12
Original line number Diff line number Diff line
@@ -785,18 +785,6 @@ int cam_hw_cdm_init(void *hw_priv,
	time_left = wait_for_completion_timeout(&cdm_core->reset_complete,
		msecs_to_jiffies(CAM_CDM_HW_RESET_TIMEOUT));

	/*
	 * Check for HW error and recover as a workaround
	 * Sometimes CDM HW triggers irq with invalid status for
	 * HW reset command, so ignore reset failure and proceed further
	 * as a workaround.
	 */
	if (time_left <= 0) {
		CAM_ERR(CAM_CDM, "CDM HW reset Wait failed time_left=%ld",
			time_left);
		time_left = 1;
	}

	if (time_left <= 0) {
		CAM_ERR(CAM_CDM, "CDM HW reset Wait failed rc=%d", rc);
		goto disable_return;
@@ -869,6 +857,8 @@ int cam_hw_cdm_probe(struct platform_device *pdev)

	cdm_hw->hw_state = CAM_HW_STATE_POWER_DOWN;
	cdm_hw->soc_info.pdev = pdev;
	cdm_hw->soc_info.dev = &pdev->dev;
	cdm_hw->soc_info.dev_name = pdev->name;
	cdm_hw_intf->hw_type = CAM_HW_CDM;
	cdm_hw->open_count = 0;
	mutex_init(&cdm_hw->hw_mutex);
+2 −0
Original line number Diff line number Diff line
@@ -1338,6 +1338,8 @@ int cam_cpas_hw_probe(struct platform_device *pdev,

	cpas_hw->hw_state = CAM_HW_STATE_POWER_DOWN;
	cpas_hw->soc_info.pdev = pdev;
	cpas_hw->soc_info.dev = &pdev->dev;
	cpas_hw->soc_info.dev_name = pdev->name;
	cpas_hw->open_count = 0;
	mutex_init(&cpas_hw->hw_mutex);
	spin_lock_init(&cpas_hw->hw_lock);
+2 −0
Original line number Diff line number Diff line
@@ -96,6 +96,8 @@ int cam_a5_probe(struct platform_device *pdev)
	}

	a5_dev->soc_info.pdev = pdev;
	a5_dev->soc_info.dev = &pdev->dev;
	a5_dev->soc_info.dev_name = pdev->name;
	a5_dev_intf->hw_priv = a5_dev;
	a5_dev_intf->hw_ops.init = cam_a5_init_hw;
	a5_dev_intf->hw_ops.deinit = cam_a5_deinit_hw;
+2 −0
Original line number Diff line number Diff line
@@ -78,6 +78,8 @@ int cam_bps_probe(struct platform_device *pdev)
		return -ENOMEM;
	}
	bps_dev->soc_info.pdev = pdev;
	bps_dev->soc_info.dev = &pdev->dev;
	bps_dev->soc_info.dev_name = pdev->name;
	bps_dev_intf->hw_priv = bps_dev;
	bps_dev_intf->hw_ops.init = cam_bps_init_hw;
	bps_dev_intf->hw_ops.deinit = cam_bps_deinit_hw;
Loading