I am trying to interface an AD7280M (MIPI) video grabber to an IMX7D. I have managed to get the driver initializing the ADV7280M on boot, but upon trying to perform any capture (imx-test utils) I get a VIDIOC_DBG_G_CHIP_IDENT error.
I have the ADV7280M configured in progressive test mode (non-interlaced).
If I run v4l2-dbg -l then I get:
ioctl: VIDIOC_DBG_G_REGISTER
00 04 08 0C 10 14 18 1C
ioctl: VIDIOC_DBG_G_REGISTER failed
: Inappropriate ioctl for device
00000000:
Within my driver, ioctl_dev_init() is never being called, but I don't understand what part of Linux should be calling this?
Is the VIDIOC_DBG_G_CHIP_IDENT error as a result of ioctl_dev_init() not being called?
or
Is ioctl_dev_init() not being called because of the cause of the VIDIOC_DBG_G_CHIP_IDENT error?
Any guidance/explanation would be appreciated.