iMX8QM OV5640 5MP Camera Greenish Overlay

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX8QM OV5640 5MP Camera Greenish Overlay

1,051件の閲覧回数
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 件の賞賛
1 返信

792件の閲覧回数
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 件の賞賛