Does Thor Support P/N Swapping on CSI D-PHY Lanes via Software-Configurable Pin Mapping?

According to the Thor Design Guide, the mapping between the internal CSI C-PHY signals and the external Thor pins is programmable.

For D-PHY, if a 2-lane configuration is used, can one lane have its P and N signals swapped, as shown in the figure below, and still function correctly by configuring the pin mapping in software? Or is P/N swapping not supported for D-PHY lanes?

Checking internally.

Will get back to you once I have the answer.

hello jeonghong0.lee,

you may see-also Topic 355911 for reference. you may use lane_polarity device tree property to control D0/D1.
in general, you should have below device tree settings for configure CSI4 D1 P/N swap.
for instance,

mode0 {
      num_lanes = "2";
      tegra_sinterface = "serial_e";
      lane_polarity = "2"; /* CSI4 D1 P/N swapped */
  };