i am able to create 2 video nodes but able to access video 1 only, could you please give me some pointer in driver when I can look for /dev/v4l-subdevX linking and creation of /dev/videoX nodes.
because if I capture the data from the video1 with below configuration and able to dump the frame.
I tried to capture the frame from both nodes, whenever I request the video0 and video1
it separately sends the stream on and stream off for both.
Ideally virtual channel should work on single stream off and should be able to get the frames from both the node.
Is due to it link with dummy node, which is probed separately, like below logs?
I have defined the VC id in both ports configuration but I am not able to read this property in my i2c driver is possible to read the port configuration?
[ 10.645308] abcd1234 2-0039: probing abcd1234 v4l2 sensor
[ 10.645318] abcd1234 2-0039: Probing 0x39
[ 10.645358] abcd1234 2-0039: adi,use-vc: true
[ 10.645361] abcd1234 2-0039: No vc-id info: FFFF
[ 10.645365] abcd1234 2-0039: Read from the DTSI: Video Node: video1
[ 10.645374] abcd1234 2-0039: Reset-gpios not found -2
[ 10.651455] tegra-camrtc-capture-vi tegra-capture-vi: subdev abcd1234 2-0038 bound
[ 10.707400] abcd1234 2-0039: Detected abcd1234 sensor
[ 10.716853] abcd1234 2-0038: probing abcd1234 v4l2 sensor
[ 10.716859] abcd1234 2-0038: Probing 0x38
[ 10.717311] abcd1234 2-0038: adi,use-vc: true
[ 10.717316] abcd1234 2-0038: No vc-id info: FFFF
[ 10.717325] abcd1234 2-0038: Read from the DTSI: Video Node: video0
[ 10.717337] abcd1234 2-0038: Reset-gpios not found -2
[ 10.717612] debugfs: Directory ‘abcd1234_b’ with parent ‘/’ already present!
[ 10.718640] tegra-camrtc-capture-vi tegra-capture-vi: subdev abcd1234 2-0038 bound
I have defined the “vc-id” in port configuration, taken reference from the IMX390.
I do not use SerDes so as per the below ticket reference i did not add the “gmsl-link”
I am able to capture the frames from both video node (video0 and video1) separately.
I want to capture 2 streams from the same frame count but as this design will send the separate stream on/off command via subdev for both video nodes. it treats as separate node.
I am capturing using the v4l2-ctl utility, could you please help me here how i can get both stream from single request?
The functionality of virtual channel should capture the 2 streams from the single request.
So, is it possible if I remove the dummy node from the dts and create only one subdev.
From single subdev link 2 video nodes to capture the 2 channel frames from the single request control?
Sensor is sending the two image data in each channel for each frame count. but at host side currently with this approach, we are receiving the data like below (as serial)