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.

Activating camera input on the DM37x eval board

Other Parts Discussed in Thread: TVP5146

I don't know how to select my on board LI module camera as input (instead of the default TVP5146).

I've seen in the documentation that GPIO 157 needs to be low.  And I've also been able to force this line low via /sys/class/gpio/gpio157.

However, VIDIOC_ENUMINPUT always comes back with only COMPOSITE & S_VIDEO.

Looking in the omap34xxcam driver, I see that vdev->vdev_sensor_mode must be 0 for camera to be enabled.  For some reason it's not.

I want to be able to dynamically switch between TVP5146 and on board camera as video input.  Does anyone know how to do this?

  • Just a thought. In dm36x/355, we have a scenario that either tvp514x or sensor can be active. Not both. Depending on boot args set, either one of them will be active. In dm36x/dm355 its 'vpfe_capture.interface=1' for selecting camera. you might want to check any such limitation is there for platform you are working on.