gm all, was looking for some documentation on v4l2 subdevices, pads/entities etc, how they are connected, what tools to use to access and connect them, etc . Any good link is welcome
angelo_ts: I assume you've read the MV and V4L2 specs ?
s/MV/MC/
pinchartl, hmm, do you mean https://www.linuxtv.org/downloads/legacy/video4linux/API/V4L2_API/spec/ ? there are more sources arounf
no, that's ancient
https://www.linuxtv.org/downloads/v4l-dvb-apis-new/index.html
pinchartl, great thanks
about tools to use to access mc and v4l2 devices, what do you suggest ?
media-ctl, v4l2-ctl, yavta, qv4l2
pinchartl, many thanks
afayk, is it possible imx8 (freescale) needs some special tool for camera streaming, or in theory, the above tool are enough ?
(i mean just to test some captured frames)
if the driver implements the MC and V4L2 API, that should be all you need
imx8 is pretty new, where's the camera driver ?
i am on imx8qm, in the kernel they deliver (modified 4.9.51) it has a camera driver into linux-imx8/drivers/media/platform/imx8/mxc-isi-cap.c. Inside this driver btw, there is an hard link to the max9286 driver they deliver, so probably i cannot use the camera driver to capture
ouch
is there a public git tree somewhere ?
yes
https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/platform/imx8/mxc-isi-cap.c?h=imx_4.9.51_imx8m_ga
there seems to be an harcoded link to max9286, as sd = mxc_isi_get_subdev_by_name(v4l2_dev, "max9286_mipi");
angelo_ts: good luck :-/
generally speaking, out-of-tree vendor drivers are at best barely usable
they are usable if you are using the exact same setup that the driver was developed for and your application has the same requirements as the application that was used to test the driver ;)