Thanks @Loic
I made some changes to i2c-qcom-cci.c driver(removed return -ETIMEDOUT in cci_run_queue API) and now master 1 bus is up and detecting the ov5645 camera sensor(CCI1 and CSI1).
[ 35.273784] ov5645 5-003c: OV5645 detected at address 0x3c
using these commands for camera preview,
media-ctl -d /dev/media0 -l ‘“msm_csiphy1”:1->“msm_csid1”:0[1],“msm_csid1”:1->“msm_ispif1”:0[1],“msm_ispif1”:1->“msm_vfe0_rdi1”:0[1]’
media-ctl -d /dev/media0 -V ‘“ov5645 5-003c”:0[fmt:UYVY2X8/1920x1080 field:none],“msm_csiphy1”:0[fmt:UYVY2X8/1920x1080 field:none],“msm_csid1”:0[fmt:UYVY2X8/1920x1080 field:none],“msm_ispif1”:0[fmt:UYVY2X8/1920x1080 field:none],“msm_vfe0_rdi1”:0[fmt:UYVY2X8/1920x1080 field:none]’
gst-launch-1.0 v4l2src device=/dev/video1 ! ‘video/x-raw,format=UYVY,width=1920,height=1080,framerate=30/1’ ! glimagesink
but seems no preview. is there anything wrong with the commands?
dmesg logs after running above commands in capure script,
[ 293.707894] qcom-camss a34000.camss: CSIPHY 3PH HW Version = 0x10000000
[ 293.708258] qcom-camss a34000.camss: VFE HW Version = 0x70020000
[ 293.714623] qcom-camss a34000.camss: VFE HW Version = 0x70020000
[ 293.720109] qcom-camss a34000.camss: VFE HW Version = 0x70020000
[ 293.726059] qcom-camss a34000.camss: VFE HW Version = 0x70020000
[ 293.732065] qcom-camss a34000.camss: VFE HW Version = 0x70020000
[ 293.738022] qcom-camss a34000.camss: VFE HW Version = 0x70020000
[ 293.744025] qcom-camss a34000.camss: VFE HW Version = 0x70020000
[ 294.034433] qcom-camss a34000.camss: CSIPHY 3PH HW Version = 0x10000000
[ 294.034756] qcom-camss a34000.camss: VFE HW Version = 0x70020000
after ctrl+c
[ 313.637437] qcom-camss a34000.camss: VFE sof timeout
[ 314.149327] qcom-camss a34000.camss: VFE reg update timeout
Thanks,
Arun