I’ve achieved to give grayscale support, by modifying the DT to the following, and applying the changes depicted in this post
mode_type = "raw";
pixel_phase = "y10";
And now v4l2-ctl --list-formats is showing the following:
nvidia@nvidia-desktop:~$ v4l2-ctl --list-formats
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'Y10 '
Name : 10-bit Greyscale
I’m still able to capture frames, although there is no way to stream it with gst-launch-1.0 v4l2src.