Hello JerryChang,
Please find the binding results below:
> sds@sds-desktop:~$ media-ctl -pd /dev/media0
> 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]
Please find the real time trace log:
root@sds-desktop:/home/sds# cat /sys/kernel/debug/tracing/trace_pipe
gst-launch-1.0-9368 [000] .... 5101.000877: tegra_channel_close: vi-output, adv7604 30-0020
gst-launch-1.0-9368 [000] .... 5101.000949: tegra_channel_set_power: adv7604 30-0020 : 0x0
gst-launch-1.0-9368 [000] .... 5101.000953: tegra_channel_set_power: 150c0000.nvcsi--2 : 0x0
gst-launch-1.0-9368 [000] .... 5101.000958: csi_s_power: enable : 0x0
gst-launch-1.0-10356 [000] .... 5102.727617: tegra_channel_open: vi-output, adv7604 30-0020
gst-launch-1.0-10356 [000] .... 5102.728641: tegra_channel_set_power: adv7604 30-0020 : 0x1
gst-launch-1.0-10356 [000] .... 5102.728649: tegra_channel_set_power: 150c0000.nvcsi--2 : 0x1
gst-launch-1.0-10356 [000] .... 5102.728651: csi_s_power: enable : 0x1
gst-launch-1.0-10356 [000] .... 5102.730323: tegra_channel_close: vi-output, adv7604 30-0020
gst-launch-1.0-10356 [000] .... 5102.730333: tegra_channel_set_power: adv7604 30-0020 : 0x0
gst-launch-1.0-10356 [000] .... 5102.730333: tegra_channel_set_power: 150c0000.nvcsi--2 : 0x0
gst-launch-1.0-10356 [000] .... 5102.730334: csi_s_power: enable : 0x0
gst-launch-1.0-10356 [000] .... 5102.730621: tegra_channel_open: vi-output, adv7604 32-0020
gst-launch-1.0-10356 [000] .... 5102.730633: tegra_channel_set_power: adv7604 32-0020 : 0x1
gst-launch-1.0-10356 [000] .... 5102.730634: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x1
gst-launch-1.0-10356 [000] .... 5102.730635: csi_s_power: enable : 0x1
gst-launch-1.0-10356 [000] .... 5102.730661: tegra_channel_close: vi-output, adv7604 32-0020
gst-launch-1.0-10356 [000] .... 5102.730663: tegra_channel_set_power: adv7604 32-0020 : 0x0
gst-launch-1.0-10356 [000] .... 5102.730664: tegra_channel_set_power: 150c0000.nvcsi--1 : 0x0
gst-launch-1.0-10356 [000] .... 5102.730665: csi_s_power: enable : 0x0
gst-launch-1.0-10356 [004] .... 5102.747569: tegra_channel_open: vi-output, adv7604 30-0020
gst-launch-1.0-10356 [004] .... 5102.747586: tegra_channel_set_power: adv7604 30-0020 : 0x1
gst-launch-1.0-10356 [004] .... 5102.747591: tegra_channel_set_power: 150c0000.nvcsi--2 : 0x1
gst-launch-1.0-10356 [004] .... 5102.747593: csi_s_power: enable : 0x1
I am not able to understand which sensor stream-0 configuration you are talking about. Please explain in detail so that we can debug our problem easily.
Regards
Vikas