1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/media/i2c/st,st-mipid02.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics MIPID02 CSI-2 to PARALLEL bridge
10 - Benjamin Mugnier <benjamin.mugnier@foss.st.com>
11 - Sylvain Petinot <sylvain.petinot@foss.st.com>
14 MIPID02 has two CSI-2 input ports, only one of those ports can be
15 active at a time. Active port input stream will be de-serialized
16 and its content outputted through PARALLEL output port.
17 CSI-2 first input port is a dual lane 800Mbps per lane whereas CSI-2
18 second input port is a single lane 800Mbps. Both ports support clock
19 and data lane polarity swap. First port also supports data lane swap.
20 PARALLEL output port has a maximum width of 12 bits.
21 Supported formats are RAW6, RAW7, RAW8, RAW10, RAW12, RGB565, RGB888,
22 RGB444, YUV420 8-bit, YUV422 8-bit and YUV420 10-bit.
39 Sensor digital IO supply. Must be 1.8 volts.
43 Sensor internal regulator supply. Must be 1.8 volts.
47 Reference to the GPIO connected to the xsdn pin, if any.
48 This is an active low signal to the mipid02.
51 $ref: /schemas/graph.yaml#/properties/ports
54 $ref: /schemas/graph.yaml#/$defs/port-base
55 unevaluatedProperties: false
56 description: CSI-2 first input port
59 $ref: /schemas/media/video-interfaces.yaml#
60 unevaluatedProperties: false
65 Single-lane operation shall be <1> or <2> .
66 Dual-lane operation shall be <1 2> or <2 1> .
72 Any lane can be inverted or not.
80 $ref: /schemas/graph.yaml#/$defs/port-base
81 unevaluatedProperties: false
82 description: CSI-2 second input port
85 $ref: /schemas/media/video-interfaces.yaml#
86 unevaluatedProperties: false
91 Single-lane operation shall be <1> or <2> .
96 Any lane can be inverted or not.
103 $ref: /schemas/graph.yaml#/$defs/port-base
104 unevaluatedProperties: false
105 description: Output port
108 $ref: /schemas/media/video-interfaces.yaml#
109 unevaluatedProperties: false
113 enum: [6, 7, 8, 10, 12]
127 additionalProperties: false
141 #address-cells = <1>;
144 compatible = "st,st-mipid02";
146 clocks = <&clk_ext_camera_12>;
147 clock-names = "xclk";
148 VDDE-supply = <&vdd>;
149 VDDIN-supply = <&vdd>;
151 #address-cells = <1>;
158 remote-endpoint = <&mipi_csi2_in>;
168 remote-endpoint = <¶llel_out>;