Aptina MT9P031 parallel sensor on linux-fslc-patches-3.18 driver problem.

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

Aptina MT9P031 parallel sensor on linux-fslc-patches-3.18 driver problem.

1,483 Views
andreismirnov
Contributor I

Hello. 

We have custom IMX6Q board based on SabreSD. We got latest kernel from freescale github (Freescale/linux-fslc · GitHub) and modified devicetree. Now we are trying to bring up Aptina MT9P031 using driver included with kernel. We made some modification in devicetree as follows:

mt9p031: camera@0x48 {
compatible = "aptina,mt9p031";
reg = <0x48>;
reset-gpios = <&gpio1 2 0>;
clocks = <&clks 201>;
clock-names = "csi_mclk";
status = "okay";
port {
mt9p031_1: endpoint {
bus-width = <8>;
input-clock-frequency = <25000000>;
pixel-clock-frequency = <96000000>;
};
};
};

We can communicate with device via i2c-2 bus with address 0x48. We have dedicated power and clocking source on sensor carrier board. We don't have to use pin-reset gpio because it is pulled up on camera carrier board.

And now we have a problem:

We got driver to be loaded without errors while kernel bootup but it does nothing (seems to be that it cannot create any device node).

Please help us to solve this issue.

Regards,

Andrei.

Labels (3)
Tags (1)
0 Kudos
Reply
1 Reply

734 Views
stefanogurrieri
Contributor II

Hello,

On our Linux Embedded System (based on iMX6 quad) we want to use the phyCAM-P camera module VM-011-COL (mt9p031).
Our BSP is based on the Linux version 4.1.15 We’ve seen the driver mt9p031 is present under Linux source code, but despite we are not able to use the camera. It seems a problem of registration during the boot phase. We see the message ERROR: v4l2 capture: slave not found!

It seems similar to your issue. Then, have you solved? And how?

Thanks a lot!

Stefano

0 Kudos
Reply