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.

ipnc-rdk的视频解码驱动在kernel,mcfw和hdvpss三个路径都存在,该实现哪一个?

Other Parts Discussed in Thread: TVP5150, TVP5158

ipnc-rdk开发包中实现了部分视频解码芯片的驱动,如在

ipnc\Source\ti_tools\ipnc_psp_arago\kernel\drivers\media\video中实现了tvp5150的驱动,

而在ipnc\Source\ipnc_rdk\ipnc_mcfw\mcfw\src_linux\devices

和ipn\Source\ti_tools\hdvpss_01_00_01_37\packages\ti\psp\devices则实现了tvp5158的驱动。

分析代码,个人理解kerne中的驱动是基于V4L2接口的,hdvpss中的驱动是基于FVID2接口的,而mcfw中的驱动则供mcfw应用程序直接调用。

现在想请教的问题是:

1)这三种驱动方式,是否在linux内核中都对应有/dev/videoX设备节点?

2)对于DM8127芯片,应用程序是基于mcfw的multich_usecase的情况,如果要添加一款gv7601的驱动,那么应该在mcfw中还是hdvpss中添加驱动代码?

3)如果是在mcfw和hdvpss中都要实现,那么两者的驱动代码除了函数名有区别,功能实现的代码是否要保持一致?

谢谢!