rockchip-linux / kernel

BSP kernel source
Other
953 stars 1.11k forks source link

CIF_MIPI errors #141

Open teseo-sw opened 5 years ago

teseo-sw commented 5 years ago

When trying to capture from camera with:

$ v4l2-ctl --set-fmt-video=width=2112,height=1568,pixelformat=NV12 --stream-mmap --stream-count=1000 -d /dev/video3

I get a lot of messages like these:

[   25.768683] cif_isp10_mipi_isr WARN: CIF_MIPI_ERR_CSI: 0x200002
[   25.768684] cif_isp10_mipi_isr WARN: CIF_MIPI_SYNC_FIFO_OVFLW: 0x200002
[   25.768686] cif_isp10_mipi_isr(6867) ERR: mipi_mis icr err: 0x2
[   25.768692] cif_isp10_mipi_isr WARN: CIF_MIPI_ERR_CSI: 0x200002
[   25.768693] cif_isp10_mipi_isr WARN: CIF_MIPI_SYNC_FIFO_OVFLW: 0x200002
[   25.775235] cif_isp10_mipi_isr WARN: CIF_MIPI_ERR_CSI: 0x1200002
[   25.775236] cif_isp10_mipi_isr WARN: CIF_MIPI_SYNC_FIFO_OVFLW: 0x1200002
[   25.775238] cif_isp10_mipi_isr(6867) ERR: mipi_mis icr err: 0x2
[   25.775244] cif_isp10_mipi_isr WARN: CIF_MIPI_ERR_CSI: 0x200002
[   25.775245] cif_isp10_mipi_isr WARN: CIF_MIPI_SYNC_FIFO_OVFLW: 0x200002
[   25.775247] cif_isp10_mipi_isr(6867) ERR: mipi_mis icr err: 0x2
[   25.775254] cif_isp10_mipi_isr WARN: CIF_MIPI_SYNC_FIFO_OVFLW: 0x2
[   25.775261] cif_isp10_mipi_isr WARN: CIF_MIPI_ERR_CSI: 0x200002
[   25.775262] cif_isp10_mipi_isr WARN: CIF_MIPI_SYNC_FIFO_OVFLW: 0x200002
[   25.775264] cif_isp10_mipi_isr(6867) ERR: mipi_mis icr err: 0x2
[   25.775270] cif_isp10_mipi_isr WARN: CIF_MIPI_SYNC_FIFO_OVFLW: 0x2
[   25.775276] cif_isp10_mipi_isr WARN: CIF_MIPI_ERR_CSI: 0x200002

I'm using a OV13850 sensor with the latest kernel (4.4.154) on a custom RK3288 board.

sunny0917 commented 5 years ago

我也遇到了这个问题,不知道怎么解决,老感觉clk不对,或者硬件有问题

teseo-sw commented 5 years ago

We managed to somewhat reduce the number of MIPI errors using a MIPI DPHY retimer (SN75DPHY440SS). Still, we get errors occasionally. Any hints @rkhuangtao, @zengyiqing, @wenleo, @Caesar-github ?

rkchrome commented 5 years ago

Please check the isp clk

teseo-sw commented 5 years ago

@rkchrome What should I check exactly? Here is a complete dmesg for a single frame capture on an OV13850:

