Lines Matching +full:0 +full:- +full:9 +full:a +full:- +full:e
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/video-interfaces.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sakari Ailus <sakari.ailus@linux.intel.com>
11 - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
14 Video data pipelines usually consist of external devices, e.g. camera sensors,
20 bus controller nodes, e.g. I2C.
23 Configuration of a port depends on other devices participating in the data
29 #address-cells = <1>;
30 #size-cells = <0>;
32 port@0 {
34 endpoint@0 { ... };
41 If a port can be configured to work with more than one remote device on the same
43 one port is present in a device node or there is more than one endpoint at a
44 port, or port node needs to be associated with a selected hardware interface,
45 a common scheme using '#address-cells', '#size-cells' and 'reg' properties is
49 specify #address-cells, #size-cells properties independently for the 'port'
50 and 'endpoint' nodes and any child device nodes a device might have.
52 Two 'endpoint' nodes are linked with each other through their 'remote-endpoint'
53 phandles. An endpoint subnode of a device contains all properties needed for
57 between two devices, e.g. there are logic signal inverters on the lines.
59 It is allowed for multiple endpoints at a port to be active simultaneously,
60 where supported by a device. For example, in case where a data interface of
61 a device is partitioned into multiple data busses, e.g. 16-bit input port
62 divided into two separate ITU-R BT.656 8-bit busses. In such case bus-width
63 and data-shift properties can be used to assign physical data lines to each
67 --------------------------------
71 endpoint nodes for the device, including unit-addresses and reg properties
75 - $ref: /schemas/graph.yaml#/$defs/endpoint-base
78 slave-mode:
87 bus-type:
90 - 1 # MIPI CSI-2 C-PHY
91 - 2 # MIPI CSI1
92 - 3 # CCP2
93 - 4 # MIPI CSI-2 D-PHY
94 - 5 # Parallel
95 - 6 # BT.656
99 bus-width:
105 data-shift:
109 On the parallel data busses, if bus-width is used to specify the number of
110 data lines, data-shift can be used to specify which data lines are used,
111 e.g. "bus-width=<8>; data-shift=<2>;" means, that lines 9:2 are used.
113 hsync-active:
115 enum: [ 0, 1 ]
117 Active state of the HSYNC signal, 0/1 for LOW/HIGH respectively.
119 vsync-active:
121 enum: [ 0, 1 ]
123 Active state of the VSYNC signal, 0/1 for LOW/HIGH respectively. Note,
127 data-active:
129 enum: [ 0, 1 ]
133 data-enable-active:
135 enum: [ 0, 1 ]
139 field-even-active:
141 enum: [ 0, 1 ]
145 pclk-sample:
147 enum: [ 0, 1 ]
149 Sample data on rising (1) or falling (0) edge of the pixel clock signal.
151 sync-on-green-active:
153 enum: [ 0, 1 ]
155 Active state of Sync-on-green (SoG) signal, 0/1 for LOW/HIGH respectively.
157 data-lanes:
158 $ref: /schemas/types.yaml#/definitions/uint32-array
162 # Assume up to 9 physical lane indices
167 lane, e.g. for 2-lane MIPI CSI-2 bus we could have "data-lanes = <1 2>;",
168 assuming the clock lane is on hardware lane 0. If the hardware does not
170 from 0 or 1 onwards, depending on whether or not there is also a clock
171 lane. This property is valid for serial busses only (e.g. MIPI CSI-2).
173 clock-lanes:
175 # Assume up to 9 physical lane indices
179 lane number, while the value of an entry indicates physical lane, e.g. for
180 a MIPI CSI-2 bus we could have "clock-lanes = <0>;", which places the
181 clock lane on hardware lane 0. This property is valid for serial busses
182 only (e.g. MIPI CSI-2).
184 clock-noncontinuous:
187 Allow MIPI CSI-2 non-continuous clock mode.
189 link-frequencies:
190 $ref: /schemas/types.yaml#/definitions/uint64-array
192 Allowed data bus frequencies. For MIPI CSI-2, for instance, this is the
194 of 64-bit unsigned integers.
196 lane-polarities:
197 $ref: /schemas/types.yaml#/definitions/uint32-array
199 maxItems: 9
201 enum: [ 0, 1 ]
204 followed by the data lanes in the same order as in data-lanes. Valid
205 values are 0 (normal) and 1 (inverted). The length of the array should be
206 the combined length of data-lanes and clock-lanes properties. If the
207 lane-polarities property is omitted, the value must be interpreted as 0
212 enum: [ 0, 1 ]
214 Whether the clock signal is used as clock (0) or strobe (1). Used with