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.