$ v4l2-ctl --set-fmt-video=width=2112,height=1568,pixelformat=NV12 --stream-mmap --stream-count=1 -d /dev/video3
[  211.152174] cif_isp10_v4l2_open: video device video3.3 (rkisp10_mainpath)
[  211.152269] cif_isp10_init: 0x00000002
[  211.152331] ov13850.ov_camera_module_ioctl: cmd: 0x1
[  211.152380] ov13850.pltfrm_camera_module_ioctl: cmd: 0x1
[  211.152448] cif_isp10_s_input: setting input to CSI, [w-h]=[2112-1568], defrect=[0-0-2112-1568]
[  211.152494] ov13850.ov_camera_module_ioctl: cmd: 0x1
[  211.152536] ov13850.pltfrm_camera_module_ioctl: cmd: 0x1
[  211.152587] ov13850.ov_camera_module_enum_frameintervals: 0
[  211.152630] ov13850.ov_camera_module_ioctl: cmd: 0x2
[  211.152670] ov13850.pltfrm_camera_module_ioctl: cmd: 0x2
[  211.152716] ov13850.ov_camera_module_enum_frameintervals: 1
[  211.152758] ov13850.ov_camera_module_ioctl: cmd: 0x2
[  211.152798] ov13850.pltfrm_camera_module_ioctl: cmd: 0x2
[  211.152841] ov13850.ov_camera_module_enum_frameintervals: 2
[  211.152915] cif_isp10_img_src_select_strm_fmt: requesting format BAYER BGGR10 2112x1568(0,0,2112,1568)@30/1fps from ov13850
[  211.152972] ov13850.ov_camera_module_s_fmt: 2112x1568, fmt code 0x3007
[  211.153024] ov13850.ov_camera_module_find_config: 2112x1568, fmt code 0x3007
[  211.153070] ov13850.ov_camera_module_find_config: found matching config 2112x1568_30fps
[  211.153119] ov13850.ov_camera_module_find_config: 2112x1568, fmt code 0x3007
[  211.153166] ov13850.ov_camera_module_find_config: frame interval 1/30
[  211.153211] ov13850.ov_camera_module_find_config: found matching config 2112x1568_30fps
[  211.153251] ov13850.ov_camera_module_set_active_config: 
[  211.153304] ov13850.ov_camera_module_s_frame_interval: 1/30 (30fps)
[  211.153354] ov13850.ov_camera_module_find_config: 2112x1568, fmt code 0x3007
[  211.153401] ov13850.ov_camera_module_find_config: frame interval 1/30
[  211.153447] ov13850.ov_camera_module_find_config: found matching config 2112x1568_30fps
[  211.153497] ov13850.ov_camera_module_g_ctrl:  id 0x981981
[  211.153542] ov13850.ov_camera_module_g_ctrl: RK_V4L2_CID_VBLANKING 5000
[  211.154182] cif_isp10_v4l2_s_fmt: VIDEO_CAPTURE
[  211.154235] cif_isp10_s_fmt: MP
[  211.154300] cif_isp10_s_fmt_mp: YUV420SP 2112x1568@-17970434/-310448128fps, stride = 0, quantization: 0
[  211.154346] cif_isp10_s_fmt_mp: mp llength=0x840
[  211.154393] ov13850.ov_camera_module_enum_frameintervals: 0
[  211.154439] ov13850.ov_camera_module_ioctl: cmd: 0x2
[  211.154483] ov13850.pltfrm_camera_module_ioctl: cmd: 0x2
[  211.154529] ov13850.ov_camera_module_enum_frameintervals: 1
[  211.154570] ov13850.ov_camera_module_ioctl: cmd: 0x2
[  211.154611] ov13850.pltfrm_camera_module_ioctl: cmd: 0x2
[  211.154654] ov13850.ov_camera_module_enum_frameintervals: 2
[  211.154723] cif_isp10_img_src_select_strm_fmt: requesting format BAYER BGGR10 2112x1568(0,0,2112,1568)@30/1fps from ov13850
[  211.154778] ov13850.ov_camera_module_s_fmt: 2112x1568, fmt code 0x3007
[  211.154828] ov13850.ov_camera_module_find_config: 2112x1568, fmt code 0x3007
[  211.154874] ov13850.ov_camera_module_find_config: found matching config 2112x1568_30fps
[  211.154924] ov13850.ov_camera_module_find_config: 2112x1568, fmt code 0x3007
[  211.154969] ov13850.ov_camera_module_find_config: frame interval 1/30
[  211.155013] ov13850.ov_camera_module_find_config: found matching config 2112x1568_30fps
[  211.155053] ov13850.ov_camera_module_set_active_config: 
[  211.155103] ov13850.ov_camera_module_s_frame_interval: 1/30 (30fps)
[  211.155152] ov13850.ov_camera_module_find_config: 2112x1568, fmt code 0x3007
[  211.155197] ov13850.ov_camera_module_find_config: frame interval 1/30
[  211.155242] ov13850.ov_camera_module_find_config: found matching config 2112x1568_30fps
[  211.155290] ov13850.ov_camera_module_g_ctrl:  id 0x981981
[  211.155334] ov13850.ov_camera_module_g_ctrl: RK_V4L2_CID_VBLANKING 5000
[  211.155376] cif_isp10_calc_min_out_buff_size: MP
[  211.155418] cif_isp10_calc_min_out_buff_size: mi_path->llength: 0x840
[  211.155460] cif_isp10_calc_min_out_buff_size: calculated buffer size: 4967424
[  211.155663] cif_isp10_v4l2_vb2_queue_setup: VIDEO_CAPTURE request planes 0 count 4, size 0
[  211.155710] cif_isp10_calc_min_out_buff_size: MP
[  211.155752] cif_isp10_calc_min_out_buff_size: mi_path->llength: 0x840
[  211.155793] cif_isp10_calc_min_out_buff_size: calculated buffer size: 4967424
[  211.155841] cif_isp10_v4l2_vb2_queue_setup: VIDEO_CAPTURE count 4, size 4967424
[  211.229622] cif_isp10_v4l2_streamon: VIDEO_CAPTURE(1)
[  211.238888] cif_isp10_v4l2_vb2_queue: buffer type VIDEO_CAPTURE
[  211.238923] cif_isp10_calc_min_out_buff_size: MP
[  211.238951] cif_isp10_calc_min_out_buff_size: mi_path->llength: 0x840
[  211.238977] cif_isp10_calc_min_out_buff_size: calculated buffer size: 4967424
[  211.248176] cif_isp10_v4l2_vb2_queue: buffer type VIDEO_CAPTURE
[  211.248204] cif_isp10_calc_min_out_buff_size: MP
[  211.248229] cif_isp10_calc_min_out_buff_size: mi_path->llength: 0x840
[  211.248254] cif_isp10_calc_min_out_buff_size: calculated buffer size: 4967424
[  211.257423] cif_isp10_v4l2_vb2_queue: buffer type VIDEO_CAPTURE
[  211.257451] cif_isp10_calc_min_out_buff_size: MP
[  211.257476] cif_isp10_calc_min_out_buff_size: mi_path->llength: 0x840
[  211.257501] cif_isp10_calc_min_out_buff_size: calculated buffer size: 4967424
[  211.266542] cif_isp10_v4l2_vb2_queue: buffer type VIDEO_CAPTURE
[  211.266565] cif_isp10_calc_min_out_buff_size: MP
[  211.266588] cif_isp10_calc_min_out_buff_size: mi_path->llength: 0x840
[  211.266612] cif_isp10_calc_min_out_buff_size: calculated buffer size: 4967424
[  211.266654] cif_isp10_streamon: SP state = DISABLED, MP state = READY, DMA state = INACTIVE, streamon SP = 0, streamon MP = 1, streamon DMA = 0
[  211.266694] cif_isp10_config_cif: config MP = 1, config SP = 0, img_src state = OFF, PM state = OFF, SP state = DISABLED, MP state = READY
[  211.266721] cif_isp10_set_pm_state: OFF -> STANDBY
[  211.267068] cif_isp10_runtime_resume: 
[  211.267090] cif_isp10_pltfrm_pm_set_state: successfully changed pm state to CIF_ISP10_PM_STATE_SW_STNDBY
[  211.267099] cif_isp10_config_img_src: 
[  211.267105] cif_isp10_img_src_set_state: OFF -> SW_STNDBY
[  211.267113] ov13850.ov_camera_module_s_power: 1
[  211.267120] ov13850.pltfrm_camera_module_s_power: on
[  211.267125] ov13850.tcam_camera_module_reset: reset
[  211.267509] tcam_pca6408a_set_out: 0x20
[  211.287220] tcam_pca6408a_set_out: 0x30
[  211.306851] ov13850.tcam_camera_module_standby: standby: enable=0
[  211.307226] tcam_pca6408a_set_out: 0x30
[  211.307238] ov13850.ov_camera_module_ioctl: cmd: 0x1
[  211.307244] ov13850.pltfrm_camera_module_ioctl: cmd: 0x1
[  211.307262] ov13850.pltfrm_camera_module_s_power: set PM state to 1 successful, camera module is on
[  211.332300] ov13850.ov_camera_module_write_config: 
[  211.332313] ov13850.ov_camera_module_write_config: write config 2112x1568_30fps
[  211.332343] ov13850.pltfrm_camera_module_write_reglist: messages transfers 1 0xee9f0000 msg 242 bytes 726
[  211.457029] ov13850.pltfrm_camera_module_write_reglist: i2c_transfer return 242
[  211.457110] ov13850.pltfrm_camera_module_patch_config: pix_fmt 12295, 2112x1568@30/1fps
[  211.457165] ov13850.ov_camera_module_s_power: camera powered on
[  211.457218] ov13850.ov_camera_module_ioctl: cmd: 0x1
[  211.457264] ov13850.pltfrm_camera_module_ioctl: cmd: 0x1
[  211.457310] ov13850.ov_camera_module_ioctl: cmd: 0x805876c0
[  211.457370] cif_isp10_config_img_src: cam_itf: (type: 0x10000000, dphy: 1, vc: 0, nb_lanes: 2, bitrate: 600)
[  211.457411] cif_isp10_config_cif: CIF_ID 0x10853017
[  211.457606] cif_isp10_dma_detach_device: camsys_drm_dma_detach_device
[  211.457840] cif_isp10_dma_attach_device: camsys_drm_dma_attach_device
[  211.458065] cif_isp10_config_clk: 
[  211.458065]   CIF_CCL 0x00000000
[  211.458065]   CIF_ICCL 0x0000187b
[  211.458157] cif_isp10_config_mipi: input CSI, vc = 0, nb_lanes = 2
[  211.458796] cif_isp10_config_mipi: 
[  211.458796]   MIPI_CTRL 0x00061f00
[  211.458796]   MIPI_IMG_DATA_SEL 0x0000002b
[  211.458796]   MIPI_STATUS 0x00002000
[  211.458796]   MIPI_IMSC 0x03f33333
[  211.458913] cifisp_configure_isp
[  211.459047] cif_isp10_config_isp: 
[  211.459047]   ISP_CTRL 0x00000006
[  211.459047]   ISP_IMSC 0x0004c07a
[  211.459047]   ISP_ACQ_PROP 0x00002018
[  211.459047]   ISP_ACQ 2112x1568@(0,0)
[  211.459047]   ISP_OUT 2112x1568@(0,0)
[  211.459047]   ISP_IS 4096x3072@(0,0)
[  211.459240] cif_isp10_config_ism: 
[  211.459240]   ISP_IS_H_OFFS 0/0
[  211.459240]   ISP_IS_V_OFFS 0/0
[  211.459240]   ISP_IS_H_SIZE 2112/2112
[  211.459240]   ISP_IS_V_SIZE 1568/1568
[  211.459240]   ISP_IS_RECENTER 0x00000000
[  211.459240]   ISP_IS_MAX_DX 0
[  211.459240]   ISP_IS_MAX_DY 0
[  211.459240]   ISP_IS_DISPLACE 0x00000000
[  211.459240]   ISP_IS_CTRL 0x00000000
[  211.459386] cif_isp10_config_mp: 
[  211.459591] cif_isp10_config_rsz: MP YUV422I 2112x1568 -> YUV420I 2112x1568
[  211.459641] cif_isp10_config_rsz: chroma scaling 1056x1568 -> 1056x784
[  211.459775] cif_isp10_config_rsz: 
[  211.459775]   MRSZ_CTRL 0x00000008/0x00000008
[  211.459775]   MRSZ_SCALE_HY 0/0
[  211.459775]   MRSZ_SCALE_HCB 0/0
[  211.459775]   MRSZ_SCALE_HCR 0/0
[  211.459775]   MRSZ_SCALE_VY 0/0
[  211.459775]   MRSZ_SCALE_VC 32748/32748
[  211.459775]   MRSZ_PHASE_HY 0/0
[  211.459775]   MRSZ_PHASE_HC 0/0
[  211.459775]   MRSZ_PHASE_VY 0/0
[  211.459775]   MRSZ_PHASE_VC 0/0
[  211.459952] cif_isp10_config_mi_mp: YUV420SP 2112x1568, llength = 2112
[  211.460061] cif_isp10_config_mi_mp: 
[  211.460061]   MI_CTRL 0x007a2000
[  211.460061]   MI_STATUS 0x00000000
[  211.460061]   MI_MP_Y_SIZE 3311616
[  211.460061]   MI_MP_CB_SIZE 1655808
[  211.460061]   MI_MP_CR_SIZE 1655808
[  211.460061]   MI_XTD_FORMAT_CTRL 0
[  211.460169] cif_isp10_config_path: 
[  211.460211] cif_isp10_config_path: CIF_DPCL 0x00000205
[  211.460278] cif_isp10_start: SP state = DISABLED, MP state = READY, DMA state = INACTIVE, img_src state = SW_STNDBY, start_sp = 0, start_mp = 1
[  211.460319] cif_isp10_start_mi: 
[  211.460362] cif_isp10_mi_frame_end: MP
[  211.460413] cif_isp10_mi_frame_end: MP Y_BASE_AD_INIT/Y_BASE_AD_SHD (0x00000000/0x00000000)
[  211.460468] cif_isp10_update_mi_mp: curr 0xffffffff next 0xff800000
[  211.460509] cif_isp10_update_mi_mp: enabling MP MI
[  211.460627] cif_isp10_mi_update_buff_addr: 
[  211.460627]   MI_MP_Y_BASE_AD 0xff800000/0x00000000
[  211.460627]   MI_MP_CB_BASE_AD 0xffb28800/0x00000000
[  211.460627]   MI_MP_CR_BASE_AD 0xffb28800/0x00000000
[  211.460724] cif_isp10_mi_frame_end: MP curr_buff: -1, 0xffffffff next_buf: 0, 0xff800000
[  211.460766] cif_isp10_start_mi: CIF_MI_INIT_SOFT_UPD
[  211.460805] cif_isp10_mi_frame_end: MP
[  211.460855] cif_isp10_mi_frame_end: MP Y_BASE_AD_INIT/Y_BASE_AD_SHD (0xff800000/0xff800000)
[  211.460904] cif_isp10_update_mi_mp: curr 0xff800000 next 0xff000000
[  211.461006] cif_isp10_mi_update_buff_addr: 
[  211.461006]   MI_MP_Y_BASE_AD 0xff000000/0xff800000
[  211.461006]   MI_MP_CB_BASE_AD 0xff328800/0xffb28800
[  211.461006]   MI_MP_CR_BASE_AD 0xff328800/0xffb28800
[  211.461084] cif_isp10_mi_frame_end: current buffer scatter list: 
[  211.461135] cif_isp10_mi_frame_end: dma_addr: 0xff800000  tmp_phy: 0x2c400000 length: 00400000
[  211.461192] cif_isp10_mi_frame_end: dma_addr: 0xffc00000  tmp_phy: 0x2d380000 length: 00080000
[  211.461245] cif_isp10_mi_frame_end: dma_addr: 0xffc80000  tmp_phy: 0x2d340000 length: 00030000
[  211.461297] cif_isp10_mi_frame_end: dma_addr: 0xffcb0000  tmp_phy: 0x2d338000 length: 0000d000
[  211.461353] cif_isp10_mi_frame_end: MP curr_buff: 0, 0xff800000 next_buf: 1, 0xff000000
[  211.461408] cif_isp10_set_pm_state: STANDBY -> STREAMING
[  211.462464] ov13850.ov_camera_module_ioctl: cmd: 0x805876c0
[  211.462516] cif_isp10_img_src_set_state: SW_STNDBY -> STREAMING
[  211.462562] ov13850.ov_camera_module_s_stream: 1
[  211.462609] ov13850.ov13850_start_streaming: active config=2112x1568_30fps
[  211.486530] ov13850.ov13850_get_system_clock: pre_divp=1, pre_div=15, mul=40
[  211.486606] ov13850.ov13850_get_system_clock: PLL1=320Mhz ((12000000 / 1 * 10) / 15 * 40)
[  211.512171] ov13850.ov13850_get_system_clock: pre_divp=1, pre_div=10, mul=40
[  211.512180] ov13850.ov13850_get_system_clock: PLL2=480Mhz ((12000000 / 1 * 10) / 10 * 40)
[  211.512187] ov13850.ov13850_get_system_clock: sys_pre_div=8, sys_div=20
[  211.512194] ov13850.ov13850_get_system_clock: SCLK=30Mhz (480Mhz / 8 * 10 / 20))
[  211.512200] ov13850.ov13850_get_system_clock: dac_div=4
[  211.512206] ov13850.ov13850_get_system_clock: DACCLK=120Mhz (480Mhz / 4)
[  211.512212] ov13850.ov13850_get_system_clock: mdiv=1, mipi_div=8
[  211.512219] ov13850.ov13850_get_system_clock: MIPI_PCLK=40Mhz (320Mhz / (1 * 8))
[  211.512225] ov13850.ov13850_get_system_clock: mdiv=1
[  211.512232] ov13850.ov13850_get_system_clock: MIPI_SCLK=320Mhz (320Mhz / 1), lanes 2 (1111)
[  211.512712] ov13850.pltfrm_camera_module_write_reg: i2c write to offset 0x00000100 success
[  211.546862] cif_isp10_start: SP state = DISABLED, MP state = STREAMING, DMA state = INACTIVE, img_src state = STREAMING
[  211.546862]   MI_CTRL 0x007a2001
[  211.546862]   ISP_CTRL 0x00000017
[  211.546862]   MIPI_CTRL 0x00061f01
[  211.546878] cif_isp10_streamon: SP state = DISABLED, MP state = STREAMING, DMA state = INACTIVE
[  211.646289] cif_isp10_isp_isr: ISP_MIS 00000040, ISP_RIS 000000c0, ISP_IMSC 0004c07a
[  211.646367] cif_isp10_isp_isr: CIF_ISP_CTRL_ISP_GEN_CFG_UPD
[  211.709016] cif_isp10_isp_isr: ISP_MIS 00000022, ISP_RIS 000000a2, ISP_IMSC 0004c07a
[  211.709274] cif_isp10_mi_isr: 
[  211.709274]   MI_RIS 0x0000003d
[  211.709274]   MI_IMSC 0x00000001
[  211.709274]   MI_MIS 0x00000001
[  211.709367] cif_isp10_mi_frame_end: MP
[  211.709420] cif_isp10_mi_frame_end: MP Y_BASE_AD_INIT/Y_BASE_AD_SHD (0xff000000/0xff000000)
[  211.725207] cif_isp10_mi_frame_end: frame done
[  211.725263] cif_isp10_update_mi_mp: curr 0xff000000 next 0xfe800000
[  211.725371] cif_isp10_mi_update_buff_addr: 
[  211.725371]   MI_MP_Y_BASE_AD 0xfe800000/0xff000000
[  211.725371]   MI_MP_CB_BASE_AD 0xfeb28800/0xff328800
[  211.725371]   MI_MP_CR_BASE_AD 0xfeb28800/0xff328800
[  211.725404] cif_isp10_v4l2_dqbuf: dequeued buffer 0, size 4967424
[  211.725500] cif_isp10_mi_frame_end: current buffer scatter list: 
[  211.725553] cif_isp10_mi_frame_end: dma_addr: 0xff000000  tmp_phy: 0x2c000000 length: 00400000
[  211.725608] cif_isp10_mi_frame_end: dma_addr: 0xff400000  tmp_phy: 0x2bc00000 length: 000a0000
[  211.725658] cif_isp10_mi_frame_end: dma_addr: 0xff4a0000  tmp_phy: 0x2d370000 length: 00010000
[  211.725708] cif_isp10_mi_frame_end: dma_addr: 0xff4b0000  tmp_phy: 0x2bca0000 length: 0000d000
[  211.725766] cif_isp10_mi_frame_end: MP curr_buff: 1, 0xff000000 next_buf: 2, 0xfe800000
[  211.725917] cif_isp10_isp_isr: ISP_MIS 00000040, ISP_RIS 000000c0, ISP_IMSC 0004c07a
[  211.725969] cif_isp10_isp_isr: CIF_ISP_CTRL_ISP_GEN_CFG_UPD
[  211.739640] cif_isp10_v4l2_vb2_queue: buffer type VIDEO_CAPTURE
[  211.739647] cif_isp10_calc_min_out_buff_size: MP
[  211.739653] cif_isp10_calc_min_out_buff_size: mi_path->llength: 0x840
[  211.739659] cif_isp10_calc_min_out_buff_size: calculated buffer size: 4967424
[  211.739754] cif_isp10_v4l2_do_streamoff: VIDEO_CAPTURE
[  211.739765] cif_isp10_streamoff: SP state = DISABLED, MP state = STREAMING, DMA state = INACTIVE, streamoff SP = 0, streamoff MP = 1, streamoff DMA = 0
[  211.739778] cif_isp10_stop: SP state = DISABLED, MP state = STREAMING, img_src state = STREAMING, stop_sp = 0, stop_mp = 1
[  211.775494] cif_isp10_isp_isr: ISP_MIS 00000020, ISP_RIS 000000a0, ISP_IMSC 0004c07a
[  211.775534] cif_isp10_isp_isr: ISP_MIS 00000002, ISP_RIS 00000082, ISP_IMSC 0004c07a
[  211.775550] cif_isp10_mi_isr: 
[  211.775550]   MI_RIS 0x00000035
[  211.775550]   MI_IMSC 0x00000001
[  211.775550]   MI_MIS 0x00000001
[  211.775562] cif_isp10_stop_mi: 
[  211.775572] cif_isp10_mi_isr: MP has stopped
[  211.775600] cif_isp10_stop_dma: 
[  211.775628] cif_isp10_isp_isr: ISP_MIS 00000001, ISP_RIS 00000001, ISP_IMSC 00000001
[  211.775634] cif_isp10_isp_isr: ISP Stop Interrupt!
[  211.775656] cif_isp10_img_src_set_state: STREAMING -> SW_STNDBY
[  211.775663] ov13850.ov_camera_module_s_stream: 0
[  211.775669] ov13850.ov13850_stop_streaming: 
[  211.776152] ov13850.pltfrm_camera_module_write_reg: i2c write to offset 0x00000100 success
[  211.806854] ov13850.ov_camera_module_ioctl: cmd: 0x805876c0
[  211.856846] cif_isp10_set_pm_state: STREAMING -> STANDBY
[  211.856854] cif_isp10_qbuf: MP
[  211.856860] cif_isp10_qbuf: MP
[  211.856865] cif_isp10_qbuf: MP
[  211.856870] cif_isp10_qbuf: MP
[  211.856881] cif_isp10_stop: SP state = DISABLED, MP state = READY, DMA state = INACTIVE, img_src state = SW_STNDBY
[  211.856881]   MI_CTRL 0x007a2000
[  211.856881]   ISP_CTRL 0x00000006
[  211.856881]   MIPI_CTRL 0x00061f00
[  211.856893] cif_isp10_streamoff: SP state = DISABLED, MP state = READY, DMA state = INACTIVE, # frames received = 2
[  211.878409] cif_isp10_v4l2_release: VIDEO_CAPTURE
[  211.878473] cif_isp10_release: 0x00000002
[  211.878523] cif_isp10_set_pm_state: STANDBY -> OFF
[  211.878590] cif_isp10_runtime_suspend: 
[  211.878680] cif_isp10_pltfrm_pm_set_state: successfully changed pm state to CIF_ISP10_PM_STATE_SUSPENDED
[  211.878810] cif_isp10_img_src_set_state: SW_STNDBY -> OFF
[  211.878861] ov13850.ov_camera_module_s_power: 0
[  211.878906] ov13850.pltfrm_camera_module_s_power: off
[  211.879138] ov13850.tcam_camera_module_standby: standby: enable=1
[  211.879509] tcam_pca6408a_set_out: 0x10
[  211.879517] ov13850.pltfrm_camera_module_s_power: set PM state to 0 successful, camera module is off
[  211.879522] ov13850.ov_camera_module_reset: 
[  211.879528] ov13850.ov_camera_module_s_power: camera powered off