In the sensor software driver guide:
The property values are computed as follows:
•active_w: Total width of the pixel-active region. In this case, it is 3840 + 4 (LI) + 12 (left margin) + 0 (right margin) = 3856.
•active_h: Total height of the pixel-active region. In this case, it is 2160 + 8 (OB) + 6 (Ignored Area Effective Pixel + 50 (VBP)) * 2 = 4448.
In the imx274.dtsi:
mode2 { // IMX274_MODE_3840X2160_DOL_30FPS
mclk_khz = "24000";
num_lanes = "4";
tegra_sinterface = "serial_a";
phy_mode = "DPHY";
discontinuous_clk = "yes";
dpcm_enable = "false";
cil_settletime = "0";
dynamic_pixel_bit_depth = "10";
csi_pixel_bit_depth = "10";
mode_type = "bayer_wdr_dol";
pixel_phase = "rggb";
active_w = "3856";
active_h = "4448";
In the IMX274 datasheet:
There are two questions:
For active_w, right margin is 12 instead of 0.
For active_h, should add top and bottom margin, aka 4*2.
Anyone explain the conflict between jetson document and sony datasheet?
Thanks for your help!