I’d like a definitive answer on whether 1-lane D-PHY reception on CSI-B (port-index=1) is supported on the Orin Nano Dev Kit (P3768-0000), or whether CAM0 effectively requires a 2-lane sensor.
Hardware
-
Jetson Orin Nano Dev Kit (P3768-0000 + P3767-0005-SUPER), L4T R36
-
ADV7282-M NTSC-to-MIPI bridge (1-lane D-PHY, discontinuous clock, 720×507 UYVY @ 30 fps)
-
ADV connected to J20 / CAM0
Device tree (relevant excerpt for the J20 sensor node)
adv7282-m@21 {
compatible = "adi,adv7282-m";
reg = <0x21>;
num_lanes = "1";
bus-width = <1>;
lane_polarity = "6";
discontinuous_clk = "yes";
cil_settletime = "0";
/* port-index = <1> on the endpoint, VI + NVCSI legs matched */
};
Endpoints: port-index = <1> on the ADV endpoint, the matching NVCSI channel@0 input, and the VI input. Standard cam_i2cmux topology.
Symptom on J20 (failing)
v4l2-ctl streams open, then watchdog trips at 2.5s with zero frames captured:
[176.347933] tegra-camrtc-capture-vi: uncorr_err: request timed out after 2500 ms
Trace summary (repeats continuously):
rtcpu_nvcsi_intr: GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000008
rtcpu_nvcsi_intr: CORRECTABLE_ERR type:PHY_INTR phy:0 cil:1 st:0 vc:0 status:0x00000008
capture_event_wdt: ts:...
Same sensor on J21 (working)
Same chain, moved to J21 / CAM1 with port-index = <2> and lane_polarity omitted (CSI-C, no module-level P/N swizzle). I get a clean 30 fps UYVY stream — ~22 MB / 8s, only intermittent corr_err: err_data 64/131072 frame discards. So the sensor, cable, and analog source are all good.
Questions
-
Is 1-lane CSI-B (port-index=1) D-PHY reception a supported configuration on Orin Nano, or does CAM0 require a 2-lane sensor?
-
If supported, is there a published reference DT for 1-lane CSI-B? (All the reference dtsi files I can find — IMX219, IMX477 — are 2-lane minimum on CSI-B.)
-
For 1-lane operation on CSI-B specifically, is
lane_polarity = "6"still the correct value, or does the bit interpretation differ from the 2-lane case?
Happy to attach full dmesg, trace, and the complete DT overlay on request.
Thanks.