找回密碼
 立即注冊(cè)

QQ登錄

只需一步,快速開始

搜索
查看: 1099|回復(fù): 0
打印 上一主題 下一主題
收起左側(cè)

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

[復(fù)制鏈接]
跳轉(zhuǎn)到指定樓層
樓主
ID:858009 發(fā)表于 2023-3-20 15:30 | 只看該作者 回帖獎(jiǎng)勵(lì) |倒序?yàn)g覽 |閱讀模式
本人小白一個(gè),求解一下教程
使用的是
迅為的RK3588開發(fā)版
問題:打不開攝像頭

打不開攝像頭dphy3配置在ov5695基礎(chǔ)上修改的

/*
* 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>;
                };
        };
};



分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享淘帖 頂 踩
回復(fù)

使用道具 舉報(bào)

本版積分規(guī)則

小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術(shù)交流QQ群281945664

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

快速回復(fù) 返回頂部 返回列表