This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6548: V4L2 camera driver

Part Number: AM6548

Hi,

I'm working on a V4l2 driver for a MIPI camera to work on the AM65X platform using kernel 4.19.38 and I have some questions:

1. Do you have like a developer's guide in order to create V4l2 drivers for this platform?

2. Do you have a V4l2 driver that it's already working and tested on the AM65X? Can you share the reference?

3. Do we need to developed the driver using The Camera Adaptation Layer is designed (CAL)?

4. Is CAL support Media Controller?

5. Is there any other different software to control the capture subsystem than CAL (using Media Controller)? 

Thanks,

-Enrique

  • Hi,
    You query has been assigned to a TI engineer. Please note that response may be delayed due to Christmas and New Year holidays.
  • Enrique Ramirez1 said:
    1. Do you have like a developer's guide in order to create V4l2 drivers for this platform?

    Please refer to this document 

    Enrique Ramirez1 said:
    2. Do you have a V4l2 driver that it's already working and tested on the AM65X? Can you share the reference?

    Yes, the v4l2 CAL driver is already supported for AM654x device. Above document hasn't been updated to add AM654x device to the list but the content is applicable for the driver on this device. Regarding the sensor driver,  you can refer to ov5640 sensor driver to work with CAL. 

    Enrique Ramirez1 said:
    3. Do we need to developed the driver using The Camera Adaptation Layer is designed (CAL)?

    Please refer to the document 

    Enrique Ramirez1 said:
    4. Is CAL support Media Controller?

    It doesn't support media controller

  • Hi,

    Thanks for your answers.

    It seems that the documentation is not very updated.

    Reviewing the ov5640 driver I found media controller definitions so I'm confused. If CAL do not support media controller, why the ov5640 driver has media controller definitions?

    Do you have a this sensor (ov5640) working on the AM654x?

    -Enrique

  • Hi Enrique, 

    The CAL driver documentation is updated now. 

    ov5640 driver is from open source kernel and might be getting used with other CSI-2 drivers that support media controller. The CAL driver in AM654x device doesn't support media controller and hence having the support on the sensor driver won't make difference. 

    Regards,

    Manisha