找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 360|回复: 0
收起左侧

求助 RK3588开发板在Android12.0系统上调试OV7251移植问题

[复制链接]
ID:858009 发表于 2023-3-20 15:30 | 显示全部楼层 |阅读模式
本人小白一个,求解一下教程
使用的是
迅为的RK3588开发版
问题:打不开摄像头

打不开摄像头dphy3配置在ov5695基础上修改的

/*
* mipi camera dphy1
*/

&csi2_dphy3 {
        status = "okay";

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

                        mipidphy3_in_ucam0: endpoint@1 {
                                reg = <1>;
                                remote-endpoint = <&ov7251_out_4>;
                                data-lanes = <1 2>;
                        };
                };

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

                        csidphy3_out: endpoint@0 {
                                reg = <0>;
                                remote-endpoint = <&mipi4_csi2_input>;
                        };
                };
        };
};

&csi2_dphy1_hw {
        status = "okay";
};

&i2c4 {
        status = "okay";
        pinctrl-0 = <&i2c4m1_xfer>;

        ov7251_4: ov7251@36 {
                status = "okay";
                compatible = "ovti,ov7251";
                reg = <0x36>;
                clocks = <&cru CLK_MIPI_CAMARAOUT_M4>;
                clock-names = "xvclk";
                power-domains = <&power RK3588_PD_VI>;
                pinctrl-names = "default";
                pinctrl-0 = <&mipim0_camera4_clk>;
                reset-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_LOW>;
                pwdn-gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_LOW>;
                rockchip,camera-module-index = <3>;
                rockchip,camera-module-facing = "front";
                rockchip,camera-module-name = "default";
                rockchip,camera-module-lens-name = "default";

                port {
                        ov7251_out_4: endpoint {
                                remote-endpoint = <&mipidphy3_in_ucam0>;
                                data-lanes = <1 2>;
                        };
                };
               
        };
};

&mipi4_csi2 {
        status = "okay";
        ports {
                #address-cells = <1>;
                #size-cells = <0>;

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

                        mipi4_csi2_input: endpoint@1 {
                                reg = <1>;
                                remote-endpoint = <&csidphy3_out>;
                        };
                };

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

                        mipi4_csi2_output: endpoint@0 {
                                reg = <0>;
                                remote-endpoint = <&cif_mipi4_in0>;
                        };
                };
        };
};

&rkcif {
        status = "okay";
};

&rkcif_mipi_lvds4 {
        status = "okay";

        port {
                cif_mipi4_in0: endpoint {
                        remote-endpoint = <&mipi4_csi2_output>;
                };
        };
};


&rkcif_mipi_lvds4_sditf {
        status = "okay";

        port {
                mipi_lvds4_sditf: endpoint {
                        remote-endpoint = <&isp0_vir0>;
                };
        };
};

&rkcif_mmu {
        status = "okay";
};

&rkisp0 {
        status = "okay";
};

&isp0_mmu {
        status = "okay";
};

&rkisp0_vir0 {
        status = "okay";

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

                isp0_vir0: endpoint@0 {
                        reg = <0>;
                        remote-endpoint = <&mipi_lvds4_sditf>;
                };
        };
};



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表