Part Number: PROCESSOR-SDK-AM62X
hello ti,
I assign RGB888 as format of sensor driver, so I have below device topology:
root@am62xx-z067-dms:~# media-ctl -d /dev/media0 -p
Media controller API version 5.10.168
Media device information
------------------------
driver j721e-csi2rx
model TI-CSI2RX
serial
bus info platform:30102000.ticsi2rx
hw revision 0x1
driver version 5.10.168
Device topology
- entity 1: 30102000.ticsi2rx (5 pads, 5 links, 1 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
routes:
0/0 -> 1/0 [ACTIVE]
pad0: Sink
[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
<- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE]
pad1: Source
[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
-> "30102000.ticsi2rx context 0":0 [ENABLED,IMMUTABLE]
pad2: Source
-> "30102000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE]
pad3: Source
-> "30102000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE]
pad4: Source
-> "30102000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE]
- entity 7: cdns_csi2rx.30101000.csi-bridge (5 pads, 2 links, 0 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
pad0: Sink
[stream:0 fmt:YUYV8_2X8/1280x960 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
<- "dummy_csi2_sensor":0 [ENABLED,IMMUTABLE]
pad1: Source
[stream:0 fmt:YUYV8_2X8/1280x960 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
-> "30102000.ticsi2rx":0 [ENABLED,IMMUTABLE]
pad2: Source
[stream:0 fmt:YUYV8_2X8/1280x960 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
pad3: Source
[stream:0 fmt:YUYV8_2X8/1280x960 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
pad4: Source
[stream:0 fmt:YUYV8_2X8/1280x960 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
- entity 13: dummy_csi2_sensor (1 pad, 1 link, 0 route)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev2
pad0: Source
[stream:0 fmt:RGB888_1X24/1280x960 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
-> "cdns_csi2rx.30101000.csi-bridge":0 [ENABLED,IMMUTABLE]
- entity 19: 30102000.ticsi2rx context 0 (1 pad, 1 link, 0 route)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "30102000.ticsi2rx":1 [ENABLED,IMMUTABLE]
- entity 25: 30102000.ticsi2rx context 1 (1 pad, 1 link, 0 route)
type Node subtype V4L flags 0
device node name /dev/video1
pad0: Sink
<- "30102000.ticsi2rx":2 [ENABLED,IMMUTABLE]
- entity 31: 30102000.ticsi2rx context 2 (1 pad, 1 link, 0 route)
type Node subtype V4L flags 0
device node name /dev/video2
pad0: Sink
<- "30102000.ticsi2rx":3 [ENABLED,IMMUTABLE]
- entity 37: 30102000.ticsi2rx context 3 (1 pad, 1 link, 0 route)
type Node subtype V4L flags 0
device node name /dev/video3
pad0: Sink
<- "30102000.ticsi2rx":4 [ENABLED,IMMUTABLE]
you can see in entity 13: dummy_csi2_sensor, the format is RGB888_1X24, while in entity 7: cdns_csi2rx.30101000.csi-bridge,
the format is YUYV8_2X8, is it fine? any comments?


