summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-kernel
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-11-17 18:50:23 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-11-17 18:50:23 +0300
commitf94d6550a3b45d72c31e1bc88b73637ad19c318f (patch)
tree55771ec6157c31a7905e5125eea4a7d064a1c7ec /meta-rcar-gen3-adas/recipes-kernel
parentc37e3865684974af2c56a9bca5a4c9ca22d7bb19 (diff)
ov10640: fix flip position
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.patch9
1 files changed, 7 insertions, 2 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 96c1601..aca7198 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
@@ -4861,7 +4861,7 @@ new file mode 100644
index 0000000..d3290c7
--- /dev/null
+++ b/drivers/media/i2c/soc_camera/ov490_ov10640.h
-@@ -0,0 +1,88 @@
+@@ -0,0 +1,93 @@
+/*
+ * OmniVision ov490-ov10640 sensor camera wizard 1280x1080@30/UYVY/BT601/8bit
+ *
@@ -4941,7 +4941,6 @@ index 0000000..d3290c7
+{0xfffe, 0x80},
+{0x0081, 0x00}, // 03;SENSOR FSIN
+/* ov10640 FSIN */
-+{0xfffd, 0x80},
+{0xfffe, 0x19},
+{0x5000, 0x00},
+{0x5001, 0x30},
@@ -4949,6 +4948,12 @@ index 0000000..d3290c7
+{0x5003, 0xb2},
+{0xfffe, 0x80},
+{0x00c0, 0xc1},
++/* ov10640 HFLIP=1 by default */
++{0xfffe, 0x19},
++{0x5000, 0x01},
++{0x5001, 0x00},
++{0xfffe, 0x80},
++{0x00c0, 0xdc},
+};
diff --git a/drivers/media/i2c/soc_camera/ov495_ov2775.c b/drivers/media/i2c/soc_camera/ov495_ov2775.c
new file mode 100644