alen

alen

0个粉丝

5

问答

0

专栏

0

资料

alen  发布于  2021-04-26 11:25:56
采纳率 20%
5个问答
7027

mipi相机报错:No link between dphy and sensor

芯片 rv1126 (firefly的开发板)
摄像头 imx415

使用 media-ctl -p -d /dev/media0 命令,报错: rockchip-mipi-dphy-rx: No link between dphy and sensor

请问这个问题怎么解决?

设备树配置如下:
`
&i2c1 {
status = “okay”;
//clock-frequency = undefined

imx415: imx415@1a {
   compatible = "sony,imx415";
   reg = <0x1a>;
   clocks = <&cru CLK_MIPICSI_OUT>;
   clock-names = "xvclk";
   power-domains = <&power RV1126_PD_VI>;
   pinctrl-names = "rockchip,camera_default";
   //pinctrl-0 = <&mipicsi_clk0 &imx415_gpio_pins>;
   pinctrl-0 = <&mipicsi_clk0>;

   avdd-supply = <&vcc3v3_sys>;
   dovdd-supply = <&vcc_1v8>;
   dvdd-supply = <&vcc_dvdd>;

   //pwdn-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_HIGH>;
       reset-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_LOW>;

   rockchip,camera-module-index = <1>;
   rockchip,camera-module-facing = "front";
   rockchip,camera-module-name = "YT10092";
   rockchip,camera-module-lens-name = "IR0147-36IRC-8M-F20";
   //ir-cut = <&cam_ircut0>;
   //flash-leds = <&flash_ir>;
   port {
       ucam_out0: endpoint {
           remote-endpoint = <&mipi_in_ucam0>;
           data-lanes = <1 2 3 4>;
       };
   };
};

};

&csi_dphy0 {
status = “okay”;

ports {
    #address-cells = <1>;
    #size-cells = <0>;
    port@0 {
        reg = <0>;
        #address-cells = <1>;
        #size-cells = <0>;

        mipi_in_ucam0: endpoint@1 {
            reg = <1>;
            remote-endpoint = <&ucam_out0>;
            data-lanes = <1 2 3 4>;
        };
    };
    port@1 {
        reg = <1>;
        #address-cells = <1>;
        #size-cells = <0>;

        csidphy0_out: endpoint@0 {
            reg = <0>;
            remote-endpoint = <&mipi_csi2_input>;
            //data-lanes = <1 2 3 4>; //alen
        };

    };
};

};

&mipi_csi2 {
status = “okay”;

ports {
    #address-cells = <1>;
    #size-cells = <0>;

    port@0 {
        reg = <0>;
        #address-cells = <1>;
        #size-cells = <0>;

        mipi_csi2_input: endpoint@1 {
            reg = <1>;
            remote-endpoint = <&csidphy0_out>;
            data-lanes = <1 2 3 4>;
        };
    };

    port@1 {
        reg = <1>;
        #address-cells = <1>;
        #size-cells = <0>;

        mipi_csi2_output: endpoint@0 {
            reg = <0>;
            remote-endpoint = <&cif_mipi_in>;
            data-lanes = <1 2 3 4>;
        };
    };
};

};

&rkcif_mipi_lvds {
status = “okay”;

// port {
    // /* MIPI CSI-2 endpoint */
    // cif_mipi_in: endpoint {
        // remote-endpoint = <&mipi_csi2_output>;
        // data-lanes = <1 2 3 4>;
    // };
// };

ports {
    #address-cells = <1>;
    #size-cells = <0>;
    port@0 {
        reg = <0>;
        #address-cells = <1>;
        #size-cells = <0>;

        /* MIPI CSI-2 endpoint */
        cif_mipi_in: endpoint {
            remote-endpoint = <&mipi_csi2_output>;
            data-lanes = <1 2 3 4>;
        };
    };
    port@1 {
        reg = <1>;
        #address-cells = <1>;
        #size-cells = <0>;

        mipi_lvds_out: endpoint@0 {
            reg = <0>;
            remote-endpoint = <&mipi_lvds_sditf_input>;
            data-lanes = <1 2 3 4>; //alen
        };

    };
};

};

&rkcif_mipi_lvds_sditf {
status = “okay”;

// port {
    // /* MIPI CSI-2 endpoint */
    // mipi_lvds_sditf: endpoint {
        // remote-endpoint = <&isp_in>;
        // data-lanes = <1 2 3 4>;
    // };
// };

ports {
    #address-cells = <1>;
    #size-cells = <0>;
    port@0 {
        reg = <0>;
        #address-cells = <1>;
        #size-cells = <0>;

        mipi_lvds_sditf_input: endpoint@1 {
            reg = <1>;
            remote-endpoint = <&mipi_lvds_out>;
            data-lanes = <1 2 3 4>;
        };
    };
    port@1 {
        reg = <1>;
        #address-cells = <1>;
        #size-cells = <0>;

        mipi_lvds_sditf_out: endpoint@0 {
            reg = <0>;
            remote-endpoint = <&isp_in>;
            data-lanes = <1 2 3 4>; //alen
        };

    };
};

};

&rkisp_vir0 {
status = “okay”;

ports {
    port@0 {
        reg = <0>;
        #address-cells = <1>;
        #size-cells = <0>;

        isp_in: endpoint@0 {
            reg = <0>;
            remote-endpoint = <&mipi_lvds_sditf_out>;
        };
    };
};

};
`

我来回答
回答0个
时间排序
认可量排序
易百纳技术社区暂无数据
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区