|
发表于 2022-3-10 15:05:28
浏览:6180
|
回复:5
打印
只看该作者
[复制链接]
楼主
我现在Core-1126-JD4的板子上调试双摄像头,想先试一下400W摄像头模组OS04A10接到转接板上面的连接器上,下图黄圈那个,我修改了dts文件
&i2c1 {
status = "okay";
os04a10: os04a10@36 {
compatible = "ovti,os04a10";
reg = <0x36>;
clocks = <&cru CLK_MIPICSI_OUT>;
clock-names = "xvclk";
power-domains = <&power RV1126_PD_VI>;
pinctrl-names = "rockchip,camera_default";
pinctrl-0 = <&mipicsi_clk1>;
avdd-supply = <&vcc_avdd>;
dovdd-supply = <&vcc_1v8>;
dvdd-supply = <&vcc_dvdd>;
pwdn-gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio4 RK_PA1 GPIO_ACTIVE_LOW>;
rockchip,camera-module-index = <1>;
rockchip,camera-module-facing = "front";
rockchip,camera-module-name = "CMK-OT1607-FV1";
rockchip,camera-module-lens-name = "M12-40IRC-4MP-F16";
ir-cut = <&cam_ircut0>;
port {
ucam_out0: endpoint {
remote-endpoint = <&csi_dphy1_input>;
data-lanes = <1 2 3 4>;
};
};
};
...........
&csi_dphy1 {
status = "okay";
ports {
port@0 {
csi_dphy1_input: endpoint@1 {
remote-endpoint = <&ucam_out1>;
data-lanes = <1 2 3 4>;
};
};
port@1 {
csi_dphy1_output: endpoint@0 {
remote-endpoint = <&isp_in>;
data-lanes = <1 2>;
};
};
};
};
但是读取Sensor ID失败,请问还需要改什么地方呢
|
|