Lines Matching +full:mux +full:- +full:controls

1 .. SPDX-License-Identifier: GPL-2.0
7 ------------
14 - CMOS Sensor Interface (CSI)
15 - Video Multiplexer
16 - MIPI CSI-2 Receiver
18 .. code-block:: none
20 MIPI Camera Input ---> MIPI CSI-2 --- > |\
24 | U | ------> CSI ---> Capture
27 Parallel Camera Input ----------------> | /
34 --------
36 imx-mipi-csi2
37 --------------
39 This is the MIPI CSI-2 receiver entity. It has one sink pad to receive the pixel
40 data from MIPI CSI-2 camera sensor. It has one source pad, corresponding to the
42 D-phy, and supports two D-PHY Rx Data lanes.
44 csi-mux
45 -------
48 sensor with a parallel interface or from MIPI CSI-2 virtual channel 0. It has
52 ---
55 can interface directly with Parallel and MIPI CSI-2 buses. It has 256 x 64 FIFO
59 This entity has one sink pad that receives from the csi-mux entity and a single
64 -----------
67 that access controls only from video device nodes, the capture device interfaces
68 inherit controls from the active entities in the current pipeline, so controls
70 device interface. For example, the sensor controls are available either from the
74 -----------------
76 On this platform an OV2680 MIPI CSI-2 module is connected to the internal MIPI
77 CSI-2 receiver. The following example configures a video capture pipeline with
80 .. code-block:: none
83 media-ctl -l "'ov2680 1-0036':0 -> 'imx7-mipi-csis.0':0[1]"
84 media-ctl -l "'imx7-mipi-csis.0':1 -> 'csi-mux':1[1]"
85 media-ctl -l "'csi-mux':2 -> 'csi':0[1]"
86 media-ctl -l "'csi':1 -> 'csi capture':0[1]"
89 media-ctl -V "'ov2680 1-0036':0 [fmt:SBGGR10_1X10/800x600 field:none]"
90 media-ctl -V "'csi-mux':1 [fmt:SBGGR10_1X10/800x600 field:none]"
91 media-ctl -V "'csi-mux':2 [fmt:SBGGR10_1X10/800x600 field:none]"
92 media-ctl -V "'imx7-mipi-csis.0':0 [fmt:SBGGR10_1X10/800x600 field:none]"
93 media-ctl -V "'csi':0 [fmt:SBGGR10_1X10/800x600 field:none]"
95 After this streaming can start. The v4l2-ctl tool can be used to select any of
98 .. code-block:: none
100 # media-ctl -p
104 ------------------------
105 driver imx7-csi
106 model imx-media
113 - entity 1: csi (2 pads, 2 links)
115 device node name /dev/v4l-subdev0
117 … [fmt:SBGGR10_1X10/800x600 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
118 <- "csi-mux":2 [ENABLED]
120 … [fmt:SBGGR10_1X10/800x600 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
121 -> "csi capture":0 [ENABLED]
123 - entity 4: csi capture (1 pad, 1 link)
127 <- "csi":1 [ENABLED]
129 - entity 10: csi-mux (3 pads, 2 links)
131 device node name /dev/v4l-subdev1
136 <- "imx7-mipi-csis.0":1 [ENABLED]
139 -> "csi":0 [ENABLED]
141 - entity 14: imx7-mipi-csis.0 (2 pads, 2 links)
143 device node name /dev/v4l-subdev2
146 <- "ov2680 1-0036":0 [ENABLED]
149 -> "csi-mux":1 [ENABLED]
151 - entity 17: ov2680 1-0036 (1 pad, 1 link)
153 device node name /dev/v4l-subdev3
156 -> "imx7-mipi-csis.0":0 [ENABLED]
158 i.MX6ULL-EVK with OV5640
159 ------------------------
165 .. code-block:: none
168 media-ctl -l "'ov5640 1-003c':0 -> 'csi':0[1]"
169 media-ctl -l "'csi':1 -> 'csi capture':0[1]"
172 media-ctl -v -V "'ov5640 1-003c':0 [fmt:UYVY8_2X8/640x480 field:none]"
176 .. code-block:: none
178 …gst-launch-1.0 -v v4l2src device=/dev/video1 ! video/x-raw,format=UYVY,width=640,height=480 ! v4l2…
180 .. code-block:: none
182 # media-ctl -p
186 ------------------------
187 driver imx7-csi
188 model imx-media
195 - entity 1: csi (2 pads, 2 links)
197 device node name /dev/v4l-subdev0
199 … [fmt:UYVY8_2X8/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
200 <- "ov5640 1-003c":0 [ENABLED,IMMUTABLE]
202 … [fmt:UYVY8_2X8/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
203 -> "csi capture":0 [ENABLED,IMMUTABLE]
205 - entity 4: csi capture (1 pad, 1 link)
209 <- "csi":1 [ENABLED,IMMUTABLE]
211 - entity 10: ov5640 1-003c (1 pad, 1 link)
213 device node name /dev/v4l-subdev1
215 …[fmt:UYVY8_2X8/640x480@1/30 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
216 -> "csi":0 [ENABLED,IMMUTABLE]
219 ----------
221 .. [#f1] https://www.nxp.com/docs/en/reference-manual/IMX7SRM.pdf