summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2018-01-02 01:37:01 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2018-01-02 01:37:01 +0300
commit56f087827096aa6b8aadb75e13b79c8ac8feae5e (patch)
treee35e7256af49c4e1cf0b9c4470c4e5549ce32f39 /meta-rcar-gen3-adas
parentd4501082ab8f20f2ea7ee42e7305623ff87092c7 (diff)
MAX9286: fix loss of the last byte in CSI stream
MAX9286 may result CSI2 stream losing the last byte. This observed rarely with only 1 cmaera connected to quad deserializer. This patch fixes this issue
Diffstat (limited to 'meta-rcar-gen3-adas')
-rw-r--r--meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0030-Gen3-LVDS-cameras.patch3
1 files changed, 2 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 172b88c..589e166 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
@@ -938,7 +938,7 @@ new file mode 100644
index 0000000..91223a0
--- /dev/null
+++ b/drivers/media/i2c/soc_camera/max9286_max9271.c
-@@ -0,0 +1,607 @@
+@@ -0,0 +1,608 @@
+/*
+ * MAXIM max9286-max9271 GMSL driver
+ *
@@ -1183,6 +1183,7 @@ index 0000000..91223a0
+ reg8_write(client, 0x63, 0); /* disable overlap window */
+ reg8_write(client, 0x64, 0);
+ reg8_write(client, 0x0c, 0x89); /* enable HS/VS encoding, use D14/15 for HS/VS, invert VS */
++ reg8_write(client, 0x19, 0x0c); /* Drive HSTRAIL state for 120ns after the last payload bit */
+}
+
+static void max9286_max9271_gmsl_link_setup(struct i2c_client *client, int idx)