瑞芯微Rockchip开发者社区
直播中

地瓜

13年用户 445经验值
擅长:模拟与电源 能源/照明/显示
私信 关注
[问答]

怎么去解决RK3399ProD-imx258 摄像头 mipi错误的问题呢

怎么去解决RK3399ProD-imx258 摄像头 mipi错误的问题呢?求解答

回帖(1)

陈茹

2022-2-14 09:39:45
RK3399Pro-toybrick-prod, 1.8 linux固件,最新kernel


imx258摄像头 mipi0


按照:http://t.rock-chips.com/wiki.php?mod=view&id=49说明配置


按照:http://t.rock-chips.com/wiki.php?mod=view&id=26编译然后刷boot_linux.img


dtsi配置:


&cif_isp0 {undefined


rockchip,camera-modules-attached = ;


status = "okay";


};


&isp0 {undefined


status = "okay";


};


&isp0_mmu {undefined


status = "okay";


};


&pinctrl {undefined


cam_mclk {undefined


cam_default_pins: cam-default-pins {undefined


rockchip,pins = <2 11 RK_FUNC_3 &pcfg_pull_none>;


};


};


};


&i2c1 {undefined


status = "okay";


i2c-scl-rising-time-ns = <300>;


i2c-scl-falling-time-ns = <15>;


clock-frequency=<400000>;


afc0: af-controller@0 {undefined


status = "okay";


compatible = "dongwoon,dw9714-v4l2-i2c-subdev";


reg = <0x0C>;


rockchip,vcm-start-current = <20>;


rockchip,vcm-rated-current = <76>;


rockchip,vcm-step-mode = <0>;


};


camera0: camera-module@1a {undefined


status = "okay";


compatible = "sony,imx258-v4l2-i2c-subdev";


reg = <0x1a>;


device_type = "v4l2-i2c-subdev";


clocks = ;


clock-names = "clk_cif_out";


pinctrl-names = "default";


pinctrl-0 = ;


rockchip,pd-gpio = ;


rockchip,rst-gpio = ;


rockchip,camera-module-mclk-name = "clk_cif_out";


rockchip,camera-module-facing = "back";


rockchip,camera-module-name = "MDG001";


rockchip,camera-module-len-name = "NONE";


rockchip,camera-module-fov-h = "80";


rockchip,camera-module-fov-v = "65";


rockchip,camera-module-orientation = <0>;


rockchip,camera-module-iq-flip = <0>;


rockchip,camera-module-iq-mirror = <0>;


rockchip,camera-module-flip = <1>;


rockchip,camera-module-mirror = <1>;


rockchip,af-ctrl = ;


rockchip,camera-module-defrect0 = <2096 1560 0 0 2096 1560>;


rockchip,camera-module-defrect1 = <4208 3120 0 0 4208 3120>;


rockchip,camera-module-flash-support = <0>;


rockchip,camera-module-mipi-dphy-index = <0>;


as-master = <0>;


};


};


};
举报

更多回帖

发帖
×
20
完善资料,
赚取积分