[ 23.919942] adv7180 0-0021: chip found @ 0x21 (OMAP I2C adapter) [ 23.934920] vip1-s1: vip_async_bound [ 23.934932] vip1-s1: Port B: Using subdev adv7180 0-0021 for capture [ 23.941316] vip1-s1: subdev adv7180 0-0021: code: 2006 idx: 0 [ 23.941325] vip1-s1: matched fourcc: NV12: code: 2006 idx: 0 [ 23.941333] vip1-s1: matched fourcc: UYVY: code: 2006 idx: 1 [ 23.941341] vip1-s1: matched fourcc: YUYV: code: 2006 idx: 2 [ 23.941348] vip1-s1: matched fourcc: VYUY: code: 2006 idx: 3 [ 23.941354] vip1-s1: matched fourcc: YVYU: code: 2006 idx: 4 [ 23.941361] vip1-s1: matched fourcc: RGB3: code: 2006 idx: 5 [ 23.941368] vip1-s1: matched fourcc: RGB4: code: 2006 idx: 6 [ 23.941374] vip1-s1: matched fourcc: BGR3: code: 2006 idx: 7 [ 23.941380] vip1-s1: matched fourcc: BGR4: code: 2006 idx: 8 [ 23.942762] vip1-s1: device registered as video0 [ 23.947532] vip1-s1: vip_async_complete [ 23.951625] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm [ 23.959942] vip1-s1: vip_open [ 23.959962] vip1-s1: vip_init_port: g_mbus_fmt subdev mbus_code: 2006 fourcc:NV12 size: 720x576 [ 23.959977] vip1-s1: calc_format_size: fourcc:NV12 size: 720x576 bpl:720 img_size:622080 [ 23.959987] vip1-s1: init_stream fourcc:NV12 size: 720x576 bpl:720 img_size:622080 [ 23.959995] vip1-s1: init_stream vpdma data type: 0x02 [ 23.960004] vip1-s1: vip_init_stream: stream instance 0xedce2000 [ 23.960021] video0: VIDIOC_QUERYCAP: driver=vip, card=vip, bus=platform:vip, version=0x00040454, capabilities=0x85200001, device_caps=0x05200001 [ 23.960148] vip1-s1: vip_release [ 23.960161] vip1-s1: vip_release_stream: stream instance 0xedce2000 [ 23.960170] vip1-s1: vip_release_port: port instance 0xeead5c10 [ 23.963382] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm [ 23.970765] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517 [ 25.891822] vip1-s1: vip_open [ 25.891844] vip1-s1: vip_init_port: g_mbus_fmt subdev mbus_code: 2006 fourcc:NV12 size: 720x576 [ 25.891858] vip1-s1: calc_format_size: fourcc:NV12 size: 720x576 bpl:720 img_size:622080 [ 25.891867] vip1-s1: init_stream fourcc:NV12 size: 720x576 bpl:720 img_size:622080 [ 25.891874] vip1-s1: init_stream vpdma data type: 0x02 [ 25.891884] vip1-s1: vip_init_stream: stream instance 0xedce2000 [ 25.891993] video0: VIDIOC_QUERYCAP: driver=vip, card=vip, bus=platform:vip, version=0x00040454, capabilities=0x85200001, device_caps=0x05200001 [ 25.892044] vip1-s1: s_fmt input fourcc:UYVY size: 720x576 [ 25.892054] vip1-s1: try_fmt fourcc:UYVY size: 720x576 [ 25.892065] vip1-s1: try_fmt loop:0 fourcc:UYVY size: -335545356x-485097464 [ 25.892073] vip1-s1: try_fmt best subdev size: 0x0 [ 25.892081] vip1-s1: calc_format_size: fourcc:UYVY size: 128x128 bpl:256 img_size:32768 [ 25.892088] vip1-s1: s_fmt try_fmt fourcc:UYVY size: 128x128 [ 25.892096] vip1-s1: s_fmt fourcc:UYVY size: 128x128 bpl:256 img_size:32768 [ 25.892104] vip1-s1: s_fmt pix_to_mbus mbus_code: 2006 size: 0x0 [ 25.892112] vip1-s1: s_fmt subdev fmt mbus_code: 2006 size: 720x576 [ 25.892118] vip1-s1: s_fmt vpdma data type: 0x27 [ 25.892123] video0: VIDIOC_S_FMT: type=vid-cap, width=128, height=128, pixelformat=UYVY, field=none, bytesperline=256, sizeimage=32768, colorspace=1, flags=0x0, ycbc0 [ 25.892175] vip1-s1: g_fmt fourcc:UYVY code: 2006 size: 128x128 bpl:256 img_size:32768 [ 25.892183] vip1-s1: g_fmt vpdma data type: 0x27 [ 25.892188] video0: VIDIOC_G_FMT: type=vid-cap, width=128, height=128, pixelformat=UYVY, field=none, bytesperline=256, sizeimage=32768, colorspace=1, flags=0x0, ycbc0 [ 25.892235] vip1-s1: get 4 buffer(s) of size 32768 each. [ 25.892583] vb2: __setup_offsets: buffer 0, plane 0 offset 0x00000000 [ 25.907880] vb2: __setup_offsets: buffer 1, plane 0 offset 0x00008000 [ 25.928523] vb2: __setup_offsets: buffer 2, plane 0 offset 0x00010000 [ 25.935062] vb2: __setup_offsets: buffer 3, plane 0 offset 0x00018000 [ 25.941532] vb2: __vb2_queue_alloc: allocated 4 buffers, 1 plane(s) each [ 25.948358] video0: VIDIOC_REQBUFS: count=4, type=vid-cap, memory=mmap [ 25.948521] video0: VIDIOC_QUERYBUF: 00:00:00.00000000 index=0, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=mmap, bytesused=0, offset/userptr=0x0, 8 [ 25.948553] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 25.948597] vb2: vb2_mmap: buffer 0, plane 0 successfully mapped [ 25.961305] video0: VIDIOC_QUERYBUF: 00:00:00.00000000 index=1, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=mmap, bytesused=0, offset/userptr=0x8008 [ 25.961334] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 25.961371] vb2: vb2_mmap: buffer 1, plane 0 successfully mapped [ 25.976297] video0: VIDIOC_QUERYBUF: 00:00:00.00000000 index=2, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=mmap, bytesused=0, offset/userptr=0x1008 [ 25.976325] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 25.976362] vb2: vb2_mmap: buffer 2, plane 0 successfully mapped [ 25.991360] video0: VIDIOC_QUERYBUF: 00:00:00.00000000 index=3, type=vid-cap, flags=0x00002000, field=any, sequence=0, memory=mmap, bytesused=0, offset/userptr=0x1808 [ 25.991388] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 [ 25.991423] vb2: vb2_mmap: buffer 3, plane 0 successfully mapped [ 26.006327] vb2: vb2_core_qbuf: qbuf of buffer 0 succeeded [ 26.018276] vb2: vb2_core_qbuf: qbuf of buffer 1 succeeded [ 26.024644] vb2: vb2_core_qbuf: qbuf of buffer 2 succeeded [ 26.030160] vb2: vb2_core_qbuf: qbuf of buffer 3 succeeded [ 26.035852] vip 48970000.vip: hs config: src_w = 720, dst_w = 128, decimation = 4x, lin_acc_inc = 0168d1a3 [ 26.035867] vip 48970000.vip: vs config(RAV): src_h = 576, dst_h = 128, factor = 227, acc_init = 00000155, acc_init_b = 00000000 [ 26.035879] config descriptor of payload class: address data block [ 26.035886] word2: payload_addr = 0xad0ef100 [ 26.035894] word3: pkt_type = 11, direct = 0, class = 0, dest = 0, payload_len = 13 [ 26.035901] vip1-s1: Added mmr_adb config desc [ 26.035909] config descriptor of payload class: simple block [ 26.035918] word0: dst_addr_offset = 0x00000000 [ 26.035923] word1: num_data_wrds = 1024 [ 26.035929] word2: payload_addr = 0xadcdd800 [ 26.035936] word3: pkt_type = 11, direct = 0, class = 1, dest = 8, payload_len = 64 [ 26.035942] vip1-s1: Added sc_coeff_h config desc [ 26.035949] config descriptor of payload class: simple block [ 26.035955] word0: dst_addr_offset = 0x00000040 [ 26.035961] word1: num_data_wrds = 1024 [ 26.035966] word2: payload_addr = 0xadcde000 [ 26.035973] word3: pkt_type = 11, direct = 0, class = 1, dest = 8, payload_len = 64 [ 26.035979] vip1-s1: Added sc_coeff_v config desc [ 26.035985] vip1-s1: CFD_SC_CLIENT 8 slice_id: 1 [ 26.035992] vip1-s1: Submitting desc on list# 0 [ 26.037123] vip1-s1: vip_set_slice_path: [ 26.037133] vip1-s1: vip_set_slice_path: DATA_PATH_SELECT(00000110): 20000018 [ 26.037139] vip1-s1: vip_set_slice_path: [ 26.037150] vip1-s1: vip_set_slice_path: DATA_PATH_SELECT(00000110): 70001018 [ 26.037156] vip1-s1: vip_set_slice_path: [ 26.037163] vip1-s1: vip_set_slice_path: DATA_PATH_SELECT(00000110): 90011018 [ 26.037169] vip1-s1: vip_set_slice_path: [ 26.037177] vip1-s1: vip_set_slice_path: DATA_PATH_SELECT(00000110): A0031018 [ 26.037183] vip1-s1: vip_set_slice_path: [ 26.037190] vip1-s1: vip_set_slice_path: DATA_PATH_SELECT(00000110): 50031018 [ 26.037476] outbound data transfer descriptor for channel 173 [ 26.037486] word0: data_type = 39, notify = 1, field = 0, 1D = 0, even_ln_skp = 0, odd_ln_skp = 0, line_stride = 256 [ 26.037493] word2: start_addr = 0x00000000 [ 26.037500] word3: pkt_type = 10, mode = 0, dir = 1, chan = 173, pri = 0, next_chan = 173 [ 26.037508] word4: desc_write_addr = 0x00000000, write_desc = 0, drp_data = 0, use_desc_reg = 0 [ 26.037516] word5: max_width 2, max_height 2 [ 26.037522] word6: client specific attr0 = 0x00000000 [ 26.037528] word7: client specific attr1 = 0x00000000 [ 26.037537] vip1-s1: vip_load_vpdma_list_fifo: start_dma vb2 buf idx:0 [ 26.037545] vip1-s1: start_dma: vb2 buf idx:0, dma_addr:0xbe448000 [ 26.037552] outbound data transfer descriptor for channel 173 [ 26.037560] word0: data_type = 39, notify = 1, field = 0, 1D = 0, even_ln_skp = 0, odd_ln_skp = 0, line_stride = 256 [ 26.037567] word2: start_addr = 0xbe448000 [ 26.037574] word3: pkt_type = 10, mode = 0, dir = 1, chan = 173, pri = 0, next_chan = 173 [ 26.037581] word4: desc_write_addr = 0xadcdfde0, write_desc = 1, drp_data = 0, use_desc_reg = 0 [ 26.037588] word5: max_width 2, max_height 2 [ 26.037593] word6: client specific attr0 = 0x00000000 [ 26.037601] word7: client specific attr1 = 0x00000000 [ 26.038726] vip1-s1: vip_load_vpdma_list_fifo: start_dma vb2 buf idx:1 [ 26.038735] vip1-s1: start_dma: vb2 buf idx:1, dma_addr:0xbe450000 [ 26.038743] outbound data transfer descriptor for channel 173 [ 26.038750] word0: data_type = 39, notify = 1, field = 0, 1D = 0, even_ln_skp = 0, odd_ln_skp = 0, line_stride = 256 [ 26.038757] word2: start_addr = 0xbe450000 [ 26.038764] word3: pkt_type = 10, mode = 0, dir = 1, chan = 173, pri = 0, next_chan = 173 [ 26.038773] word4: desc_write_addr = 0xadcdfde0, write_desc = 1, drp_data = 0, use_desc_reg = 0 [ 26.038779] word5: max_width 2, max_height 2 [ 26.038785] word6: client specific attr0 = 0x00000000 [ 26.038791] word7: client specific attr1 = 0x00000000 [ 26.039915] vip1-s1: added next buffer [ 26.039925] vip1-s1: start_dma: vb2 buf idx:2, dma_addr:0xbe458000 [ 26.039935] outbound data transfer descriptor for channel 173 [ 26.039943] word0: data_type = 39, notify = 1, field = 0, 1D = 0, even_ln_skp = 0, odd_ln_skp = 0, line_stride = 256 [ 26.039950] word2: start_addr = 0xbe458000 [ 26.039957] word3: pkt_type = 10, mode = 0, dir = 1, chan = 173, pri = 0, next_chan = 173 [ 26.039964] word4: desc_write_addr = 0xadcdfde0, write_desc = 1, drp_data = 0, use_desc_reg = 0 [ 26.039970] word5: max_width 2, max_height 2 [ 26.039975] word6: client specific attr0 = 0x00000000 [ 26.039981] word7: client specific attr1 = 0x00000000 [ 26.039990] vb2: vb2_core_streamon: successful [ 26.044565] video0: VIDIOC_STREAMON: type=vid-cap [ 26.044627] vb2: __vb2_wait_for_done_vb: will sleep waiting for buffers [ 33.470497] vb2: __vb2_wait_for_done_vb: sleep was interrupted [ 33.476772] vip1-s1: vip_release [ 33.476783] vip1-s1: vip_stop_streaming: [ 33.476791] vip1-s1: vip_disable_sc_path: [ 33.476798] vip1-s1: vip_set_slice_path: [ 33.476807] vip1-s1: vip_set_slice_path: DATA_PATH_SELECT(00000110): 20031000 [ 33.476818] vip1-s1: Clear channel no: 173 [ 33.476826] control descriptor [ 33.476833] word3: pkt_type = 12, source = 173, ctl_type = 8 [ 33.476877] vb2: __vb2_buf_mem_free: freed plane 0 of buffer 0 [ 33.482746] vb2: __vb2_buf_mem_free: freed plane 0 of buffer 1 [ 33.488647] vb2: __vb2_buf_mem_free: freed plane 0 of buffer 2 [ 33.494697] vb2: __vb2_buf_mem_free: freed plane 0 of buffer 3 [ 33.500653] vip1-s1: vip_release_stream: stream instance 0xedce2000 [ 33.500663] vip1-s1: vip_release_port: port instance 0xeead5c10