1 STMicroelectronics MIPID02 CSI-2 to PARALLEL bridge
3 MIPID02 has two CSI-2 input ports, only one of those ports can be active at a
4 time. Active port input stream will be de-serialized and its content outputted
5 through PARALLEL output port.
6 CSI-2 first input port is a dual lane 800Mbps per lane whereas CSI-2 second
7 input port is a single lane 800Mbps. Both ports support clock and data lane
8 polarity swap. First port also supports data lane swap.
9 PARALLEL output port has a maximum width of 12 bits.
10 Supported formats are RAW6, RAW7, RAW8, RAW10, RAW12, RGB565, RGB888, RGB444,
11 YUV420 8-bit, YUV422 8-bit and YUV420 10-bit.
14 - compatible: shall be "st,st-mipid02"
15 - clocks: reference to the xclk input clock.
16 - clock-names: shall be "xclk".
17 - VDDE-supply: sensor digital IO supply. Must be 1.8 volts.
18 - VDDIN-supply: sensor internal regulator supply. Must be 1.8 volts.
21 - reset-gpios: reference to the GPIO connected to the xsdn pin, if any.
22 This is an active low signal to the mipid02.
25 - ports: A ports node with one port child node per device input and output
26 port, in accordance with the video interface bindings defined in
27 Documentation/devicetree/bindings/media/video-interfaces.txt. The
28 port nodes are numbered as follows:
31 -----------------------------
32 0 CSI-2 first input port
33 1 CSI-2 second input port
36 Endpoint node required property for CSI-2 connection is:
37 - data-lanes: shall be <1> for Port 1. for Port 0 dual-lane operation shall be
38 <1 2> or <2 1>. For Port 0 single-lane operation shall be <1> or <2>.
39 Endpoint node optional property for CSI-2 connection is:
40 - lane-polarities: any lane can be inverted or not.
42 Endpoint node required property for PARALLEL connection is:
43 - bus-width: shall be set to <6>, <7>, <8>, <10> or <12>.
44 Endpoint node optional properties for PARALLEL connection are:
45 - hsync-active: active state of the HSYNC signal, 0/1 for LOW/HIGH respectively.
46 LOW being the default.
47 - vsync-active: active state of the VSYNC signal, 0/1 for LOW/HIGH respectively.
48 LOW being the default.
53 compatible = "st,st-mipid02";
56 clocks = <&clk_ext_camera_12>;
59 VDDIN-supply = <&vdd>;
68 remote-endpoint = <&mipi_csi2_in>;
78 remote-endpoint = <¶llel_out>;