Nvidia Xavier Nx平台GMSL接口imx390相机驱动调试记录

1.前言

使用GMSL的串行器和解串器9295 9296 两路imx390相机 有两种采集方式,

一种是在前端拼接好作为一路采集;

另一种是独立采集,使用MIPI的虚拟通道。

下面为调试记录

2. 搭建环境

设备树: 只截取部分

{ num-channels = <2>;
            ports { #address-cells = <1>;
                #size-cells = <0>;
                port@0 { reg = <0>;
                    imx390_vi_in0: endpoint { vc-id = <0>;
                        port-index = <0>;
                        bus-width = <2>;
                        remote-endpoint = <&imx390_csi_out0>; }; };
                port@1 { reg = <1>;
                    imx390_vi_in1: endpoint { vc-id = <1>;
                        port-index = <0>;
                        bus-width = <2>;
                        remote-endpoint = <&imx390_csi_out1>; }; }; }; }

                        mode
经验分享 程序员 微信小程序 职场和发展