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.

Linux/TVP5146: How to enable VIN2-3-4 ports for multi analog cameras on jacinto6/JAMR3 boards (VIN1 port works)

Part Number: TVP5146
Other Parts Discussed in Thread: TVP5158

Tool/software: Linux


I'm trying to check multi Analog Cameras via Video input ports; currently the VIN1 port works fine and we can display camera output using android app.

But the other VINX port not detected or not enabled.

Also, by following the document BSP User Guide Texas Instruments DRA7xx (Jacinto 6 and Jacinto 6 Eco) EVM, but the VIN2-3-4 ports still not working.



Could you please help us how to enable the VIN2-3-4 Port ?


$ dmesg | grep vip                                                   
[    2.404815] vip 48970000.vip: loading firmware vpdma-1b8.bin
[    2.437949] vip 48970000.vip: VPDMA firmware loaded
[    5.571561] vip1-s0: Port A: Using subdev tvp5158 1-0058 for capture
[    5.578994] vip1-s0: device registered as video1
[    5.584492] vip1-s0: device registered as video2
[    5.589902] vip1-s0: device registered as video3
[    5.595434] vip1-s0: device registered as video4

dmesg | grep vpe                                                   
[    2.397726] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
[    2.415278] vpe 489d0000.vpe: Device registered as /dev/video0

$ ls /dev/video*                                                     
/dev/video0 /dev/video10 /dev/video2 /dev/video4
/dev/video1 /dev/video11 /dev/video3

  • Hello,

    The Linux driver supports multiple analog cameras, That's why you can see different V4L2 video devices getting registered.

    But the TI android camera HAL does not support multiple cameras.

    So right now, there is no easy way to get multiple cameras working in Android HAL


    Regards,

    Nikhil D