iMX8QM OV5640 5MP Camera Greenish Overlay

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8QM OV5640 5MP Camera Greenish Overlay

1,045 Views
prashanthkumar
Contributor II

Hi,

In iMX8QM custom board with 4.14.98 Kernel BSP, we are facing Greenish overlay and captured image in OV5640 Camera with 'QSXGA_2592_1944' (5MP) resolution.

On other lower resolution like (1080p,720p) the camera overlay and capture is working fine.

The driver we are using is ,

drivers/media/platform/imx8/ov5640_mipi_v3.c

The DTS entry as below,

&mipi_csi_0 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";

port@0 {
reg = <0>;
mipi_csi0_ep: endpoint {
remote-endpoint = <&ov5640_mipi_ep>;
data-lanes = <1 2>;
};
};
};

&i2c0_mipi_csi0 {
#address-cells = <1>;
#size-cells = <0>;
clock-frequency = <400000>;
status = "okay";

ov5640_mipi: ov5640_mipi@3c {
compatible = "ovti,ov5640_mipi_v3";
reg = <0x3c>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mipi_csi0>;
clocks = <&clk IMX8QM_24MHZ>;
mclk = <24000000>;
mclk_source = <0>;
clock-names = "csi_mclk";
csi_id = <0>;
mipi_csi;
status = "okay";
port {
ov5640_mipi_ep: endpoint {
remote-endpoint = <&mipi_csi0_ep>;
};
};
};
};

Is there any kernel patch/workaround is available to fix this issue?

Note: The Greenish overlay captured image is attached along this post.

Best Regards,

Prashanth Kumar K

0 Kudos
1 Reply

786 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello prashant,

The OV5640 is supported on i.MX8M CSI controller/MIPI-CSI2/Parallel CSI, there is no patch because it works. maybe your modification change the driver protocol to download the streamer., but to be frankly you have not to.

regards

0 Kudos