1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2021 Renesas Electronics Corp.
5 $id: http://devicetree.org/schemas/media/i2c/maxim,max96712.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Quad GMSL2 to CSI-2 Deserializer with GMSL1 Compatibility
11 - Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
14 The MAX96712 deserializer converts GMSL2 or GMSL1 serial inputs into MIPI
15 CSI-2 D-PHY or C-PHY formatted outputs. The device allows each link to
16 simultaneously transmit bidirectional control-channel data while forward
17 video transmissions are in progress. The MAX96712 can accommodate as many as
18 four remotely located sensors using industry-standard coax or STP
21 Each GMSL2 serial link operates at a fixed rate of 3Gbps or 6Gbps in the
22 forward direction and 187.5Mbps in the reverse direction. In GMSL1 mode, the
23 MAX96712 can be paired with first-generation 3.12Gbps or 1.5Gbps GMSL1
24 serializers or operate up to 3.12Gbps with GMSL2 serializers in GMSL1 mode.
31 description: I2C device address
37 $ref: /schemas/graph.yaml#/properties/ports
41 $ref: /schemas/graph.yaml#/properties/port
42 description: GMSL Input 0
45 $ref: /schemas/graph.yaml#/properties/port
46 description: GMSL Input 1
49 $ref: /schemas/graph.yaml#/properties/port
50 description: GMSL Input 2
53 $ref: /schemas/graph.yaml#/properties/port
54 description: GMSL Input 3
57 $ref: /schemas/graph.yaml#/$defs/port-base
58 unevaluatedProperties: false
59 description: CSI-2 Output
63 $ref: /schemas/media/video-interfaces.yaml#
64 unevaluatedProperties: false
70 - 1 # MEDIA_BUS_TYPE_CSI2_CPHY
71 - 4 # MEDIA_BUS_TYPE_CSI2_DPHY
85 additionalProperties: false
89 #include <dt-bindings/gpio/gpio.h>
90 #include <dt-bindings/media/video-interfaces.h>
98 gmsl0: gmsl-deserializer@49 {
99 compatible = "maxim,max96712";
101 enable-gpios = <&pca9654_a 0 GPIO_ACTIVE_HIGH>;
104 #address-cells = <1>;
109 max96712_out0: endpoint {
110 bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
112 data-lanes = <1 2 3 4>;
113 remote-endpoint = <&csi40_in>;