How To Get Bayer Raw Data Of WDR DOL mode with 2 Frame Exposure?

hello tangqc023,

please check IMX274 for the reference driver,
as you can see, there’s double of image height for its DOL sensor mode. there’re also some DT properties to specify cropping area for DOL sensors.
for example,

                                mode2 { // IMX274_MODE_3840X2160_DOL_30FPS
                                        ...
                                        mode_type = "bayer_wdr_dol";
                                        active_w = "3856";
                                        active_h = "4448";
                                        ...
                                        num_of_exposure = "2";
                                        num_of_ignored_lines = "14";
                                        num_of_lines_offset_0 = "50";
                                        num_of_ignored_pixels = "4";
                                        num_of_left_margin_pixels = "12";
                                        num_of_right_margin_pixels = "0";

you may also refer to Sensor Software Driver Programming Guide for the diagram of a two-exposure DOL (Digital Overlap) multi-frame. that’s the actual signaling of the DOL-WDR sensors. you may have a try to assign those settings to dump raw images.

however,
may I know what’s your use-case to obtain raw data of DOL-WDR sensor mode?
thanks