Camera RAW format support

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

Camera RAW format support

1,306 Views
yashavanthashet
Contributor V

Hi,

We are using i.MX8M custom board with Linux4.9.51_ga release.

We are using camera which supports only RAW format, we have ported driver for same keeping ov5640_mipi as reference.

But we are unable to set RAW format, only YUYV support we are able to do which our camera doesn't support.

Kindly let us know the procedure to change it to RAW format.

Thanks in advance,

Regards,

Yashavantha

3 Replies

951 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Currently, we do not have any guide of how to port a raw image sensor. However, if you can visualize your sensor on your devices at the kernel level. Probably the below guide can help, unfortunately, that guide was made by the image sensor that we support. Hopefully can help you.

https://www.nxp.com/docs/en/application-note/AN12187.pdf 

Best Regards,

Diego.

951 Views
yashavanthashet
Contributor V

Dear Deigo,

Thank you.

Also one more query, Is there any changes required for changing to data lanes to 4 other than below changes in dts.

                mipi_csi1_ep: endpoint {
                        remote-endpoint = <&imx230_0_ep>;
                        data-lanes = <1 2 3 4>;
                };

Thanks and regrads,

Yashavantha

0 Kudos
Reply

951 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Supposedly, how you are configuring the dtb should be enough. However, please be sure that your driver is working correctly.

Best Regards,

Diego.