We plan to implement an FPGA based MIPI CSI-2 video connected to the AGX Orin, and the FPGA will transmit frames in YUV420 format over MIPI to the AGX Orin CSI.
May I to know AGX Orin CSI could support receive the YUV420 video frame?
How to setup AGX Orin CSI video frame for YUV420 in device tree?
How to setup pixel_phase and mode_type for YUV420?
mode1 { // MODE_1920X1080
mclk_khz = “24000”;
num_lanes = CAM_LANES_STRING;
tegra_sinterface = TEGRA_SINTERFACE;
phy_mode = “DPHY”;
discontinuous_clk = “no”;
dpcm_enable = “false”;
cil_settletime = “0”;
dynamic_pixel_bit_depth = “16”;
csi_pixel_bit_depth = “16”;
mode_type = “yuv”;
pixel_phase = “uyvy”;active_w = “1920”;
active_h = “1080”;
readout_orientation = “0”;
deskew_initial_enable = “false”;
/* pix_clk_hz = “1152000000”; /
pix_clk_hz = “186250000”; / update for e-CAM22_CUM1_SER(AR0234 sensor) on AGX Orin, 2022-09-08 /
/ Below mode parameter not used for econ UYVY camera sensor */
line_length = “640”;
inherent_gain = “1”;
mclk_multiplier = “6.67”;min_gain_val = “1”;
max_gain_val = “8”;
min_hdr_ratio = “1”;
max_hdr_ratio = “1”;
min_framerate = “1”;
max_framerate = “45”;
min_exp_time = “10”; /* 1ms /
max_exp_time = “5000”; / 500ms */
};
I check the pixel_phase and mode_type in Jetson Linux Developer Guide.
pixel_phase seem only support uyvy, vyuy, yuyv, yvyu, rggb, bggr, grbg, gbrg
mode_type seem only support yuv, bayer, bayer_wdr_pwl
