Hdmitomipi ,v4l2-ctl report error

hi ,all
We need to use NX core board to develop a system with one camera,we use a HDMI2MIPI chip(lt6911uxc) that output mipi-cs2 signal. camera connects CSI0 with 2 lane.
our L4T version is 32.6.1. I find in BSP source has a LT6911UXC driver,( Linux_for_Tegra/source/public/kernel/nvidia/drivers/media/i2c/lt6911uxc.c ),so I modify DTS(tegra194-camera-e2832.dtsi),
now when I use command “v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RGB --set-ctrl bypass_mode=0 --stream-mmap=3 --stream-count=100” to capture vidio ,system
report error "tegra194-vi5 15c10000.vi: vi_capture_setup: control failed, errno 2
[40394.029770] tegra194-vi5 15c10000.vi: vi capture setup failed "
I find errno 2 in capture.c ,so What does this error represent and how to check it?

Get the trace log to check if can get more clue.

v4l2-ctl --all
Driver Info (not using libv4l2):
Driver name : tegra-video
Card type : vi-output, lt6911uxc 1-002b
Bus info : platform:15c10000.vi:0
Driver version: 4.9.253
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 0: ok)
Format Video Capture:
Width/Height : 1920/1080
Pixel Format : ‘AR24’
Field : None
Bytes per Line : 7680
Size Image : 8294400
Colorspace : sRGB
Transfer Function : Default (maps to sRGB)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Full Range)
Flags :

