ARM64: DT: imx185: Add gain delay support
Frank Chen [Fri, 21 Oct 2016 00:56:12 +0000 (17:56 -0700)]
Add one frame delay for gain setting to be
in sync of exposure settings.

Bug 200244330

Change-Id: I2213c4630970b38f07fd8dedc3445699af81086c
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/1240263
GVS: Gerrit_Virtual_Submit
Reviewed-by: Joshua Widen <jwiden@nvidia.com>
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>

arch/arm64/boot/dts/tegra210-platforms/tegra210-camera-li-mipi-adpt-a00.dtsi

index 8ed1d41..3433c8a 100644 (file)
@@ -66,6 +66,9 @@
                                                /* Convert Gain to unit of dB (decibel) befor passing to kernel driver */
                                                use_decibel_gain = "true";
 
+                                               /* if true, delay gain setting by one frame to be in sync with exposure */
+                                               delayed_gain = "true";
+
                                                /* enable CID_SENSOR_MODE_ID for sensor modes selection */
                                                use_sensor_mode_id = "true";
                                                /**