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 ?
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
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