Camera driver integration on the Sabre Platform (i.MX 6Quad)

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

Camera driver integration on the Sabre Platform (i.MX 6Quad)

711 Views
bipinkumar
Contributor I

Actually we want to integrate our 3D camera driver to platform level on the Sabre platform (i.MX 6Quad). I have gone through the source code of the i.MX 6Quad. They have implemented MIPI CSI camera interface for transferring the image the data and the controling of the camera is done by using I2C. But our requirement is to implement the camera by using MIPI CSI for image transfer and controling the camera by using SPI. But i am not able to see the SPI driver on the platform level. 

So my basic query is that "Is it possible to integrate the camera driver with MIPI CSI as transfering the image and SPI for controling the camera on the Platform level".

0 Kudos
3 Replies

530 Views
Yuri
NXP Employee
NXP Employee

Hello,

  As for SPI support, please refer to "i.MX Linux Reference Manual", 

in particular - Chapter 36 [Enhanced Configurable Serial Peripheral Interface
(ECSPI) Driver] of the recent BSP doc.

< http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0-LINUX-DOCS

 

Summary page :

 

< http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.... >

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer

button. Thank you!

0 Kudos

530 Views
bipinkumar
Contributor I

Hi Yuri,

Thanks for your reply. What ever you told that is very basic SPI driver. But it is not on the platform level. Actually I want to integrate our camera driver on platform level (drivers/media/platform/mxc/capure). Like wise ov5640 / ov5642 series camera intergration is already there on the platform level. Similar kind of camera we want to integrate on this platform level. I am analysing that they have implemented MIPI CSI for camera interface for transferring the data and the controling and configuring of the camera is done by using I2C. But our requirement is to implement the camera by using MIPI CSI for data transfer and controling the camera by using SPI protocol, not by I2C. But i am not able to see the SPI driver on the platform level, not even a SPI wrapper function is available on the  platform level. So my query, is it possible to integrate the camera sensor using SPI as the controlling and configuring the sensor. How to proceed further.

0 Kudos

530 Views
Yuri
NXP Employee
NXP Employee

Hello,

   Looks like You need spidev

https://community.nxp.com/thread/317999 

Regards,

Yuri.

0 Kudos