MIPI 4 lane CSI-0 and CSI-2 can't get video on Orin NX

Our FPGA output 2 channel (MIPI 4 lanes) to Orin NX CSI-0, CSI-2 on our Orin NX customer board.

Orin NX can’t video0 and video1 by bus-width=<4>.

fpga_a@32 {
  port-index = <0>;
  bus-width = <4>;
  tegra_sinterface = "serial_a";
  lane_polarity = "6";
}

fpga_b@44 {
  port-index = <2>;
  bus-width = <4>;
  tegra_sinterface = "serial_c";
  lane_polarity = "0";
}

But we try configure FPGA to output 2 channel (MIPI 2 lanes) to Orin NX CSI-0, CSI-2.
Orin NX could get video-0 and video-1 by bus-width=<2>.

fpga_a@32 {
  port-index = <0>;
  bus-width = <2>;
  tegra_sinterface = "serial_a";
  lane_polarity = "6";
}

fpga_b@44 {
  port-index = <2>;
  bus-width = <2>;
  tegra_sinterface = "serial_c";
  lane_polarity = "0";
}

May I to know how to get MIPI 4 lanes on Orin NX?
How to narrow down the issue?

Please check the trace log to check if any clue.

BringUp

If I send below /nvcsi/mrq_rate_locked=1 command, and Orin NX will get MIPI 4 lanes x2ch video ok.
echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/mrq_rate_locked

If I don’t send /nvcsi/mrq_rate_locked=1 command after Orin NX power on, and it will can’t get MIPI 4 lanes x2ch video.
May I to know why?

That could be the pix_clk_hz/serdes_pix_clk_hz too small to acquire the NVCSI/VI bandwidth.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.