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.

TVP5151: Video Standard Detection taking 300ms on AutoSwitch Mode

Part Number: TVP5151
Other Parts Discussed in Thread: TVP5150

Hi,

I am trying to implement V4L2 - VIDIOC_QUERYSTD subdev call in TVP5151 driver.

I can see the tvp5151 driver is taking upto 300ms to update the TVP5150_STATUS_REG_5 with current video standard when an input switch between AIP1A and AIP1B happens.

Below is the working algorithm I am following to read current standard.

1. Set TVP5150_VIDEO_STD register with 0x00 to move to AutoSwitch Mode.

2. Wait 300ms.

3. Read TVP5150_STATUS_REG_5 to get currently detected Video Standard.

Since 300ms for every input switch is too high, Could you please let me know if there is any better way to achieve this?

Thanks & Regards,

Saijo