Interpret debug trace log : PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000080

@ShaneCCC

Here is the log:

root@tegra-ubuntu:/home/tonbo# cat /sys/kernel/debug/tracing/trace 
# tracer: nop
#
# entries-in-buffer/entries-written: 24/24   #P:4
#
#                                _-----=> irqs-off
#                               / _----=> need-resched
#                              | / _---=> hardirq/softirq
#                              || / _--=> preempt-depth
#                              ||| /     delay
#           TASK-PID     CPU#  ||||   TIMESTAMP  FUNCTION
#              | |         |   ||||      |         |
     kworker/2:1-104     [002] ....   145.821036: rtcpu_vinotify_event: tstamp:5169720455 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:165415244832 data:0x759e300010000000
     kworker/2:1-104     [002] ....   145.821039: rtcpu_vinotify_event: tstamp:5169720613 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:165415251264 data:0x0000000031000001
     kworker/2:1-104     [002] ....   145.821039: rtcpu_vinotify_event: tstamp:5169720767 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:165415316832 data:0x759e2d0010000000
     kworker/2:1-104     [002] ....   145.821040: rtcpu_vinotify_event: tstamp:5169720901 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:165415323360 data:0x0000000031000002
     kworker/2:1-104     [002] ....   151.200758: rtcpu_vinotify_event: tstamp:5338451493 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:170820652544 data:0x759e300010000000
     kworker/2:1-104     [002] ....   151.200761: rtcpu_vinotify_event: tstamp:5338451640 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:170820695232 data:0x0000000031000001
     kworker/2:1-104     [002] ....   151.480736: rtcpu_vinotify_event: tstamp:5347131597 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:171097809856 data:0x759e2d0010000000
     kworker/2:1-104     [002] ....   151.480739: rtcpu_vinotify_event: tstamp:5347131736 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:171097853216 data:0x0000000031000002
     kworker/2:1-104     [002] ....   156.528499: rtcpu_vinotify_event: tstamp:5504468811 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:176141194880 data:0x759e300010000000
     kworker/2:1-104     [002] ....   156.528503: rtcpu_vinotify_event: tstamp:5504468951 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:176141237568 data:0x0000000031000001
     kworker/2:1-104     [002] ....   156.812496: rtcpu_vinotify_event: tstamp:5513691309 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:176423290464 data:0x759e2d0010000000
     kworker/2:1-104     [002] ....   156.812500: rtcpu_vinotify_event: tstamp:5513691449 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:176423333792 data:0x0000000031000002
     kworker/2:1-104     [002] ....   161.636323: rtcpu_vinotify_event: tstamp:5664517379 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:181260266368 data:0x759e300010000000
     kworker/2:1-104     [002] ....   161.636327: rtcpu_vinotify_event: tstamp:5664517526 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:181260309056 data:0x0000000031000001
     kworker/2:1-104     [002] ....   161.916295: rtcpu_vinotify_event: tstamp:5672646864 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:181524567008 data:0x759e2d0010000000
     kworker/2:1-104     [002] ....   161.916299: rtcpu_vinotify_event: tstamp:5672647003 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:181524610368 data:0x0000000031000002
     kworker/2:1-104     [002] ....   166.736095: rtcpu_vinotify_event: tstamp:5824404205 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:186379737280 data:0x759e300010000000
     kworker/2:1-104     [002] ....   166.736098: rtcpu_vinotify_event: tstamp:5824404342 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:186379780000 data:0x0000000031000001
     kworker/2:1-104     [002] ....   167.016080: rtcpu_vinotify_event: tstamp:5833627428 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:186659030080 data:0x759e2d0010000000
     kworker/2:1-104     [002] ....   167.016083: rtcpu_vinotify_event: tstamp:5833627566 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:186659073440 data:0x0000000031000002
     kworker/2:1-104     [002] ....   171.887934: rtcpu_vinotify_event: tstamp:5984454027 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:191498239584 data:0x759e300010000000
     kworker/2:1-104     [002] ....   171.887937: rtcpu_vinotify_event: tstamp:5984454171 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:191498282272 data:0x0000000031000001
     kworker/2:1-104     [002] ....   172.055924: rtcpu_vinotify_event: tstamp:5990963932 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:191703909728 data:0x759e2d0010000000
     kworker/2:1-104     [002] ....   172.055927: rtcpu_vinotify_event: tstamp:5990964071 cch:0 vi:1 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:191703953088 data:0x0000000031000002

WE observed that changing parameters while trying to ingest video on CSI 1, the trace log changes, but for CSI 3 it remains the same as above and there is no video dump.

Kindly assist.

Looks like NVCSI/VI didn’t receive any validate data from the MIPI bus.
Maybe confirm the port configuration then probe the signal.

Thanks