Hi igorpadykov,
I have already put your patch to my kernel. But when I build the adv7180 driver , I found that there is no definition of "enum_framesizes",''enum_frameintervals" and "g_std" in the "static struct v4l2_subdev_video_ops " and "static struct v4l2_subdev_core_ops " struct. So I remove these three member variable, and the driver can be complied by.
I used the file "mx6s_v4l2_capture.c" to test ,and the camera have some problem. I don't know whether the driver i removed may lead to this problem. I can detect the adv7181 device and the adv7181's output data also have signal.
Here is the test result.
root@imx6ulevk:~# ./camera_test -ow 320 -oh 240 -m 1 -d /dev/video0
Found v4l2 capture device /dev/viadv7180_s_parm: enter adv7180_s_parm
deo0.
pixelformat (output by camera): UYVY
get capture mode 1 framesize failed
Best regards
Jun