Part Number: DRA72XEVM
Hi Experts,
I am developing the driver for the GMSL sensor.
Our Sensor Configuration:
- 2 lane communication
- each of the data lanes processes speeds up to 800MHz.
- YUY422 mode
and met some issues. The signal path in our HW design is like this: TI host (TDA2Px-ACD CPU EVM Board) <--> MAX9296A <--> Fakra cable <--> MAX9295D <--> MIPI interface <--> Video capture module.
However, we can never capture the MIPI signal from cal driver, from the log we always see this timeout log when starting capture and no data can be captured, grep /proc/interrupts, no CAL interrupt generated.
cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x4a000321 Complex IO Reset Done (250) (timeout)
the message is from function: csi2_wait_for_phy [drivers/media/platform/ti-vpe/cal.c], what's the problem? is it cause by pixel rate or link rate?
I use "dmabuftest --debug --fps 60 -s 35:1280x720 -c 1280x720@YUYV -d /dev/video0" to capture video.
Please check the below log for reference.
Thanks.
root@dra7xx-evm:~# dmabuftest --debug --fps 60 -s 35:1280x720 -c 1280x720@YUYV -d /dev/video0 Opening Display.. Enabling dynamic debug. Forcing playback rate at 60 fps. using 1 connectors, 720x400 display, multiplanar: 1 Setting mode 1280x720 on connector 35, crtc 39 Opening V4L2.. [ 2583.236607] eSP876_enum_frame_size() +++ [ 2583.242017] eSP876_enum_frame_size() fse->index : 0, min_width : 1280, min_height : 720 [ 2583.250099] eSP876_enum_frame_size() --- [ 2583.254439] eSP876_set_fmt() +++ [ 2583.257991] eSP876_try_fmt_internal() +++ [ 2583.262300] eSP876_try_fmt_internal(), fr : 2, fmt->width : 1280, fmt->height : 720 [ 2583.270205] eSP876_find_mode() +++ [ 2583.273879] eSP876_find_mode() --- [ 2583.277508] eSP876_try_fmt_internal(), find mode : 0, width : 1280, hight : 720 [ 2583.285038] eSP876_try_fmt_internal(), find format : 2 ,code : 8200 [ 2583.291590] eSP876_try_fmt_internal() --- [ 2583.295805] eSP876_set_fmt(), pixel_rate : 2798496 [ 2583.300765] eSP876_set_fmt() --- Exported buffer fd = 6 Exported buffer fd = 8 Exported buffer fd = 10 Exported buffer fd = 12 Exported buffer fd = 14 Exported buffer f[ 2583.314124] eSP876_s_power() +++ d = 16 [ 2583.321186] eSP876 4-0060: eSP876_s_ctrl: set_ctrl_white_balance() NOT IMPLEMENT! [ 2583.329601] eSP876 4-0060: eSP876_s_ctrl: set_ctrl_exposure() NOT IMPLEMENT! [ 2583.336756] eSP876 4-0060: eSP876_s_ctrl: set_ctrl_gain() NOT IMPLEMENT! [ 2583.343514] eSP876 4-0060: eSP876_s_ctrl: set_ctrl_saturation() NOT IMPLEMENT! [ 2583.350819] eSP876 4-0060: eSP876_s_ctrl: set_ctrl_hue() NOT IMPLEMENT! [ 2583.357476] eSP876 4-0060: eSP876_s_ctrl: set_ctrl_contrast() NOT IMPLEMENT! [ 2583.364613] eSP876 4-0060: eSP876_s_ctrl: set_ctrl_test_pattern() NOT IMPLEMENT! [ 2583.372067] eSP876 4-0060: eSP876_s_ctrl: set_ctrl_hflip() NOT IMPLEMENT! [ 2583.378921] eSP876 4-0060: eSP876_s_ctrl: set_ctrl_vflip() NOT IMPLEMENT! [ 2583.385763] eSP876 4-0060: eSP876_s_ctrl: set_ctrl_light_freq() NOT IMPLEMENT! [ 2583.393077] eSP876_s_power() --- [ 2583.397605] eSP876_s_stream() +++ [ 2583.401015] video_mode_switch() +++ [ 2583.404631] switch mode to : 0 , enable : 1 [ 2583.422945] got eSP876 response 0x81 [ 2583.430138] After mode switch(Cmd start), polling 02 [ 2583.469602] got eSP876 response 0x02 [ 2583.473238] Cmd transfer finished, polling 0x00 [ 2583.479303] [ 2583.479303] got eSP876 response 0x00 [ 2583.484479] [ 2583.484479] open stream done [ 2583.488936] video_mode_switch() --- [ 2583.492539] sensor->streaming : 1 [ 2583.496036] eSP876_s_stream() --- [ 2583.778850] cal: CAL Registers @ 0x0x00000000489b0000: [ 2583.784055] 00000000: 40000300 a3c90469 00000000 00000000 [ 2583.789683] 00000010: 00000004 00000000 00000000 00000000 [ 2583.795203] 00000020: 00000000 00000000 00000000 00000000 [ 2583.800763] 00000030: 00000000 00000000 00000001 00000001 [ 2583.806259] 00000040: 00000000 00000000 00000001 00000001 [ 2583.811886] 00000050: 00000000 00000000 00000000 00000000 [ 2583.817354] 00000060: 00000000 00000000 00000000 00000000 [ 2583.822845] 00000070: 00000000 00000000 00000000 00000000 [ 2583.828468] 00000080: 00000000 00000000 00000000 00000000 [ 2583.833936] 00000090: 00000000 00000000 00000000 00000000 [ 2583.839463] 000000a0: 00000000 00000000 00000000 00000000 [ 2583.844928] 000000b0: 00000000 00000000 00000000 00000000 [ 2583.850422] 000000c0: 000d0015 00050014 00050014 00050014 [ 2583.855890] 000000d0: 00000000 00000000 00000000 00000000 [ 2583.861403] 000000e0: 00000000 00000000 00000000 00000000 [ 2583.866873] 000000f0: 00000000 00000000 00000000 00000000 [ 2583.872410] 00000100: ff1fe07e 00000000 00000000 00000000 [ 2583.877857] 00000110: 00000000 00000000 00000000 00000000 [ 2583.883336] 00000120: 00000000 00010000 00000000 00000000 [ 2583.888862] 00000130: 08080000 00000000 00000000 00000000 [ 2583.894329] 00000140: 00000000 00000000 00000000 00000000 [ 2583.899788] 00000150: 00000000 00000000 00000000 00000000 [ 2583.905228] 00000160: 00000000 00000000 00000000 00000000 [ 2583.910687] 00000170: 00000000 00000000 00000000 00000000 [ 2583.916128] 00000180: 00000000 00000000 00000000 00000000 [ 2583.921603] 00000190: 00000000 00000000 00000000 00000000 [ 2583.927022] 000001a0: 00000000 00000000 00000000 00000000 [ 2583.932742] 000001b0: 00000000 00000000 00000000 00000000 [ 2583.938215] 000001c0: 00000000 00000000 00000000 00000000 [ 2583.943683] 000001d0: 00000000 00000000 00000000 00000000 [ 2583.949142] 000001e0: 00000000 00000000 00000000 00000000 [ 2583.954607] 000001f0: 00000000 00000000 00000000 00000000 [ 2583.960085] 00000200: 0b404304 7f4f0000 00000a00 0a000000 [ 2583.965563] 00000210: 00004000 00000000 00000000 00000000 [ 2583.971024] 00000220: 00004000 00000000 00000000 00000000 [ 2583.976475] 00000230: 00004000 00000000 00000000 00000000 [ 2583.981964] 00000240: 00004000 00000000 00000000 00000000 [ 2583.987400] 00000250: 00004000 00000000 00000000 00000000 [ 2583.992834] 00000260: 00004000 00000000 00000000 00000000 [ 2583.998300] 00000270: 00004000 00000000 00000000 00000000 [ 2584.003737] 00000280: 00000000 00000000 00000000 00000000 [ 2584.009196] 00000290: 00000000 00000000 00000000 00000000 [ 2584.014632] 000002a0: 00000000 00000000 00000000 00000000 [ 2584.020091] 000002b0: 00000000 00000000 00000000 00000000 [ 2584.025529] 000002c0: 00000000 00000000 00000000 00000000 [ 2584.030997] 000002d0: 00000000 00000000 00000000 00000000 [ 2584.036436] 000002e0: 00000000 00000000 00000000 00000000 [ 2584.041946] 000002f0: 00000000 00000000 00000000 00000000 [ 2584.047366] 00000300: 00000001 4a000321 00000000 00000000 [ 2584.052803] 00000310: 00000000 00004197 3f000000 00000000 [ 2584.058270] 00000320: 00000000 00000000 00000000 00000000 [ 2584.063709] 00000330: 00000101 00000000 00000000 00000000 [ 2584.069168] 00000340: 00000000 00000000 00000000 00000000 [ 2584.074604] 00000350: 00000000 00000000 00000000 00000000 [ 2584.080063] 00000360: 00000000 00000000 00000000 00000000 [ 2584.085499] 00000370: 00000000 00000000 00000000 00000000 [ 2584.090958] 00000380: 00000000 00000000 00000000 00000000 [ 2584.096861] 00000390: 00000000 00007fff 00000000 00000000 [ 2584.102300] 000003a0: 00000000 00000000 00000000 00000000 [ 2584.107771] 000003b0: 00000000 00000000 00000000 00000000 [ 2584.113210] 000003c0: 00000000 00000000 00000000 00000000 [ 2584.118668] 000003d0: 00000000 00000000 00000000 00000000 [ 2584.124104] 000003e0: 00000000 00000000 00000000 00000000 [ 2584.129575] 000003f0: 00000000 00000000 00000000 00000000 [ 2584.135011] cal: CSI2 Core 0 Registers @ 0x00000000489b0800: [ 2584.140735] 00000000: 0100041b e002e10e 000000ff 0007c0a0 [ 2584.146175] 00000010: 00000000 860a262c 020e4000 00000200 [ 2584.151649] 00000020: 6bb80000 7e000000 00000000 00000000 [ 2584.157071] 00000030: 00000000 00000000 00000000 00000000 ^C[ 2600.879202] eSP876_s_stream() +++ [ 2600.882816] video_mode_switch() +++ [ 2600.886545] switch mode to : 0 , enable : 0 [ 2600.905730] got eSP876 response 0x81 [ 2600.910512] After mode switch(Cmd start), polling 02 [ 2600.916935] got eSP876 response 0x02 [ 2600.920521] Cmd transfer finished, polling 0x00 [ 2600.926536] [ 2600.926536] got eSP876 response 0x00 [ 2600.931756] [ 2600.931756] cloase stream done [ 2600.936427] video_mode_switch() --- [ 2600.940012] sensor->streaming : 0 [ 2600.943502] eSP876_s_stream() --- [ 2600.946968] eSP876_s_power() +++ [ 2600.950291] eSP876_s_power() ---
[ 10.718333] cal: ioresource cal_top at 0x00000000489b0000 - 0x00000000489b03ff
[ 10.718413] cal: got irq# 106
[ 10.718449] cal: ioresource cal_rx_core0 at 0x00000000489b0800 - 0x00000000489b083f
[ 10.718456] cal: ioresource cal_rx_core1 at 0x00000000489b0900 - 0x00000000489b093f
[ 10.718462] cal-000: Scanning Port node for csi2 port: 0
[ 10.724106] cal-000: port:0 inst:0 <reg>:0
[ 10.729675] cal-000: Scanning sub-device for csi2 port: 0
[ 10.735243] cal-000: Port:0 v4l2-endpoint: CSI2
[ 10.739789] cal-000: Virtual Channel=0
[ 10.743669] cal-000: flags=0x00000100
[ 10.747343] cal-000: clock_lane=0
[ 10.752261] cal-000: num_data_lanes=2
[ 10.755935] cal-000: data_lanes= <
[ 10.759345] cal-000: 1
[ 10.764297] cal-000: 2
[ 10.768381] cal-000: >
[ 10.770957] cal-000: Port: 0 found sub-device eSP876
[ 10.777468] cal-001: Scanning Port node for csi2 port: 1
[ 10.784365] cal-001: port:0 inst:1 <reg>:0
[ 10.788477] cal-001: port:1 inst:1 <reg>:1
[ 10.792668] cal-001: Scanning sub-device for csi2 port: 1
[ 10.798089] cal-001: can't get next endpoint
[ 10.804022] cal: CAL_HL_REVISION = 0x40000300 (expecting 0x40000200)
[ 10.804026] cal: CAL_HL_HWINFO = 0xa3c90469 (expecting 0xA3C90469)
[ 10.909194] cal-000: Using sensor eSP876 4-0060 for capture
[ 10.909204] cal-000: subdev eSP876 4-0060: code: 4001 idx: 0
[ 10.909213] cal-000: subdev eSP876 4-0060: code: 2006 idx: 1
[ 10.909216] cal-000: matched fourcc: UYVY: code: 2006 idx: 0
[ 10.909224] cal-000: subdev eSP876 4-0060: code: 2008 idx: 2
[ 10.909227] cal-000: matched fourcc: YUYV: code: 2008 idx: 1
[ 10.909235] cal-000: subdev eSP876 4-0060: code: 1008 idx: 3
[ 10.909238] cal-000: matched fourcc: RGBP: code: 1008 idx: 2
[ 10.909245] cal-000: subdev eSP876 4-0060: code: 1007 idx: 4
[ 10.909248] cal-000: matched fourcc: RGBR: code: 1007 idx: 3
[ 10.909390] cal-000: V4L2 device registered as video0
[ 10.909420] cal-000: __subdev_get_format 1280x720 code:2008
[ 10.909423] cal-000: cal_calc_format_size: fourcc: YUYV size: 1280x720 bpl:2560 img_size:1843200
[ 13.912375] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
[ 70.134307] cal-000: cal_calc_format_size: fourcc: YUYV size: 1280x720 bpl:2560 img_size:1843200
[ 70.183375] cal-000: __subdev_set_format 1280x720 code:2008
[ 70.183382] cal-000: cal_calc_format_size: fourcc: YUYV size: 1280x720 bpl:2560 img_size:1843200
[ 70.183658] cal-000: nbuffers=6, size=1843200
[ 70.194353] cal-000: sensor Pixel Rate: 55969920
[ 70.277820] cal-000: CAL_CSI2_CTX0(1) = 0x00000101
[ 70.277825] cal-000: CAL_PIX_PROC(1) = 0x000d0015
[ 70.277830] cal-000: CAL_WR_DMA_CTRL(1) = 0x0b404304
[ 70.277834] cal-000: CAL_WR_DMA_OFST(1) = 0x00000a00
[ 70.277838] cal-000: CAL_WR_DMA_XSIZE(1) = 0x0a000000
[ 70.277842] cal-000: CAL_CTRL = 0xff1fe07e
[ 70.277846] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x00000321
[ 70.277857] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x40000321 De-assert Complex IO Reset
[ 70.277861] cal-000: csi2_ddrclk_khz: 223872
[ 70.277864] cal-000: ths_term: 4 (0x04)
[ 70.277867] cal-000: ths_settle: 27 (0x1b)
[ 70.277871] cal-000: CSI2_0_REG0 = 0x0100041b
[ 70.277876] cal-000: CSI2_0_REG1 = 0xe002e10e
[ 70.277881] cal-000: CAL_CSI2_TIMING(1) = 0x00004197 Stop States
[ 70.277885] cal-000: CAL_CSI2_TIMING(1) = 0x0000c197 Force RXMODE
[ 70.279002] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x4a000321 Powered UP
[ 70.666477] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x4a000321 Complex IO Reset Done (250) (timeout)
[ 70.666486] cal-000: CAL_CSI2_TIMING(1) = 0x00004197 Stop State Reached
[ 70.666494] cal-000: CSI2_0_REG1 = 0xe002e10e (Bit(31,28) should be set!)
[ 70.666501] cal: CAL Registers @ 0x0x00000000489b0000:
[ 71.028079] cal: CSI2 Core 0 Registers @ 0x00000000489b0800:
[ 122.078751] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x40000321 Powered Down
[ 122.078762] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x00000321 Complex IO in Reset (0)
[ 141.854218] cal-000: cal_calc_format_size: fourcc: YUYV size: 1280x720 bpl:2560 img_size:1843200
[ 141.903355] cal-000: __subdev_set_format 1280x720 code:2008
[ 141.903360] cal-000: cal_calc_format_size: fourcc: YUYV size: 1280x720 bpl:2560 img_size:1843200
[ 141.903625] cal-000: nbuffers=6, size=1843200
[ 141.914458] cal-000: sensor Pixel Rate: 55969920
[ 142.001146] cal-000: CAL_CSI2_CTX0(1) = 0x00000101
[ 142.001151] cal-000: CAL_PIX_PROC(1) = 0x000d0015
[ 142.001156] cal-000: CAL_WR_DMA_CTRL(1) = 0x0b404304
[ 142.001160] cal-000: CAL_WR_DMA_OFST(1) = 0x00000a00
[ 142.001164] cal-000: CAL_WR_DMA_XSIZE(1) = 0x0a000000
[ 142.001168] cal-000: CAL_CTRL = 0xff1fe07e
[ 142.001172] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x00000321
[ 142.001182] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x40000321 De-assert Complex IO Reset
[ 142.001186] cal-000: csi2_ddrclk_khz: 223872
[ 142.001189] cal-000: ths_term: 4 (0x04)
[ 142.001192] cal-000: ths_settle: 27 (0x1b)
[ 142.001196] cal-000: CSI2_0_REG0 = 0x0100041b
[ 142.001201] cal-000: CSI2_0_REG1 = 0xe002e10e
[ 142.001206] cal-000: CAL_CSI2_TIMING(1) = 0x00004197 Stop States
[ 142.001210] cal-000: CAL_CSI2_TIMING(1) = 0x0000c197 Force RXMODE
[ 142.002326] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x4a000321 Powered UP
[ 142.383513] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x4a000321 Complex IO Reset Done (250) (timeout)
[ 142.383523] cal-000: CAL_CSI2_TIMING(1) = 0x00004197 Stop State Reached
[ 142.383530] cal-000: CSI2_0_REG1 = 0xe002e10e (Bit(31,28) should be set!)
[ 148.053436] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x40000321 Powered Down
[ 148.053448] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x00000321 Complex IO in Reset (0)
[ 916.934186] cal-000: cal_calc_format_size: fourcc: YUYV size: 1280x720 bpl:2560 img_size:1843200
[ 916.989231] cal-000: __subdev_set_format 1280x720 code:2008
[ 916.989236] cal-000: cal_calc_format_size: fourcc: YUYV size: 1280x720 bpl:2560 img_size:1843200
[ 916.989523] cal-000: nbuffers=6, size=1843200
[ 916.999379] cal-000: sensor Pixel Rate: 55969920
[ 917.081925] cal-000: CAL_CSI2_CTX0(1) = 0x00000101
[ 917.081931] cal-000: CAL_PIX_PROC(1) = 0x000d0015
[ 917.081936] cal-000: CAL_WR_DMA_CTRL(1) = 0x0b404304
[ 917.081941] cal-000: CAL_WR_DMA_OFST(1) = 0x00000a00
[ 917.081946] cal-000: CAL_WR_DMA_XSIZE(1) = 0x0a000000
[ 917.081951] cal-000: CAL_CTRL = 0xff1fe07e
[ 917.081955] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x00000321
[ 917.082004] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x40000321 De-assert Complex IO Reset
[ 917.082008] cal-000: csi2_ddrclk_khz: 223872
[ 917.082012] cal-000: ths_term: 4 (0x04)
[ 917.082016] cal-000: ths_settle: 27 (0x1b)
[ 917.082020] cal-000: CSI2_0_REG0 = 0x0100041b
[ 917.082026] cal-000: CSI2_0_REG1 = 0xe002e10e
[ 917.082032] cal-000: CAL_CSI2_TIMING(1) = 0x00004197 Stop States
[ 917.082037] cal-000: CAL_CSI2_TIMING(1) = 0x0000c197 Force RXMODE
[ 917.083185] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x4a000321 Powered UP
[ 917.464017] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x4a000321 Complex IO Reset Done (250) (timeout)
[ 917.464026] cal-000: CAL_CSI2_TIMING(1) = 0x00004197 Stop State Reached
[ 917.464034] cal-000: CSI2_0_REG1 = 0xe002e10e (Bit(31,28) should be set!)
[ 917.464042] cal: CAL Registers @ 0x0x00000000489b0000:
[ 917.819889] cal: CSI2 Core 0 Registers @ 0x00000000489b0800:
[ 1858.964982] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x40000321 Powered Down
[ 1858.964992] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x00000321 Complex IO in Reset (0)
[ 1863.715981] cal-000: cal_calc_format_size: fourcc: YUYV size: 1280x720 bpl:2560 img_size:1843200
[ 1863.765881] cal-000: __subdev_set_format 1280x720 code:2008
[ 1863.765901] cal-000: cal_calc_format_size: fourcc: YUYV size: 1280x720 bpl:2560 img_size:1843200
[ 1863.766258] cal-000: nbuffers=6, size=1843200
[ 1863.776874] cal-000: sensor Pixel Rate: 55969920
[ 1863.859402] cal-000: CAL_CSI2_CTX0(1) = 0x00000101
[ 1863.859407] cal-000: CAL_PIX_PROC(1) = 0x000d0015
[ 1863.859412] cal-000: CAL_WR_DMA_CTRL(1) = 0x0b404304
[ 1863.859416] cal-000: CAL_WR_DMA_OFST(1) = 0x00000a00
[ 1863.859420] cal-000: CAL_WR_DMA_XSIZE(1) = 0x0a000000
[ 1863.859424] cal-000: CAL_CTRL = 0xff1fe07e
[ 1863.859428] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x00000321
[ 1863.859438] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x40000321 De-assert Complex IO Reset
[ 1863.859442] cal-000: csi2_ddrclk_khz: 223872
[ 1863.859445] cal-000: ths_term: 4 (0x04)
[ 1863.859448] cal-000: ths_settle: 27 (0x1b)
[ 1863.859452] cal-000: CSI2_0_REG0 = 0x0100041b
[ 1863.859457] cal-000: CSI2_0_REG1 = 0xe002e10e
[ 1863.859462] cal-000: CAL_CSI2_TIMING(1) = 0x00004197 Stop States
[ 1863.859466] cal-000: CAL_CSI2_TIMING(1) = 0x0000c197 Force RXMODE
[ 1863.860582] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x4a000321 Powered UP
[ 1864.242110] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x4a000321 Complex IO Reset Done (250) (timeout)
[ 1864.242119] cal-000: CAL_CSI2_TIMING(1) = 0x00004197 Stop State Reached
[ 1864.242127] cal-000: CSI2_0_REG1 = 0xe002e10e (Bit(31,28) should be set!)
[ 1864.242135] cal: CAL Registers @ 0x0x00000000489b0000:
[ 1864.596330] cal: CSI2 Core 0 Registers @ 0x00000000489b0800:
[ 1876.410778] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x40000321 Powered Down
[ 1876.410789] cal-000: CAL_CSI2_COMPLEXIO_CFG(1) = 0x00000321 Complex IO in Reset (0)
root@dra7xx-evm:~# v4l2-ctl --all -d /dev/video0
Driver Info (not using libv4l2):
Driver name : cal
Card type : cal
Bus info : platform:cal-000
Driver version: 4.14.79
Capabilities : 0x85200001
Video Capture
Read/Write
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x05200001
Video Capture
Read/Write
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 0: ok)
Format Video Capture:
Width/Height : 1280/720
Pixel Format : 'YUYV'
Field : None
Bytes per Line : 2560
Size Image : 1843200
Colorspace : sRGB
Transfer Function : sRGB
YCbCr Encoding : ITU-R 601
Quantization : Full Range
Flags :
User Controls
contrast (int) : min=0 max=255 step=1 default=0 value=0 flags=slider
saturation (int) : min=0 max=255 step=1 default=64 value=64 flags=slider
hue (int) : min=0 max=359 step=1 default=0 value=0 flags=slider
white_balance_automatic (bool) : default=1 value=1 flags=update
red_balance (int) : min=0 max=4095 step=1 default=0 value=0 flags=inactive, slider
blue_balance (int) : min=0 max=4095 step=1 default=0 value=0 flags=inactive, slider
exposure (int) : min=0 max=65535 step=1 default=0 value=0 flags=inactive, volatile
gain_automatic (bool) : default=1 value=1 flags=update
gain (int) : min=0 max=1023 step=1 default=0 value=0 flags=inactive, volatile
horizontal_flip (bool) : default=0 value=0
vertical_flip (bool) : default=0 value=0
power_line_frequency (menu) : min=0 max=3 default=1 value=1
Camera Controls
auto_exposure (menu) : min=0 max=1 default=0 value=0 flags=update
Image Processing Controls
link_frequency (intmenu): min=0 max=4 default=0 value=0 flags=read-only
pixel_rate (int64) : min=0 max=0 step=0 default=0 value=55969920 flags=read-only
test_pattern (menu) : min=0 max=1 default=0 value=0