The MIPI signal P/N is reversed. How should the lane_polarity parameter in the device tree be set?

Hi,
The interface we are currently using is Thor’s CAM0, CAM1, in 4-lane mode. This corresponds to Thor in this way. CAM0–CSI_0_D0_N, CSI_0_D0_P, CSI_1_D0_N, CSI_1_D0_P, CAM1—CSI_2_D0_N, CSI_2_D0_N, CSI_3_D0_N, CSI_3_D0_P. However, all the MIPI pins on our side, including the clock pins, N and P, are actually reversed.
Could you please tell me how to modify the “lane_polarity” attribute in the device tree so that it can function properly?

Normal connection method

The current connection method


Is it okay to just set it to F?However, the P/N of my MIPI_CLK is also reversed. I have no idea how to set it.

hello wangyong10,

please refer to Jetson Thor Series Modules Interface Design Guide for checking [Figure 10-1. Camera CSI D-PHY Connections].
as you can see of property description, lane_polarity it configure only D0/D1 instead of clocks.

OK, thanks