Add support for RK3588 VICAP unit
Add basic support for the RK3588 VICAP unit. This MR contains the RK3568 support (v10 in flight), the RK3588 extensions (patch series in preparation, should be only sent out once the RK3568 support has been merged), and the RK3588 MIPI CSI-2 DPHY extensions (v2 in flight).
Installation notes
The overlays for the Radxa 4K cams are not installed and activated yet. This needs work in hardware-enablement/rockchip-3588/debian-image-recipes.
Make sure that both rk3588-rock-5b-plus-radxa-cam4k-cam0.dtbo
and rk3588-rock-5b-plus-radxa-cam4k-cam1.dtbo
are available in loaded by the bootloader.
Usage notes
Configure the media pipeline with
media-ctl -d 0 --set-v4l2 '"rockchip-mipi-csi fdd30000.csi":0[fmt:SGBRG10_1X10/3864x2192 field:none colorspace:raw xfer:none]'
media-ctl -d 0 --set-v4l2 '"rkcif-mipi2":0[fmt:SGBRG10_1X10/3864x2192 field:none colorspace:raw xfer:none]'
media-ctl -d 0 --set-v4l2 '"rockchip-mipi-csi fdd50000.csi":0[fmt:SGBRG10_1X10/3864x2192 field:none colorspace:raw xfer:none]'
media-ctl -d 0 --set-v4l2 '"rkcif-mipi4":0[fmt:SGBRG10_1X10/3864x2192 field:none colorspace:raw xfer:none]'
then start a GStreamer pipeline such as
gst-launch-1.0 v4l2src device=/dev/v4l/by-path/platform-fdce0000.video-capture-video-index0 ! video/x-bayer,format=gbrg10le,width=3864,height=2192 ! bayer2rgb ! kmssink
gst-launch-1.0 v4l2src device=/dev/v4l/by-path/platform-fdce0000.video-capture-video-index4 ! video/x-bayer,format=gbrg10le,width=3864,height=2192 ! bayer2rgb ! kmssink
Edited by Michael Riesch