IMX412 sensor driver for Jetson Nano 32.2

hello plamenk,

please check the sensor specification, you may expect the active pixels as your actual frame-size.
you could dump the VI registers to check the signaling reporting. please also refer to TRM for descriptions.
for example, VI_CSI_0_CSI_IMAGE_SIZE_0.

Hi JerryChang,

Thanks for you help.

One question more:
It seems that Nano L4T 32.2 does not support “embedded_metadata_height”, is that right ?

Greetings

hello plamenk,

that’s not correct,
TX1 and Nano were sharing same VI driver.
you could also refer to Nano’s reference driver as below which using embedded_metadata_height.
for example,

<i>$l4t-r32.2/public_sources/kernel_src/hardware/nvidia/platform/t210/porg/kernel-dts/porg-platforms/tegra210-camera-rbpcv2-imx219.dtsi</i>

                i2c@546c0000 {
                        imx219_single_cam0: rbpcv2_imx219_a@10 {
                                compatible = "nvidia,imx219";
                                mode0 { /* IMX219_MODE_3264x2464_21FPS */
                                        ...
                                        embedded_metadata_height = "2";