|
【Linux】
使用内核自带的os08a10驱动,驱动在启动过程日志中发现无法读取senor_id,读取值为0
发表于 2023-1-11 17:37:43
浏览:4899
|
回复:4
打印
只看该作者
[复制链接]
楼主
-
固件类型:
自行编译的固件
-
SDK包名称:
rk356x_linux_release_v1.3.0b_20221213_split_dir
-
SDK更新到哪个COMMIT:
0000-00-00 00:00:00
-
SDK修改内容:
os08a10:os08a10@36 {
status = "okay";
compatible = "ovti,ose8a10";reg =<0x36>;
clocks = <&cru CLK_CIF_OUT>;clock-names = "xvclk";
power-domains = <&power RK3568_PD_VI>;
pinctrl-names = "default";
pinctrl-0 = <&cif_clk>;
//avdd-supply = <&vcc_avdd>;/ / dovdd-supply = <&vcc_dovdd>;//dvdd-suppLy = <&vcc_dvdd>;
//pinctrl-names = "rockchip, camera_default", "rockchip, camera_sleep";//pinctrl-e = <&cam_clkoute>;
//pinctrl-1 = <&cam_sleep>;
/ /power-gpios = <&gpioe RK_PB6 GPIO_ACTIVE_HIGH>;//reset-gpios = <&gpio4 RK_PB1 GPIO_ACTIVE_HIGH>;//pwdn-gpios = <&gpio4 RK_PB7 GPIO_ACTIVE_HIGH>;
/ /power-gpios = <&pca9555 PCA_I00_4 GPIO_ACTIVE_HIGH>;reset-gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>;
//pwdn-gpios = <&gpio4 RK_PB4 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 f
os68a10_out: endpoint i
remote-endpoint = <&mipi_in_ucam4>;data-lanes = <12 3 4>;
};
};};
-
Log日志:
QQ图片20230111172452.zip
问题描述及复现步骤:
问题:使用内核自带的os08a10驱动,驱动在启动过程日志中发现无法读取senor_id,读取值为0,在log日志存为了图片,可以直接查看。
过程:将os08a10驱动编译进内核后,与我自己编写的设备树进行匹配,系统启动后,查看日志,发现无法读取到sensor ID。我们使用的os08a10摄像头模组为mipi-csi接口,但是不使用power-gpio和pwdn-gpio。
|
|