Skip to content

[D18] add OV5640 CSI camera support

Gianfranco Mariotti requested to merge seco_lf-5.10.y-gm_d18_csi into seco_lf-5.10.y
* enabled at u-boot: seco_config tool CSI0, CSI1 peripherals
* on carrier B79: CSD18REVB + CSC47REVA + CSC19REVB (CSI CN39)
* Test details:
  root@seco-imx8mp-d18:~# dmesg | grep -i ov5640
  ...
  mx8-img-md: Registered sensor subdevice: ov5640 2-003c (1)
  mx8-img-md: Registered sensor subdevice: ov5640 1-003c (2)
  mx8-img-md: created link [ov5640 2-003c] => [mxc-mipi-csi2.0]
  mx8-img-md: created link [ov5640 1-003c] => [mxc-mipi-csi2.1]
  root@seco-imx8mp-d18:~# v4l2-ctl --list-devices
  ...
  mxc-isi-cap (platform:32e00000.isi:cap_devic):
    /dev/video2
  ...
  mxc-isi-cap (platform:32e02000.isi:cap_devic):
    /dev/video3
  ...
  root@seco-imx8mp-d18:~# gst-launch-1.0 -v v4l2src device=/dev/video2 ! waylandsink
  root@seco-imx8mp-d18:~# gst-launch-1.0 -v v4l2src device=/dev/video3 ! waylandsink
Edited by Gianfranco Mariotti

Merge request reports

Loading