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.

Video tvp5146

Other Parts Discussed in Thread: TVP5146, OMAP3530, TVP5151, AM3517

Hello,

I have OMAP3530 on Mistral board (REV G) with TVP5146.

My OS is Linux.

There are 2 kinds of drivers for this component: tvp514x-int and tvp514x (that uses the l4v2-subdev, as I understad).

When I try to use the subdev driver, I cannot find /dev/video0 device - Does anyone know why? How can I fix it?

I want to try this driver because on my custom board I have OMAP3530 with TVP5151. TVP5151 has only subdev driver.

 

Thanks,

Liat

 

  • Hi Liat,

    Since your kernel package consists of 2 separate driver files (tvp514x.c and tvp514x-int.c), I believe you must be using TI-PSP release package. When you say you tried to use sub-dev driver, is it on Mistral EVM? If yes, then there is not separate Kconfig option to choose between these two driver files, Makefile rules automatically selects the driver based on SoC.

    For AM3517, its tvp514x.c which is sub-dev framework.

    And for OMAP35x, its tvp514x-int.c, which is v4l2-int framework.

    ----------------drivers/media/video/Makefile---------------

    ifeq ($(CONFIG_MACH_OMAP3EVM),y)
    obj-$(CONFIG_VIDEO_TVP514X) += tvp514x-int.o
    else
    obj-$(CONFIG_VIDEO_TVP514X) += tvp514x.o
    endif

     

    If you are not getting /dev/video0 device node on Mistral EVM, then can you provide some further details like,

    - Which EVM version are you using?

    - Which kernel version you are using?

    - Is there any error message getting printed during bootup? Can you share your boot-log?

    - If not error messages, have you tried creating node manually? OR can you try removing /etc/dev.tar file and reboot the system?

     

    As far as your custom board is concerned, I believe it is again based out of OMAP3530. Considering this fact, it is currently not possible to use any sub-dev slave driver, since the ISP-Camera framework is still based on old V4L2-Int framework. You might need to convert your slave driver to V4L2-int or wait for next PSP release drop which will support Media-Controller framework.

    Google can help you to get more information on media-controller framework.

     

    Thanks,

    Vaibhav