]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
drivers: camera: Fix Mipi Calibration sequence
authorDavid Bang <dbang@nvidia.com>
Mon, 18 Dec 2017 17:54:12 +0000 (12:54 -0500)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 20 Dec 2017 02:16:51 +0000 (18:16 -0800)
commit69c58b5620410e11242481b91367e76dc281d3c3
tree0dacb6e3172449b1d6e5b29bb6fd8277b4b37351
parent7d2e253acf467b44858b71bd4e395474dc4612a8
drivers: camera: Fix Mipi Calibration sequence

MIPI calibration can happen irrespective of
sensor state by keeping CSI CIL in reset
state. This change adds calibration to complete
when the CSI is powered ON and based on the sensor
settings. By this approach the mipi lanes are
calibrated and are ready as soon as sensor is
turned ON.

Bug 200324656

Change-Id: Id2cd6336395d3a0f0b2637207eb4fdfe6edc3d63
Signed-off-by: David Bang <dbang@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1560331
Reviewed-on: https://git-master.nvidia.com/r/1620523
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/media/platform/tegra/camera/csi/csi.c
drivers/media/platform/tegra/camera/csi/csi.h