VI hasn't found active link

Hi JerryChang,

Thank you for your kind help.

Problem get resolved now after understanding the Port bindings and verify the port binding results concept. Actually in my device 7 pads is there: 6 sink pad and one source pad. I initialized the 7 ports for every pads and node is getting created now without any panic.

Note: My system is having dual channel video mechanism so do not get confused with multiple entity.

Please find the media device information:

*Media controller API version 0.1.0

Media device information

driver tegra-vi4
model NVIDIA Tegra Video Input Device
serial
bus info
hw revision 0x3
driver version 0.0.0

Device topology

  • entity 1: 150c0000.nvcsi–2 (2 pads, 2 links)
    type V4L2 subdev subtype Unknown flags 0
    device node name /dev/v4l-subdev0
    pad0: Sink
    ← “adv7604 30-0020”:6 [ENABLED]
    pad1: Source
    → “vi-output, adv7604 30-0020”:0 [ENABLED]

  • entity 4: adv7604 30-0020 (7 pads, 1 link)
    type V4L2 subdev subtype Unknown flags 0
    device node name /dev/v4l-subdev1
    pad0: Sink
    [dv.caps:BT.656/1120 min:0x0@25000000 max:1920x1200@225000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
    pad1: Sink
    [dv.caps:BT.656/1120 min:0x0@25000000 max:1920x1200@225000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
    pad2: Sink
    [dv.caps:BT.656/1120 min:0x0@25000000 max:1920x1200@225000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
    pad3: Sink
    [dv.caps:BT.656/1120 min:0x0@25000000 max:1920x1200@225000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
    pad4: Sink
    [dv.caps:BT.656/1120 min:0x0@25000000 max:1920x1200@225000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
    pad5: Sink
    [dv.caps:BT.656/1120 min:0x0@25000000 max:1920x1200@225000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
    pad6: Source
    [fmt:RGB888_1X24/1600x1200 field:none colorspace:srgb
    crop.bounds:(0,0)/1600x1200
    crop:(0,0)/1600x1200]
    [dv.caps:BT.656/1120 min:0x0@25000000 max:1920x1200@225000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
    [dv.query:no-link]
    [dv.current:BT.656/1120 1600x1200p60 (2160x1250) stds:DMT flags:]
    → “150c0000.nvcsi–2”:0 [ENABLED]

  • entity 12: vi-output, adv7604 30-0020 (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video0
    pad0: Sink
    ← “150c0000.nvcsi–2”:1 [ENABLED]

  • entity 24: 150c0000.nvcsi–1 (2 pads, 2 links)
    type V4L2 subdev subtype Unknown flags 0
    device node name /dev/v4l-subdev2
    pad0: Sink
    ← “adv7604 32-0020”:6 [ENABLED]
    pad1: Source
    → “vi-output, adv7604 32-0020”:0 [ENABLED]

  • entity 27: adv7604 32-0020 (7 pads, 1 link)
    type V4L2 subdev subtype Unknown flags 0
    device node name /dev/v4l-subdev3
    pad0: Sink
    [dv.caps:BT.656/1120 min:0x0@25000000 max:1920x1200@225000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
    pad1: Sink
    [dv.caps:BT.656/1120 min:0x0@25000000 max:1920x1200@225000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
    pad2: Sink
    [dv.caps:BT.656/1120 min:0x0@25000000 max:1920x1200@225000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
    pad3: Sink
    [dv.caps:BT.656/1120 min:0x0@25000000 max:1920x1200@225000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
    pad4: Sink
    [dv.caps:BT.656/1120 min:0x0@25000000 max:1920x1200@225000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
    pad5: Sink
    [dv.caps:BT.656/1120 min:0x0@25000000 max:1920x1200@225000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
    pad6: Source
    [fmt:RGB888_1X24/1600x1200 field:none colorspace:srgb
    crop.bounds:(0,0)/1600x1200
    crop:(0,0)/1600x1200]
    [dv.caps:BT.656/1120 min:0x0@25000000 max:1920x1200@225000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
    [dv.query:no-link]
    [dv.current:BT.656/1120 1600x1200p60 (2160x1250) stds:DMT flags:]
    → “150c0000.nvcsi–1”:0 [ENABLED]

  • entity 35: vi-output, adv7604 32-0020 (1 pad, 1 link)
    type Node subtype V4L flags 0
    device node name /dev/video1
    pad0: Sink
    ← “150c0000.nvcsi–1”:1 [ENABLED]

You can refer my device tree: tegra186-tx2-ADV7604-2CAM_updated.txt (9.3 KB)