summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-09-08 10:22:20 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-09-08 10:22:20 +0300
commit26e3d933e3c15d0bf5422d30811713508a08fc2a (patch)
tree1fb087fc1d7fee0bc183e02b7d0c01ede5ff7917
parent0a403d7b03cf9901f093b78ed6352424e929cf9f (diff)
RDCAM20: fix FSIN
This fixes AWB funciton withFSIN enabled (fix overbrightness at some ambient conditions)
-rw-r--r--meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0030-Gen3-LVDS-cameras.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0030-Gen3-LVDS-cameras.patch b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0030-Gen3-LVDS-cameras.patch
index 7a15d6c..96c1601 100644
--- a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0030-Gen3-LVDS-cameras.patch
+++ b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0030-Gen3-LVDS-cameras.patch
@@ -3471,10 +3471,10 @@ index 0000000..66cc490
+{0x6F00, 0x03},
+{0x6F00, 0x43},
+/* enable FSIN (FRAMESYNC input) functionality */
-+{0x3832, 0x00},
-+{0x3833, 0x10},
-+{0x3834, 0x00},
-+{0x3835, 0x10},
++{0x3832, (0x0d+2*0x20+0x15+38) >> 8},
++{0x3833, (0x0d+2*0x20+0x15+38) & 0xff},
++{0x3834, OV10635_VTS >> 8},
++{0x3835, OV10635_VTS & 0xff},
+{0x302E, 0x01},
+};
+