Camera Controls

       sensor_configuration 0x009a2032 (u32)    : min=0 max=0 step=0 default=0 flags=read-only, volatile, has-payload
     sensor_mode_i2c_packet 0x009a2033 (u32)    : min=0 max=0 step=0 default=0 flags=read-only, volatile, has-payload
  sensor_control_i2c_packet 0x009a2034 (u32)    : min=0 max=0 step=0 default=0 flags=read-only, volatile, has-payload
                bypass_mode 0x009a2064 (intmenu): min=0 max=1 default=0 value=0
            override_enable 0x009a2065 (intmenu): min=0 max=1 default=0 value=0
               height_align 0x009a2066 (int)    : min=1 max=16 step=1 default=1 value=1
                 size_align 0x009a2067 (intmenu): min=0 max=2 default=0 value=0
           write_isp_format 0x009a2068 (int)    : min=1 max=1 step=1 default=1 value=1
   sensor_signal_properties 0x009a2069 (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
    sensor_image_properties 0x009a206a (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
  sensor_control_properties 0x009a206b (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
          sensor_dv_timings 0x009a206c (u32)    : min=0 max=0 step=0 default=0 flags=read-only, has-payload
           low_latency_mode 0x009a206d (bool)   : default=0 value=0
           preferred_stride 0x009a206e (int)    : min=0 max=65535 step=1 default=0 value=0
               sensor_modes 0x009a2082 (int)    : min=0 max=30 step=1 default=30 value=3 flags=read-only

I modified tegra194-camera-e2832.dtsi:
/ {
host1x {
vi@15c10000 {
num-channels = <1>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
e2832_vi_in0: endpoint {
port-index = <0>;
bus-width = <2>;
remote-endpoint = <&e2832_csi_out0>;
};
};
};
};

	nvcsi@15a00000 {
		num-channels = <1>;
		#address-cells = <1>;
		#size-cells = <0>;
		channel@0 {
			reg = <0>;
			ports {
				#address-cells = <1>;
				#size-cells = <0>;
				port@0 {
					reg = <0>;
					e2832_csi_in0: endpoint@0 {
						port-index = <0>;
						bus-width = <2>;
						remote-endpoint = <&e2832_out0>;
					};
				};
				port@1 {
					reg = <1>;
					e2832_csi_out0: endpoint@1 {
						remote-endpoint = <&e2832_vi_in0>;
					};
				};
			};
		};
	};
};

i2c@c240000 {
e2832@2b {
compatible = “nvidia,lt6911uxc”;
/* I2C device address */
reg = <0x2b>;

		/* V4L2 device node location */
		devnode = "video0";
    	reset-gpios = <&tegra_aon_gpio TEGRA194_AON_GPIO(CC, 1) GPIO_ACTIVE_HIGH>;	
	/* Physical dimensions of sensor */
		physical_w = "3.674";
		physical_h = "2.738";

		sensor_model = "e2832";

		/* Define any required hw resources needed by driver */
		/* ie. clocks, io pins, power sources */
	/*	avdd-reg = "vana";
		iovdd-reg = "vif";
		dvdd-reg = "vdig";
	*/
		/* Defines number of frames to be dropped by driver internally after applying */
		/* sensor crop settings. Some sensors send corrupt frames after applying */
		/* crop co-ordinates */
		/*post_crop_frame_drop = "0";*/

		/**
		* ==== Modes ====
		* A modeX node is required to support v4l2 driver
		* implementation with NVIDIA camera software stack
		*
		* == Signal properties ==
		*
		* phy_mode = "";
		* PHY mode used by the MIPI lanes for this device
		*
		* tegra_sinterface = "";
		* CSI Serial interface connected to tegra
		* Incase of virtual HW devices, use virtual
		* For SW emulated devices, use host
		*
		* pix_clk_hz = "";
		* Sensor pixel clock used for calculations like exposure and framerate
		*
		* readout_orientation = "0";
		* Based on camera module orientation.
		* Only change readout_orientation if you specifically
		* Program a different readout order for this mode
		*
		* == Image format Properties ==
		*
		* active_w = "";
		* Pixel active region width
		*
		* active_h = "";
		* Pixel active region height
		*
		* pixel_t = "";
		* The sensor readout pixel pattern
		*
		* line_length = "";
		* Pixel line length (width) for sensor mode.
		*
		* == Source Control Settings ==
		*
		* Gain factor used to convert fixed point integer to float
		* Gain range [min_gain/gain_factor, max_gain/gain_factor]
		* Gain step [step_gain/gain_factor is the smallest step that can be configured]
		* Default gain [Default gain to be initialized for the control.
                                 *     use min_gain_val as default for optimal results]
		* Framerate factor used to convert fixed point integer to float
		* Framerate range [min_framerate/framerate_factor, max_framerate/framerate_factor]
		* Framerate step [step_framerate/framerate_factor is the smallest step that can be configured]
		* Default Framerate [Default framerate to be initialized for the control.
                                 *     use max_framerate to get required performance]
		* Exposure factor used to convert fixed point integer to float
		* For convenience use 1 sec = 1000000us as conversion factor
		* Exposure range [min_exp_time/exposure_factor, max_exp_time/exposure_factor]
		* Exposure step [step_exp_time/exposure_factor is the smallest step that can be configured]
		* Default Exposure Time [Default exposure to be initialized for the control.
                                 *     Set default exposure based on the default_framerate for optimal exposure settings]
		* For convenience use 1 sec = 1000000us as conversion factor
		*
		* gain_factor = ""; (integer factor used for floating to fixed point conversion)
		* min_gain_val = ""; (ceil to integer)
		* max_gain_val = ""; (ceil to integer)
		* step_gain_val = ""; (ceil to integer)
		* default_gain = ""; (ceil to integer)
		* Gain limits for mode
		*
		* exposure_factor = ""; (integer factor used for floating to fixed point conversion)
		* min_exp_time = ""; (ceil to integer)
		* max_exp_time = ""; (ceil to integer)
		* step_exp_time = ""; (ceil to integer)
		* default_exp_time = ""; (ceil to integer)
		* Exposure Time limits for mode (sec)
		*
		* framerate_factor = ""; (integer factor used for floating to fixed point conversion)
		* min_framerate = ""; (ceil to integer)
		* max_framerate = ""; (ceil to integer)
		* step_framerate = ""; (ceil to integer)
		* default_framerate = ""; (ceil to integer)
		* Framerate limits for mode (fps)
		*
		* embedded_metadata_height = "";
		* Sensor embedded metadata height in units of rows.
		* If sensor does not support embedded metadata value should be 0.

		* num_of_exposure = "";
		* Digital overlap(Dol) frames
		*
		* num_of_ignored_lines = "";
		* Used for cropping, eg. OB lines + Ignored area of effective pixel lines
		*
		* num_of_lines_offset_0 = "";
		* Used for cropping, vertical blanking in front of short exposure data
		* If more Dol frames are used, it can be extended, eg. num_of_lines_offset_1
		*
		* num_of_ignored_pixels = "";
		* Used for cropping, The length of line info(pixels)
		*
		* num_of_left_margin_pixels = "";
		* Used for cropping, the size of the left edge margin before
		* the active pixel area (after ignored pixels)
		*
		* num_of_right_margin_pixels = "";
		* Used for cropping, the size of the right edge margin after
		* the active pixel area
		*
		*/

		mode0 { // E2832_1920x1080_60Fps
			mclk_khz = "24000";
			num_lanes = "2";
			tegra_sinterface = "serial_a";
			phy_mode = "DPHY";
			discontinuous_clk = "yes";
			dpcm_enable = "false";
			cil_settletime = "0";

			active_w = "1920";
			active_h = "1080";
			mode_type = "rgb";
			pixel_phase = "rgb888";
			csi_pixel_bit_depth = "24";
			readout_orientation = "0";
			line_length = "1920";
			inherent_gain = "1";
			mclk_multiplier = "24";
			pix_clk_hz = "576000000";

			gain_factor = "16";
			framerate_factor = "1000000";
			exposure_factor = "1000000";
			min_gain_val = "16"; /* 1.00x */
			max_gain_val = "170"; /* 10.66x */
			step_gain_val = "1";
			default_gain = "16"; /* 1.00x */
			min_hdr_ratio = "1";
			max_hdr_ratio = "1";
			min_framerate = "2000000"; /* 2.0 fps */
			max_framerate = "60000000"; /* 60.0 fps */
			step_framerate = "1";
			default_framerate = "60000000"; /* 60.0 fps */
			min_exp_time = "13"; /* us */
			max_exp_time = "683709"; /* us */
			step_exp_time = "1";
			default_exp_time = "16667"; /* us  */
		};
		mode1 { // E2832_3840x2160
			mclk_khz = "24000";
			num_lanes = "8";
			tegra_sinterface = "serial_a";
			phy_mode = "DPHY";
			discontinuous_clk = "yes";
			dpcm_enable = "false";
			cil_settletime = "0";

			active_w = "3840";
			active_h = "2160";
			mode_type = "rgb";
			pixel_phase = "rgb888";
			csi_pixel_bit_depth = "24";
			readout_orientation = "0";
			line_length = "3840";
			inherent_gain = "1";
			mclk_multiplier = "24";
			pix_clk_hz = "576000000";

			gain_factor = "16";
			framerate_factor = "1000000";
			exposure_factor = "1000000";
			min_gain_val = "16"; /* 1.00x */
			max_gain_val = "170"; /* 10.66x */
			step_gain_val = "1";
			default_gain = "16"; /* 1.00x */
			min_hdr_ratio = "1";
			max_hdr_ratio = "1";
			min_framerate = "2000000"; /* 2.0 fps */
			max_framerate = "60000000"; /* 60.0 fps */
			step_framerate = "1";
			default_framerate = "60000000"; /* 60.0 fps */
			min_exp_time = "13"; /* us */
			max_exp_time = "683709"; /* us */
			step_exp_time = "1";
			default_exp_time = "16667"; /* us  */
		};
		mode2 { // E2832_1280x720_60Fps
			mclk_khz = "24000";
			num_lanes = "4";
			tegra_sinterface = "serial_a";
			phy_mode = "DPHY";
			discontinuous_clk = "yes";
			dpcm_enable = "false";
			cil_settletime = "0";

			active_w = "1280";
			active_h = "720";
			mode_type = "rgb";
			pixel_phase = "rgb888";
			csi_pixel_bit_depth = "24";
			readout_orientation = "0";
			line_length = "1280";
			inherent_gain = "1";
			mclk_multiplier = "24";
			pix_clk_hz = "576000000";

			gain_factor = "16";
			framerate_factor = "1000000";
			exposure_factor = "1000000";
			min_gain_val = "16"; /* 1.00x */
			max_gain_val = "170"; /* 10.66x */
			step_gain_val = "1";
			default_gain = "16"; /* 1.00x */
			min_hdr_ratio = "1";
			max_hdr_ratio = "1";
			min_framerate = "2000000"; /* 2.0 fps */
			max_framerate = "60000000"; /* 60.0 fps */
			step_framerate = "1";
			default_framerate = "60000000"; /* 60.0 fps */
			min_exp_time = "13"; /* us */
			max_exp_time = "683709"; /* us */
			step_exp_time = "1";
			default_exp_time = "16667"; /* us  */
		};

		ports {
			#address-cells = <1>;
			#size-cells = <0>;
			port@0 {
				reg = <0>;
				e2832_out0: endpoint {
					port-index = <0>;
					bus-width = <2>;
					remote-endpoint = <&e2832_csi_in0>;
				};
			};
		};
	};
};

};

/ {

egra-camera-platform {
	compatible = "nvidia, tegra-camera-platform";
	/**
	* Physical settings to calculate max ISO BW
	*
	* num_csi_lanes = <>;
	* Total number of CSI lanes when all cameras are active
	*
	* max_lane_speed = <>;
	* Max lane speed in Kbit/s
	*
	* min_bits_per_pixel = <>;
	* Min bits per pixel
	*
	* vi_peak_byte_per_pixel = <>;
	* Max byte per pixel for the VI ISO case
	*
	* vi_bw_margin_pct = <>;
	* Vi bandwidth margin in percentage
	*
	* max_pixel_rate = <>;
	* Max pixel rate in Kpixel/s for the ISP ISO case
	*
	* isp_peak_byte_per_pixel = <>;
	* Max byte per pixel for the ISP ISO case
	*
	* isp_bw_margin_pct = <>;
	* Isp bandwidth margin in percentage
	*/
	num_csi_lanes = <2>;
	max_lane_speed = <1500000>;
	min_bits_per_pixel = <10>;
	vi_peak_byte_per_pixel = <2>;
	vi_bw_margin_pct = <25>;
	max_pixel_rate = <750000>;
	isp_peak_byte_per_pixel = <5>;
	isp_bw_margin_pct = <25>;

	/**
	 * The general guideline for naming badge_info contains 3 parts, and is as follows,
	 * The first part is the camera_board_id for the module; if the module is in a FFD
	 * platform, then use the platform name for this part.
	 * The second part contains the position of the module, ex. "rear" or "front".
	 * The third part contains the last 6 characters of a part number which is found
	 * in the module's specsheet from the vender.
	 */
	modules {
		module0 {
			badge = "e2832_ltx6911";
			position = "bottom";
			orientation = "1";
			drivernode0 {
				/* Declare PCL support driver (classically known as guid)  */
				pcl_id = "v4l2_sensor";
				/* Driver v4l2 device name */
				devname = "e2832 2-002b";
				/* Declare the device-tree hierarchy to driver instance */
				proc-device-tree = "/proc/device-tree/i2c@3180000/e2832@2b";
			};
		};
	};
};

};

hi CCC:what trace log do we need?

@ShaneCCC any advise?

Check this link for the instruction to enable the trace log.

@ShaneCCC “Check this link” mean that check HDMITOMIPI physical connect?

Sorry didn’t post the link.

https://elinux.org/Jetson/l4t/Camera_BringUp

@ShaneCCC
cat /sys/kernel/debug/tracing/trace

tracer: nop

entries-in-buffer/entries-written: 81/81 #P:6

_-----=> irqs-off

/ _----=> need-resched

| / _—=> hardirq/softirq

|| / _–=> preempt-depth

||| / delay

TASK-PID CPU# |||| TIMESTAMP FUNCTION

| | | |||| | |

 kworker/0:3-2067  [000] ....   196.475414: rtos_queue_peek_from_isr_failed: tstamp:6684334203 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   196.643415: rtos_queue_peek_from_isr_failed: tstamp:6689334204 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   196.811397: rtos_queue_peek_from_isr_failed: tstamp:6694334207 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   196.923391: rtos_queue_peek_from_isr_failed: tstamp:6699334208 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   197.091409: rtos_queue_peek_from_isr_failed: tstamp:6704334205 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   197.259417: rtos_queue_peek_from_isr_failed: tstamp:6709334229 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   197.427402: rtos_queue_peek_from_isr_failed: tstamp:6714334208 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   197.595412: rtos_queue_peek_from_isr_failed: tstamp:6719334203 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   197.763452: rtos_queue_peek_from_isr_failed: tstamp:6724334200 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   197.931394: rtos_queue_peek_from_isr_failed: tstamp:6729334217 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   198.043407: rtos_queue_peek_from_isr_failed: tstamp:6734334208 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   198.211412: rtos_queue_peek_from_isr_failed: tstamp:6739334204 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   198.379445: rtos_queue_peek_from_isr_failed: tstamp:6744334208 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   198.547418: rtos_queue_peek_from_isr_failed: tstamp:6749334203 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   198.715492: rtos_queue_peek_from_isr_failed: tstamp:6754334204 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   198.883407: rtos_queue_peek_from_isr_failed: tstamp:6759334201 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   199.051407: rtos_queue_peek_from_isr_failed: tstamp:6764334211 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   199.163410: rtos_queue_peek_from_isr_failed: tstamp:6769334211 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   199.331407: rtos_queue_peek_from_isr_failed: tstamp:6774334209 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   199.499398: rtos_queue_peek_from_isr_failed: tstamp:6779334221 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   199.667472: rtos_queue_peek_from_isr_failed: tstamp:6784334209 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   199.835399: rtos_queue_peek_from_isr_failed: tstamp:6789334226 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   200.003402: rtos_queue_peek_from_isr_failed: tstamp:6794334201 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   200.171461: rtos_queue_peek_from_isr_failed: tstamp:6799334214 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   200.283409: rtos_queue_peek_from_isr_failed: tstamp:6804334207 queue:0x0bcbcf78
 kworker/0:3-2067  [000] ....   200.339418: rtos_queue_peek_from_isr_failed: tstamp:6804956905 queue:0x0bcbcf78
    v4l2-ctl-7665  [005] ....   219.597299: tegra_channel_open: vi-output, lt6911uxc 1-002b
    v4l2-ctl-7665  [000] ....   219.599756: tegra_channel_set_power: lt6911uxc 1-002b : 0x1
    v4l2-ctl-7665  [000] ....   219.599774: camera_common_s_power: status : 0x1
    v4l2-ctl-7665  [000] ....   219.601101: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x1
    v4l2-ctl-7665  [000] ....   219.601104: csi_s_power: enable : 0x1
    v4l2-ctl-7665  [000] ....   219.618076: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1080 fmt 9
    v4l2-ctl-7665  [000] ....   219.640437: tegra_channel_close: vi-output, lt6911uxc 1-002b
    v4l2-ctl-7665  [000] ....   219.645422: tegra_channel_set_power: lt6911uxc 1-002b : 0x0
    v4l2-ctl-7665  [000] ....   219.645471: camera_common_s_power: status : 0x0
    v4l2-ctl-7665  [000] ....   219.645743: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x0
    v4l2-ctl-7665  [000] ....   219.645754: csi_s_power: enable : 0x0
 kworker/0:1-789   [000] ....   219.659542: rtos_queue_peek_from_isr_failed: tstamp:7408875401 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   219.659560: rtcpu_start: tstamp:7408877172
 kworker/0:1-789   [000] ....   219.659616: rtos_queue_send_from_isr_failed: tstamp:7408890099 queue:0x0bcb41f8
 kworker/0:1-789   [000] ....   219.659617: rtos_queue_send_from_isr_failed: tstamp:7408890249 queue:0x0bcb8a60
 kworker/0:1-789   [000] ....   219.659618: rtos_queue_send_from_isr_failed: tstamp:7408890398 queue:0x0bcba5e0
 kworker/0:1-789   [000] ....   219.659621: rtos_queue_send_from_isr_failed: tstamp:7408890545 queue:0x0bcbb3a0
 kworker/0:1-789   [000] ....   219.659623: rtos_queue_send_from_isr_failed: tstamp:7408890690 queue:0x0bcbc160
 kworker/0:1-789   [000] ....   219.827434: rtos_queue_peek_from_isr_failed: tstamp:7413875952 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   219.995495: rtos_queue_peek_from_isr_failed: tstamp:7418875966 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   220.107415: rtos_queue_peek_from_isr_failed: tstamp:7423875957 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   220.275434: rtos_queue_peek_from_isr_failed: tstamp:7428875952 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   220.443449: rtos_queue_peek_from_isr_failed: tstamp:7433875970 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   220.611413: rtos_queue_peek_from_isr_failed: tstamp:7438875953 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   220.779408: rtos_queue_peek_from_isr_failed: tstamp:7443875957 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   220.947391: rtos_queue_peek_from_isr_failed: tstamp:7448875956 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   221.115399: rtos_queue_peek_from_isr_failed: tstamp:7453875955 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   221.227399: rtos_queue_peek_from_isr_failed: tstamp:7458875965 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   221.395420: rtos_queue_peek_from_isr_failed: tstamp:7463875957 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   221.563487: rtos_queue_peek_from_isr_failed: tstamp:7468875952 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   221.731407: rtos_queue_peek_from_isr_failed: tstamp:7473875957 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   221.899408: rtos_queue_peek_from_isr_failed: tstamp:7478875957 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   222.067475: rtos_queue_peek_from_isr_failed: tstamp:7483875957 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   222.235410: rtos_queue_peek_from_isr_failed: tstamp:7488875957 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   222.347419: rtos_queue_peek_from_isr_failed: tstamp:7493875953 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   222.515498: rtos_queue_peek_from_isr_failed: tstamp:7498875957 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   222.683409: rtos_queue_peek_from_isr_failed: tstamp:7503875953 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   222.851404: rtos_queue_peek_from_isr_failed: tstamp:7508875957 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   223.019413: rtos_queue_peek_from_isr_failed: tstamp:7513875974 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   223.187423: rtos_queue_peek_from_isr_failed: tstamp:7518875953 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   223.355419: rtos_queue_peek_from_isr_failed: tstamp:7523875953 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   223.467429: rtos_queue_peek_from_isr_failed: tstamp:7528875958 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   223.635401: rtos_queue_peek_from_isr_failed: tstamp:7533875960 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   223.803406: rtos_queue_peek_from_isr_failed: tstamp:7538875960 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   223.971410: rtos_queue_peek_from_isr_failed: tstamp:7543875955 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   224.139408: rtos_queue_peek_from_isr_failed: tstamp:7548875961 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   224.307438: rtos_queue_peek_from_isr_failed: tstamp:7553875957 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   224.475398: rtos_queue_peek_from_isr_failed: tstamp:7558875956 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   224.587411: rtos_queue_peek_from_isr_failed: tstamp:7563875965 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   224.755631: rtos_queue_peek_from_isr_failed: tstamp:7568875773 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   224.923416: rtos_queue_peek_from_isr_failed: tstamp:7573875953 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   225.091400: rtos_queue_peek_from_isr_failed: tstamp:7578875952 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   225.259406: rtos_queue_peek_from_isr_failed: tstamp:7583875957 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   225.427429: rtos_queue_peek_from_isr_failed: tstamp:7588875957 queue:0x0bcbcf78
 kworker/0:1-789   [000] ....   225.427435: rtos_queue_peek_from_isr_failed: tstamp:7588956967 queue:0x0bcbcf78

The trace log show didn’t receive any validate data from MIPI bus.
Did you probe the signal to confirm it?

@ShaneCCC


IThe mipi clock signal exists so is our DTS configured correctly?

I can’t tell if the DTS is correctly or not. You need check with your HW connection to confirm the port-index/bus-width

@ShaneCCC we use CSI0,so port-index is 0 and bus-width is 2?

Yes, that’s correct. Maybe need to confirm the output signal follow MIPI spec.

@ShaneCCC we checkout mipi signal,its ok,so why we dont capture any MIPI signal?HDMI input is 1080P/30f,Are the configurations in the red boxes of our DTS correct?

num_lanes is correct and pix_clk_hz should doesn’t matter

@ShaneCCC What should the pix_clk_hz shoud be?

Have a check this document for detail information.

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/camera_sensor_prog.47.1.html#wwpID0E0F60HA


@ShaneCCC Is this problem related to the power related regulators I commented out?