Hi,
while tesing the EVM board with tvp514x driver I've noticed that the "open" of "/dev/video0" fails when no input is connected. This also makes the call to DMAI's Capture_create and Capture_detectVideoStd.
I've traced this to "tvp514x_initialize" function that does basic initialization of video inputs. This function calls tvp514x_setinput and this function fails if no input is connected. So "tvp514x_initialize" fails too and following the chain the open to the video0 driver fails too. I'm not sure if this is the wanted behavior. I'm asking because in some project we cannot be sure if video input is actually connected and we cannot rely on v4l to know since open fails.
I can solve the problem by customizing the driver to create a char device I can rely on to know the video lock status through i2c, but is this the intended behavior of the v4l davinci driver or just a bug?