Hello there,
I’m using dragonboard 410c from Arrow, I’m trying to integrate OV13850 MIPI camera in android image, we have designed our own interfacing board for the camera and dragon board. We are using APQ8016/msm8916 platform for android image.
we tried following to integrate the ov13850 driver.
-
Initially we tried running patch (0001-ARM-dts-msm-Add-ov13853-camera-dtsi.patch) for the ov13850 which we downloaded from code aurora but found no change in driver level.
-
added ov13850 file in kconfig & makefile in kernel/drivers/platform/msm/camera_v2/sensors/
and did successful compilation, but camera init failed due to get cam_src_clk failure.
attaching the debug prints of correspondng errors:i2c /dev entries driver
[ 12.222469] platform 1d00000.qcom,vidc: Driver msm_vidc_v4l2 requests probe deferral
[ 12.235254] adp1660 i2c_add_driver success
[ 12.238439] msm_flash_init_module:1043 Enter
[ 12.242916] msm_flash_lm3642_init entry
[ 12.332414] cam_src_clk get failed
[ 12.334772] msm_camera_power_up: clk enable failed
[ 12.339546] msm_camera_power_up:1350 failed
[ 12.428591] failed rc -517
[ 12.430280] platform 20.qcom,eeprom: Driver qcom,eeprom requests probe deferral
[ 12.439264] g_sctrl[0] ffffffc030df3000
[ 12.442351] g_sctrl[1] ffffffc030df4000[ 12.445722] mt9m114_init_module:1155
[ 12.449682] mt9m114_init_module:1160 rc -19
[ 12.453503] ov5645_init_module:557
[ 12.501048] msm_cci_init: Failed in getting TOP gdscr regulator handle
[ 12.506705] msm_cci_init:763: hw_version = 0x10000008
[ 12.512110] msm_cci_irq:930 MASTER_0 error 0x10000000
[ 12.516717] msm_cci_i2c_read:428 read_words = 0, exp words = 1
[ 12.522541] msm_cci_i2c_read_bytes:506 failed rc -22
[ 12.527450] msm_camera_cci_i2c_read: line 48 rc = -22
[ 12.532612] msm_sensor_match_id: ov5645: read id failed
[ 12.537693] msm_sensor_check_id:1336 match id failed rc -22
[ 12.655319] msm_cci_init: Failed in getting TOP gdscr regulator handle
[ 12.660926] msm_cci_init:763: hw_version = 0x10000008
[ 12.666394] msm_cci_irq:930 MASTER_0 error 0x10000000
[ 12.670984] msm_cci_i2c_read:428 read_words = 0, exp words = 1
[ 12.676807] msm_cci_i2c_read_bytes:506 failed rc -22
[ 12.681719] msm_camera_cci_i2c_read: line 48 rc = -22
[ 12.686803] msm_sensor_match_id: ov5645: read id failed
[ 12.691962] msm_sensor_check_id:1336 match id failed rc -22
[ 12.805262] msm_cci_init: Failed in getting TOP gdscr regulator handle
[ 12.810866] msm_cci_init:763: hw_version = 0x10000008
[ 12.816337] msm_cci_irq:930 MASTER_0 error 0x10000000
[ 12.820928] msm_cci_i2c_read:428 read_words = 0, exp words = 1
[ 12.826752] msm_cci_i2c_read_bytes:506 failed rc -22
[ 12.831663] msm_camera_cci_i2c_read: line 48 rc = -22
[ 12.836734] msm_sensor_match_id: ov5645: read id failed
[ 12.841905] msm_sensor_check_id:1336 match id failed rc -22
[ 12.912337] msm_sensor_platform_probe ov5645 power up failed
[ 12.916971] ovti,ov5645: probe of 78.qcom,camera failed with error -22
[ 12.923523] ov7695_init_module:315
[ 12.927324] ov13850_init_module:253
[ 12.930747] ov13850_init_module:260 rc -19
Can any one help on this? we tried enabling the cam_src_clk forcefully but found no change.
thanks in advance,
Regards,
Chaithra