We have 4× ISX031 cameras (1920×1536 YUV422 @ 30 fps) behind a MAX96712 deserializer, aggregated onto a single 4-lane D-PHY CSI-2 output on CSI Port A. At 1.5 Gbps/lane the link is ~94% utilised, so we want to raise the CSI-2 output rate.
Setup: Jetson AGX Thor Developer Kit, L4T R39.2.1, kernel 6.8.12-1021-rt-tegra. The deserializer driver is our own out-of-tree driver.
configured
MAX96712 CSI/PHY registers (rate encoding from the in-tree staging max96712.c: value = (Mbps / 100) | BIT(5)):
Verified on the board: register readback matches, all 4 GMSL links locked, and the RCE log confirms NVCSI is programmed to match — e.g. at 2.5 G: Lanes: 4, MIPI clock rate: 1250000 kHz, Physical rate: 2500000 Kbps.
MAX96712 rate
DT pix_clk_hz
Result
1.5 Gbps (0x2F)
375000000
Frames arrive but 100% are discarded: corr_err: discarding frame N, flags: 0, err_data 131072
2.0 Gbps (0x34)
500000000
No frames: uncorr_err: request timed out after 2500 ms
2.5 Gbps (0x39)
625000000
No frames: same uncorr_err timeout
Questions
Does NVCSI on Jetson AGX Thor support CSI-2 lane rates above 1.5 Gbps/lane, and what is the maximum supported rate per lane?
If it is supported, what configuration is required? We already match the device tree pix_clk_hz / serdes_pix_clk_hz to the target rate and NVCSI reports the corresponding Physical rate. Is anything else needed — additional device tree properties, D-PHY tuning, deskew, settle time, or calibration?
How should corr_err / err_data = 131072 (0x20000) be decoded? It appears on every frame at 1.5 Gbps. Is there a documented bit mapping, or a debugfs/sysfs interface exposing the underlying NVCSI error status?
We understand our deserializer driver is custom and out of scope for NVIDIA support — we are asking specifically about the Tegra/NVCSI/device-tree side.
While the output data rate > 1.5G need send deskew word.
Skew calibration is required if sensor or deserializer is using DPHY, and the output data rate is > 1.5Gbps.
An initiation deskew signal should be sent by sensor or deserializer to perform the skew calibration. If the deskew signals is not sent, the receiver will stall, and the capture will time out.
You can calculate the output data rate with the following equation:
Output data rate = (sensor or deserializer pixel clock in hertz) * (bits per pixel) / (number of CSI lanes)
MAX96712 also writes the PHY rate code (0x0418 etc.) — for 2.5 Gbps 0x39, and the alternate memory map 0x0933/0x0973/0x09B3/0x09F3 = 0x10.
Results (/dev/video0, one camera):
Lane rate
DT clocks
RCE Physical rate
RCE MIPI clock rate
corr_err
uncorr_err
Frames
1.5 G
375 MHz
1500000 Kbps
750 MHz
600 frames / 20 s, all discarded
0
0
2.0 G
500 MHz
2000000 Kbps
1000 MHz
0
timeout 2500 ms
0
2.5 G
625 MHz
2500000 Kbps
1250 MHz
0
timeout 2500 ms
0
1.5 Gbps: frames arrive at 30 fps but every frame is discarded — corr_err: discarding frame N, flags: 0, err_data 131072.
2.5 Gbps: identical result with all four pipe deskew registers and MAX96717 0x0331 enabled, with them disabled, and with the vendor PHY1-only sequence.
Present at all three rates: verify_rate_range: FMON_NVCSI: rate 5003892 below min 15000000, fmon_update_config: FMON_NVCSI: detected fault 0x80, CIL rate: 270000000 Hz.
Could you please advise where I should make changes to support CSI output above 1.5 Gbps — the GMSL driver configuration, the device tree, or another driver? Any guidance would be greatly appreciated. Thank you very much for your time and help.
In the kernel the internal error-recovery decode, data=0x00020000 is reported as PixelIncomplete, and the corresponding capture error is VI_SHORT_FRAME, meaning FE arrived before the normal number of pixels had appeared.
So the practical read is:
not a pure driver timeout by itself — this specific line says the incoming frame’s pixel payload was incomplete.
If it repeats, first check:
sensor/deserializer output is not truncating the frame,
active height / frame timing matches what VI expects,
embedded-line configuration is correct,
CSI source/link integrity is clean.
For the 2.5G trace log shows didn’t receive any data from the NVCSI/VI