MT9V115 Driver porting with imx8

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

MT9V115 Driver porting with imx8

747 Views
jebin
Contributor I

We have integrated MT9V115 into linux using Yocto

lenovo_a1_07_kernel/mt9v115.c at master · gmarkall/lenovo_a1_07_kernel · GitHub

We are getting the error while booting 

[ 1.820051] mt9v115 3-003d: no platform data?

 

DTSI:

/ {
clocks {
clk22m: clk@2 {
compatible = "fixed-clock";
#reg = <1>;
#clock-cells = <0>;
clock-frequency = <22000000>;
clock-output-names = "clk22m";
};
};

};

&i2c4 {
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c4>;
status = "okay";

mt9v115: mt9v115@3d {
compatible = "aptina,mt9v115";
reg = <0x3d>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_csi1>;
clocks = <&clk22m>;
port {
mt9v115_ep: endpoint {
remote-endpoint = <&mipi1_sensor_ep>;
};
};
};

};

Let us know, what is the reason of not detecting the driver ?

0 Kudos
Reply
2 Replies

734 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jebin

 

for "no platform data" one can check if camera driver present in proper linux sources as

described in sect.6.1.8 Source Code Structure and linux menu configuration in

sect.6.1.2 Omnivision Camera i.MX Linux Reference Manual​

use ov5640 drivers as example.

 

Best regards
igor

0 Kudos
Reply

689 Views
sanjeevmore
Contributor I

Hi,

Driver is detecting the device and getting below error while streaming/capturing.

[ 415.219594] mxc_mipi-csi 32e30000.mipi_csi: format not match

Share the procedure to test camera on imx8 board.

Regards,

Sanju

Tags (1)
0 Kudos
Reply