找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 1022|回復: 0
收起左側

求助 RK3588開發(fā)板在Android12.0系統(tǒng)上調試OV7251移植問題

[復制鏈接]
ID:858009 發(fā)表于 2023-3-20 15:30 | 顯示全部樓層 |閱讀模式
本人小白一個,求解一下教程
使用的是
迅為的RK3588開發(fā)版
問題:打不開攝像頭

打不開攝像頭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>;
                };
        };
};



回復

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則

手機版|小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術交流QQ群281945664

Powered by 單片機教程網(wǎng)

快速回復 返回頂部 返回列表