techpoint 2815/2855四通道图像解码芯片,通过MIPI CSI接口和主控连接,我的设备树配置如下,但是目前摄像头还没有调试成功,可以帮我看一下设备树配置吗?在dtsi配置了isp和ispp链路图像也无法进入ISP。2815没有ISP, 但是模拟传输的架构下ISP在camera端,2815接收到的已经是ISP处理过的数据,不需要SOC的ISP,我在rk3588使用图像解码芯片techpoint tp2855外接四个摄像头,我的设备树配置如下,但是目前摄像头还没有调试成功,可以帮我看一下设备树配置吗?驱动使用的代码是这个链接;https://github.com/armbian/linux-rockchip/tree/rk-5.10-rkr4/drivers/media/i2c/techpoint,还是使用sdk目录下drivers/media/i2c/tp2855.c自带的驱动 &csi2_dphy0_hw { status = "okay"; }; &csi2_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 = <&mipi2_csi2_input>; }; }; }; }; &i2c3 { tp2855: tp2855@44 { compatible = "techpoint,tp2855"; status = "okay"; reg = <0x44>; clocks = <&cru CLK_MIPI_CAMARAOUT_M3>; clock-names = "xvclk"; pinctrl-names = "default"; // pinctrl-names = "rockchip,camera_default"; pinctrl-0 = <&mipim0_camera3_clk>; power-domains = <&power RK3588_PD_VI>; // avdd-supply = <&vcc_avdd>; // dovdd-supply = <&vcc_dovdd>; // dvdd-supply = <&vcc_dvdd>; // dovdd-supply = <&vcc_mipicsi0>; avdd-supply = <&vcc_mipicsi0>; // dvdd-supply = <&vcc_mipicsi0>; // pwdn-gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_LOW>; pwdn-gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>; reset-gpios = <&gpio4 RK_PC6 GPIO_ACTIVE_LOW>; rockchip,camera-module-index = <0>; rockchip,camera-module-facing = "back"; rockchip,camera-module-name = "tp2855"; rockchip,camera-module-lens-name = "tp2855"; port { ucam_out0: endpoint { remote-endpoint = <&mipi_in_ucam0>; data-lanes = <1 2 3 4>; }; }; }; }; &mipi2_csi2 { status = "okay"; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; #address-cells = <1>; #size-cells = <0>; mipi2_csi2_input: endpoint@1 { reg = <1>; remote-endpoint = <&csidphy0_out>; }; }; port@1 { reg = <1>; #address-cells = <1>; #size-cells = <0>; mipi2_csi2_output: endpoint@0 { reg = <0>; remote-endpoint = <&cif_mipi_in2>; }; }; }; }; &rkcif { status = "okay"; }; &rkcif_mipi_lvds2 { status = "okay"; port { cif_mipi_in2: endpoint { remote-endpoint = <&mipi2_csi2_output>; }; }; }; &rkcif_mmu { status = "okay"; }; &rkcif_mipi_lvds2_sditf { status = "disabled"; }; &rkisp0 { status = "disabled"; }; &isp0_mmu { status = "disabled"; }; &rkisp0_vir0 { status = "disabled"; }; |
qq2317783075 发表于 2023-6-28 10:33
已经在rk3568上调通TP2815 思路 AHD转MIPI 功能
wx__b0XfGk 发表于 2023-8-28 15:55
请问楼主解决问题了吗?想请教一下
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) | Powered by Discuz! X3.1 |