FAQRV1126 多路摄像头驱动配置

RV1126 8路AHD(2*1拖4芯片)摄像头驱动配置
更新时间:2022.03.01 浏览量:0

2路AHD转接芯片均为mipi接口,需采用双MIPI方案:

  • VICAP通路0:9922->csi_dphy0->mipi_csi2->vicap

  • ISP通路1    :9922->csi_dphy1->isp0

参考文档:docs/RV1126_RV1109/ApplicationNote/Rockchip_Instruction_Linux_DVR_DMS_CN.pdf

设备树参考:

nvp6188_0: nvp6188_0@30 {

   compatible = "nvp6188";

   reg = <0x30>;

   clocks = <&cru CLK_MIPICSI_OUT>;

   clock-names = "xvclk";

   power-domains = <&power RV1126_PD_VI>;

   pinctrl-names = "rockchip,camera_default";

   pinctrl-0 = <&mipicsi_clk0>;

   reset-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_HIGH>;

   power-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;

   vi-gpios = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>;

   rockchip,camera-module-index = <0>;

   rockchip,camera-module-facing = "front";

   rockchip,camera-module-name = "nvp6188";

   rockchip,camera-module-lens-name = "nvp6188";

   port {

       ucam_out0: endpoint {

       remote-endpoint = <&mipi_in_ucam0>;

       data-lanes = <1 2 3 4>;

       };

    };

};


附件1:
  • 上一篇:Rockchip RV1126开发板wifi配置
  • 下一篇:RV1126打开DEBUG后死机