How to configure device tree for 2 HDMI inputs of hdmi2csi adapter

We have a customized hdmi2csi adapter which has two HDMI input.
1.The adapter output 1080p60/YUV422,CRC disabled video stream to CSI.
2.The adapter works normally on the other arm64 platform with CRC disable feature.
3.I use TX2 with R32.2.1, and patch the disabled CRC.(tx2 - Camera mipi timing and PXL_SOF - #9 by ShaneCCC)
4.I reference the dtsi (l4t-4.9-t18x-quill/tegra186-quill-p3310-1000-c03-00-base-hdmi2csi.dts at 6509ea9a0677063fac7e7936040cff6c47ddbcaa · InES-HPMM/l4t-4.9-t18x-quill · GitHub) for our adapter.
The adapter use 4 CSI lanes for each HDMI port, currently the I can get the video stream from first HDMI port, but get error from 2nd HDMI port.
4.1.dmesg : tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
4.2.VI trace log : rtos_queue_send_from_isr_failed: tstamp:22851057410 queue:0x0b4b1c18
5.The I2C addresses are 0x32,and 0x33 on bus-2(i2c@3180000)
N2
tegra186-quill-p3310-1000-c03-00-base.dts (12.2 KB)

The port-index in vi@ and nvcsi@ without problem.
But the csi_port was different for tc358840@33 is different with tc358840@32

		/* CSI Output */
		csi_port = <1>;		/* Enable TX0 only */

After changing L4T from r32.2.1 to r32.4.4, the configuration is working, thanks.

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