summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-kernel
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-08-03 04:24:44 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-08-06 22:35:21 +0300
commit20004171570acc1c28092884e7c377734d873dad (patch)
tree4b459c7febccbb17371a1c2c8fe4a31e01e92b4d /meta-rcar-gen3-adas/recipes-kernel
parentc544e44b182bdb172e10a4584e326328743d71a7 (diff)
Gen3: LVDS: fix RDCAM21/24 firmware
1) This fixes/allows to use both Cogent and vendor firmware 2) this fixes dark envionment show: only for vendor f/w since EMB line is enabled but not showed in frame. Sensor EMB line is used in ISP.
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-kernel')
-rw-r--r--meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0030-Gen3-LVDS-cameras.patch8
1 files changed, 7 insertions, 1 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 d6b6bb1..88d33f7 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
@@ -3928,7 +3928,7 @@ new file mode 100644
index 0000000..dde81ef
--- /dev/null
+++ b/drivers/media/i2c/soc_camera/ov490_ov10640.h
-@@ -0,0 +1,82 @@
+@@ -0,0 +1,88 @@
+/*
+ * OmniVision ov490-ov10640 sensor camera wizard 1280x1080@30/UYVY/BT601/8bit
+ *
@@ -3953,7 +3953,11 @@ index 0000000..dde81ef
+{0x0075, 0x11},
+{0xfffe, 0x29},
+{0x6010, 0x01},
++/* ov490 EMB line disable in YUV and RAW data, NOTE: EMB line is still used in ISP and sensor */
++{0xe000, 0x14},
++#if 0 /* do not disable EMB line in ISP! */
+{0x4017, 0x00},
++#endif
+{0xfffe, 0x28},
+{0x6000, 0x04},
+{0x6004, 0x00},
@@ -3962,6 +3966,7 @@ index 0000000..dde81ef
+{0x0091, 0x00},
+{0x00bb, 0x1d}, // bit[3]=0 - PCLK polarity workaround
+/* ov10640 EMB line disable */
++#if 0 /* do not disable EMB line in sensor! */
+{0xfffe, 0x19},
+{0x5000, 0x00},
+{0x5001, 0x30},
@@ -3969,6 +3974,7 @@ index 0000000..dde81ef
+{0x5003, 0x08},
+{0xfffe, 0x80},
+{0x00c0, 0xc1},
++#endif
+/* Ov490 FSIN: app_fsin_from_fsync */
+{0xfffe, 0x85},
+{0x0008, 0x00},