How do I set clear HDR parameters in the device tree?

Here is the device tree I configured:

mode2 { /* 1936x1096_4lane_raw12_30fps_clear_hdr */
					mclk_khz = "24000";
					num_lanes = "4";
					tegra_sinterface = "serial_c";
					phy_mode = "DPHY";
					discontinuous_clk = "no";
					dpcm_enable = "false";
					cil_settletime = "0";
					lane_polarity = "0";

					active_w = "1944";			//1936
					active_h = "2356";			//2356
					mode_type = "bayer_wdr_dol";    //bayer_wdr_dol
					pixel_phase = "rggb";
					csi_pixel_bit_depth = "12";
					dynamic_pixel_bit_depth = "12";
					readout_orientation = "0";
					line_length = "1944";
					inherent_gain = "1";
					mclk_multiplier = "12";
					pix_clk_hz = "288000000";

					gain_factor = "1000";
					min_gain_val = "1"; 		/* 0 dB */
					max_gain_val = "24000"; 		/* 24 dB */
					step_gain_val = "300"; 		/* 0.3 */
					default_gain = "1";
					min_hdr_ratio = "32";		//32
					max_hdr_ratio = "32";
					framerate_factor = "1000000";
					min_framerate = "30000000";
					max_framerate = "30000000";
					step_framerate = "1";
					default_framerate = "30000000";
					exposure_factor = "1000000";
					min_exp_time = "26"; 		/* us, min 4 lines */
					max_exp_time = "30000";		/* us, max number of lines per frame - 1 */
					step_exp_time = "1";
					default_exp_time = "30000";	/* us */
					embedded_metadata_height = "1";

					/* WDR related settings */
					num_of_exposure = "2";
					num_of_ignored_lines = "24";
					num_of_lines_offset_0 = "58";        //58
					// num_of_lines_offset_1 = "0";
					num_of_ignored_pixels = "8";		//8
					num_of_left_margin_pixels = "0";
					num_of_right_margin_pixels = "0";

				};

Here are the data sources I used:


The parameters in the figure above are as follows:
H1=13;
H2=1;
H3=1;
H4=10;
H5=10
H6=4;
H7=8;
H8=1080;
H9=8;
W1=8;
W2=1920;
W3=8;
Now I am not sure that I configured all the parameters correctly because the raw image I captured was missing the second frame. Therefore, I would like to ask if my configuration of clear hdr mode is correct, and if there is something wrong, I hope you can point out these problems.

hello FAN666,

please check developer guide for reference, Example Digital Overlap WDR Exposure Frame (3840×2160).
however, you’ll also need update ISP configuration file to enable DOL function.
may I know who’s your sensor vendor, you should also contact with them for further supports.

These are the parameters I configured according to the manual. What I want to know is whether the clear HDR mode of sensor is currently supported on Orin nano?

may I have more details of this “clear” HDR mode. thanks

Here are some descriptions of the clear HDR mode:

sorry, it’s not supported.

thank you!

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