hi
My camera has built in ISP so it outputs YUV422.
my device tree is under and working is good.
XXXXX0000@10 {
compatible = "nvidia,XXXX0000";
/* I2C device address */
reg = <0x10>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
XXX0000_out0: endpoint {
csi-port = <0>;
bus-width = <4>;
remote-endpoint = <&XXXX0000_csi_in0>;
};
};
};
};
so i change dtb under. but it is not working
XXXX0000@10 {
compatible = "nvidia,XXXX0000";
/* I2C device address */
reg = <0x10>;
mode0 { //XXXX0000_MODE_1280X720
mclk_khz = "24000";
num_lanes = "4";
tegra_sinterface = "serial_a";
discontinuous_clk = "no";
dpcm_enable = "false";
cil_settletime = "0";
active_w = "1280";
active_h = "720";
line_length = "1280";
pixel_t = "uyvy";
readout_orientation = "0";
min_framerate = "1.5";
max_framerate = "30";
embedded_metadata_height = "4";
};
port@0 {
reg = <0>;
XXX0000_out0: endpoint {
csi-port = <0>;
bus-width = <4>;
remote-endpoint = <&XXXX0000_csi_in0>;
};
};
};
};
[ 36.834554] extract_pixel_format: Need to extend formatuyvy
[ 36.840152] XXXX0000 2-0010: Unsupported pixel format
[ 36.845254] XXXX0000 2-0010: Failed to read image properties
[ 36.851965] extract_pixel_format: Need to extend formatuyvy
[ 36.857553] XXXX0000 2-0010: Unsupported pixel format
[ 36.862849] XXXX0000 2-0010: Failed to read image properties
The reason I do this test is because I set the embedded_metadata_height value.
is it possible?