使用内核自带的os08a10驱动,驱动在启动过程日志中发现无法读取senor_id,读取值为0
问题:使用内核自带的os08a10驱动,驱动在启动过程日志中发现无法读取senor_id,读取值为0,在log日志存为了图片,可以直接查看。过程:将os08a10驱动编译进内核后,与我自己编写的设备树进行匹配,系统启动后,查看日志,发现无法读取到sensor ID。我们使用的os08a10摄像头模组为mipi-csi接口,但是不使用power-gpio和pwdn-gpio。
同样的无法获取ID os08a10: os08a10@36 {
status = "okay";
compatible = "ovti,os08a10";
reg = <0x36>;
clocks = <&cru CLK_MIPICSI_OUT>;
clock-names = "xvclk";
power-domains = <&power RV1126_PD_VI>;
avdd-supply = <&vcc_avdd>;
dovdd-supply = <&vcc_dovdd>;
dvdd-supply = <&vcc_dvdd>;
//pinctrl-names = "rockchip,camera_default", "rockchip,camera_sleep";
//pinctrl-0 = <&cam_clkout0>;
//pinctrl-1 = <&cam_sleep>;
//power-gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_HIGH>;
pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "RS-8MTP659";
rockchip,camera-module-lens-name = "default";
port {
os08a10_out: endpoint {
remote-endpoint = <&mipi_in_ucam0>;
data-lanes = <1 2 3 4>;
};
};
};
power-gpios
这个选项不是必配的吧?
页:
[1]