From 20004171570acc1c28092884e7c377734d873dad Mon Sep 17 00:00:00 2001 From: Vladimir Barinov Date: Thu, 3 Aug 2017 04:24:44 +0300 Subject: 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. --- .../linux/linux-renesas/0030-Gen3-LVDS-cameras.patch | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'meta-rcar-gen3-adas/recipes-kernel') 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}, -- cgit 1.2.3-korg