在i.MX8MP上移植了tc358743驱动,PC输出分辨率1920X1080@60Hz时,我们使用media-ctl --set-dv "'tc358743 1-000f':0 [fmt:"UYVY8_2X8"/"1920x1080"] -v指令,对tc358743进行初始化,能够进行正确的视频采集,但分辩率调整为1280X1024@60Hz时,没有视频流输出,但也没有。
我对比media-ctl -p的输出,和参考文章有一些不一样,我们的如下:
root@canon-
tiger:~# media-ctl -p
Media controller API version 5.10.9
Media device information
------------------------
driver mxc-md
model FSL Capture Media Device
serial
bus info
hw revision 0x0
driver version 5.10.9
Device topology
- entity 1: mxc_isi.0 (16
pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
pad0: Sink
<- "mxc-mipi-csi2.0":4 [ENABLED]
pad1: Sink
pad2: Sink
pad3: Sink
pad4: Sink
pad5: Sink
pad6: Sink
pad7: Sink
pad8: Sink
pad9: Sink
pad10: Sink
pad11: Sink
pad12: Source
-> "mxc_isi.0.capture":0 [ENABLED]
pad13: Source
pad14: Source
pad15: Sink
- entity 18: mxc_isi.0.capture (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "mxc_isi.0":12 [ENABLED]
- entity 22: mxc_isi.1 (16 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
pad0: Sink
<- "mxc-mipi-csi2.0":4 [ENABLED]
pad1: Sink
pad2: Sink
pad3: Sink
pad4: Sink
pad5: Sink
pad6: Sink
pad7: Sink
pad8: Sink
pad9: Sink
pad10: Sink
pad11: Sink
pad12: Source
-> "mxc_isi.1.capture":0 [ENABLED]
pad13: Source
pad14: Source
pad15: Sink
- entity 39: mxc_isi.1.capture (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video1
pad0: Sink
<- "mxc_isi.1":12 [ENABLED]
- entity 43: mxc-mipi-csi2.0 (8 pads, 3 links)
type Node subtype V4L flags 0
device node name /dev/v4l-subdev0
pad0: Sink
<- "tc358743 1-000f":0 [ENABLED,IMMUTABLE]
pad1: Sink
pad2: Sink
pad3: Sink
pad4: Source
-> "mxc_isi.0":0 [ENABLED]
-> "mxc_isi.1":0 [ENABLED]
pad5: Source
pad6: Source
pad7: Source
- entity 52: mxc-mipi-csi2.1 (8 pads, 0 link)
type Node subtype V4L flags 0
device node name /dev/v4l-subdev1
pad0: Sink
pad1: Sink
pad2: Sink
pad3: Sink
pad4: Source
pad5: Source
pad6: Source
pad7: Source
- entity 61: tc358743 1-000f (1 pad, 1 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev2
pad0: Source
[fmt:UYVY8_2X8/1920x1080 field:none colorspace:smpte170m]
[dv.caps:BT.656/1120 min:640x350@13000000 max:1920x1200@165000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
[dv.detect:BT.656/1120 1280x1024p60 (1688x1066) stds: flags:]
[dv.current:BT.656/1120 1920x1080p60 (2200x1125) stds:CEA-861,DMT flags:can-reduce-fps,CE-video,has-cea861-vic]
-> "mxc-mipi-csi2.0":0 [ENABLED,IMMUTABLE
除了tc358743,其他CSI和ISI节点不显示fmt,看起来比奇异。
tc358743,除了我们,还,还还哪些哪些