硬件设备:RV1126
[root@RV1126_RV1109:/]# media-ctl -p /dev/media0
Media controller API version 4.19.111
Media device information
------------------------
driver rkcif
model rkcif_mipi_lvds
serial
bus info
hw revision 0x0
driver version 4.19.111
Device topology
- entity 1: stream_cif_mipi_id0 (1 pad, 4 links)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "rockchip-mipi-csi2":1 [ENABLED]
<- "rockchip-mipi-csi2":2 []
<- "rockchip-mipi-csi2":3 []
<- "rockchip-mipi-csi2":4 []
- entity 5: stream_cif_mipi_id1 (1 pad, 4 links)
type Node subtype V4L flags 0
device node name /dev/video1
pad0: Sink
<- "rockchip-mipi-csi2":1 []
<- "rockchip-mipi-csi2":2 [ENABLED]
<- "rockchip-mipi-csi2":3 []
<- "rockchip-mipi-csi2":4 []
- entity 9: stream_cif_mipi_id2 (1 pad, 4 links)
type Node subtype V4L flags 0
device node name /dev/video2
pad0: Sink
<- "rockchip-mipi-csi2":1 []
<- "rockchip-mipi-csi2":2 []
<- "rockchip-mipi-csi2":3 [ENABLED]
<- "rockchip-mipi-csi2":4 []
- entity 13: stream_cif_mipi_id3 (1 pad, 4 links)
type Node subtype V4L flags 0
device node name /dev/video3
pad0: Sink
<- "rockchip-mipi-csi2":1 []
<- "rockchip-mipi-csi2":2 []
<- "rockchip-mipi-csi2":3 []
<- "rockchip-mipi-csi2":4 [ENABLED]
- entity 17: rockchip-mipi-csi2 (5 pads, 17 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
pad0: Sink
[fmt:SBGGR10_1X10/2688x1520 field:none
crop.bounds:(0,0)/2688x1520
crop:(0,0)/2688x1520]
<- "rockchip-mipi-dphy-rx":1 [ENABLED]
pad1: Source
[fmt:SBGGR10_1X10/2688x1520 field:none
crop.bounds:(0,0)/2688x1520
crop:(0,0)/2688x1520]
-> "stream_cif_mipi_id0":0 [ENABLED]
-> "stream_cif_mipi_id1":0 []
-> "stream_cif_mipi_id2":0 []
-> "stream_cif_mipi_id3":0 []
pad2: Source
[fmt:SBGGR10_1X10/2688x1520 field:none
crop.bounds:(0,0)/2688x1520
crop:(0,0)/2688x1520]
-> "stream_cif_mipi_id0":0 []
-> "stream_cif_mipi_id1":0 [ENABLED]
-> "stream_cif_mipi_id2":0 []
-> "stream_cif_mipi_id3":0 []
pad3: Source
[fmt:SBGGR10_1X10/2688x1520 field:none
crop.bounds:(0,0)/2688x1520
crop:(0,0)/2688x1520]
-> "stream_cif_mipi_id0":0 []
-> "stream_cif_mipi_id1":0 []
-> "stream_cif_mipi_id2":0 [ENABLED]
-> "stream_cif_mipi_id3":0 []
pad4: Source
[fmt:SBGGR10_1X10/2688x1520 field:none
crop.bounds:(0,0)/2688x1520
crop:(0,0)/2688x1520]
-> "stream_cif_mipi_id0":0 []
-> "stream_cif_mipi_id1":0 []
-> "stream_cif_mipi_id2":0 []
-> "stream_cif_mipi_id3":0 [ENABLED]
- entity 23: rockchip-mipi-dphy-rx (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev2
pad0: Sink
[fmt:SBGGR10_1X10/2688x1520@10000/302834 field:none]
<- "m01_f_os04a10 1-0036-1":0 [ENABLED]
pad1: Source
[fmt:SBGGR10_1X10/2688x1520@10000/302834 field:none]
-> "rockchip-mipi-csi2":0 [ENABLED]
- entity 28: rkcif-mipi-luma (0 pad, 0 link)
type Node subtype V4L flags 0
device node name /dev/video4
- entity 31: m01_f_os04a10 1-0036-1 (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev3
pad0: Source
[fmt:SBGGR10_1X10/2688x1520@10000/302834 field:none]
-> "rockchip-mipi-dphy-rx":0 [ENABLED]
- entity 35: m01_f_ircut (0 pad, 0 link)
type V4L2 subdev subtype Lens flags 1
device node name /dev/v4l-subdev4
画图拓扑图如下,一目了然
[root@RV1126_RV1109:/]# media-ctl -p -d /dev/media1
Media controller API version 4.19.111
Media device information
------------------------
driver rkisp
model rkisp0
serial
bus info
hw revision 0x0
driver version 4.19.111
Device topology
- entity 1: rkisp-isp-subdev (4 pads, 10 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev5
pad0: Sink
[fmt:SBGGR10_1X10/2688x1520 field:none
crop.bounds:(0,0)/2688x1520
crop:(0,0)/2688x1520]
<- "rkisp_rawrd0_m":0 [ENABLED]
<- "rkisp_rawrd1_l":0 [ENABLED]
<- "rkisp_rawrd2_s":0 [ENABLED]
<- "rkcif_mipi_lvds":0 [ENABLED]
pad1: Sink
<- "rkisp-input-params":0 [ENABLED]
pad2: Source
[fmt:YUYV8_2X8/2688x1520 field:none
crop.bounds:(0,0)/2688x1520
crop:(0,0)/2688x1520]
-> "rkisp-bridge-ispp":0 [ENABLED]
-> "rkisp_mainpath":0 []
-> "rkisp_selfpath":0 []
pad3: Source
-> "rkisp-statistics":0 [ENABLED]
-> "rkisp-mipi-luma":0 [ENABLED]
- entity 6: rkisp-csi-subdev (6 pads, 4 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev6
pad0: Sink
pad1: Source
pad2: Source
-> "rkisp_rawwr0":0 [ENABLED]
pad3: Source
-> "rkisp_rawwr1":0 [ENABLED]
pad4: Source
-> "rkisp_rawwr2":0 [ENABLED]
pad5: Source
-> "rkisp_rawwr3":0 [ENABLED]
- entity 13: rkisp-bridge-ispp (1 pad, 1 link)
type V4L2 subdev subtype Unknown flags 0
pad0: Sink
<- "rkisp-isp-subdev":2 [ENABLED]
- entity 17: rkisp_mainpath (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video5
pad0: Sink
<- "rkisp-isp-subdev":2 []
- entity 23: rkisp_selfpath (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video6
pad0: Sink
<- "rkisp-isp-subdev":2 []
- entity 29: rkisp_rawwr0 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video7
pad0: Sink
<- "rkisp-csi-subdev":2 [ENABLED]
- entity 35: rkisp_rawwr1 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video8
pad0: Sink
<- "rkisp-csi-subdev":3 [ENABLED]
- entity 41: rkisp_rawwr2 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video9
pad0: Sink
<- "rkisp-csi-subdev":4 [ENABLED]
- entity 47: rkisp_rawwr3 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video10
pad0: Sink
<- "rkisp-csi-subdev":5 [ENABLED]
- entity 53: rkisp_rawrd0_m (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video11
pad0: Source
-> "rkisp-isp-subdev":0 [ENABLED]
- entity 59: rkisp_rawrd1_l (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video12
pad0: Source
-> "rkisp-isp-subdev":0 [ENABLED]
- entity 65: rkisp_rawrd2_s (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video13
pad0: Source
-> "rkisp-isp-subdev":0 [ENABLED]
- entity 71: rkisp-statistics (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video14
pad0: Sink
<- "rkisp-isp-subdev":3 [ENABLED]
- entity 77: rkisp-input-params (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video15
pad0: Source
-> "rkisp-isp-subdev":1 [ENABLED]
- entity 83: rkisp-mipi-luma (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video16
pad0: Sink
<- "rkisp-isp-subdev":3 [ENABLED]
- entity 89: rkcif_mipi_lvds (1 pad, 1 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev7
pad0: Source
-> "rkisp-isp-subdev":0 [ENABLED]
画图后便于Media Control拓扑结构的分析
https://img-blog.csdnimg.cn/25f68da4017b4fac9b2a5e757b109286.jpeg