IMX6 error binding ipu on vdic
From: Romain BEAL
Date: Wed May 22 2019 - 11:00:09 EST
Hi,
Tested on gateworks ventana and variscite dart platform :
Unable to bind ipu1_csi0 on ipu1_vdic AND ipu2_csi1 on ipu2_vdic.
Steps to reproduce on ventana board :
$ media_ctl -p
- entity 53: ipu1_csi0 (3 pads, 4 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev8
pad0: Sink
[fmt:UYVY8_2X8/640x480@1/30 field:none
colorspace:smpte170m xfer:709 ycbcr:601 quantization:lim-range
crop.bounds:(0,0)/640x480
crop:(0,0)/640x480
compose.bounds:(0,0)/640x480
compose:(0,0)/640x480]
<- "ipu1_csi0_mux":5 []
pad1: Source
[fmt:AYUV8_1X32/640x480@1/30 field:none
colorspace:smpte170m xfer:709 ycbcr:601 quantization:lim-range]
-> "ipu1_ic_prp":0 []
-> "ipu1_vdic":0 []
pad2: Source
[fmt:AYUV8_1X32/640x480@1/30 field:none
colorspace:smpte170m xfer:709 ycbcr:601 quantization:lim-range]
-> "ipu1_csi0 capture":0 []
- entity 1: ipu1_vdic (3 pads, 3 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Sink
[fmt:AYUV8_1X32/640x480@1/30 field:none
colorspace:smpte170m xfer:709 ycbcr:601 quantization:lim-range]
<- "ipu1_csi0":1 []
<- "ipu1_csi1":1 []
pad1: Sink
[fmt:UYVY8_2X8/640x480@1/30 field:none
colorspace:smpte170m xfer:709 ycbcr:601 quantization:lim-range]
pad2: Source
[fmt:AYUV8_1X32/640x480@1/60 field:none
colorspace:smpte170m xfer:709 ycbcr:601 quantization:lim-range]
-> "ipu1_ic_prp":0 []
$ media-ctl -l "'ipu1_csi0':1 -> 'ipu1_vdic':0[1]" -v
Opening media device /dev/media0
Enumerating entities
Found 19 entities
Enumerating pads and links
Setting up link 53:1 -> 1:0 [1]
Opening media device /dev/media0
media_setup_link: Unable to setup link (Invalid argument)
'ipu1_csi0':1 -> 'ipu1_vdic':0[1]
^
Unable to parse link: Invalid argument (22)
Others links works great.
The ipu -> vdic bind worked on 4.14
Is it a kernel bug?
---
Romain BEAL