# Maxim MAX96714 GMSL2 to CSI-2 Deserializer

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c_

> Device-tree binding reference for Maxim MAX96714 GMSL2 to CSI-2 Deserializer.

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;media&#47;i2c&#47;maxim&#44;max96714&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Julien Massot &#60;julien&#46;massot&#64;collabora&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The MAX96714 deserializer converts GMSL2 serial inputs into MIPI CSI-2 D-PHY formatted output. The device allows the GMSL2 link to simultaneously transmit bidirectional control-channel data while forward video transmissions are in progress. The MAX96714 can connect to one remotely located serializer using industry-standard coax or STP interconnects. The device cans operate in pixel or tunnel mode. In pixel mode the MAX96714 can select individual video stream, while the tunnel mode forward all the MIPI data received by the serializer.
The GMSL2 serial link operates at a fixed rate of 3Gbps or 6Gbps in the forward direction and 187.5Mbps in the reverse direction. MAX96714F only supports a fixed rate of 3Gbps in the forward direction.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;maxim&#44;max96714f&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;maxim&#44;max96714&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;maxim&#44;max96714f&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-18291f1487c1b45c6138"></a>

### <code>powerdown&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-a45b8f093ab270c66c0d"><code>1</code></span>

<div id="dt-2e6eeac1c3055c8550d6">
<p style="white-space: pre-wrap">Specifier for the GPIO connected to the PWDNB pin.</p>
</div>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-076265030fa616d9c245"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-16a3f454af238f04e210"></a>

**<code>port&#64;0</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bf3c29e51dd1dcdbf80">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

<a id="dt-a4081946fdcb0e84f410"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">GMSL Input</p>
</div>

<a id="dt-97a7e289fd1dc27f715a"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-1f3754577d69c336f00d"></a>

**<code>endpoint</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f80c0d0094e64d1811a9">[<code>&#47;schemas&#47;media&#47;video&#45;interfaces&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-media/video-interfaces.md#dt-root>)</span>

<a id="dt-69d97269bb790a34386a"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-f55bb7f2e3581e773aad">
<p style="white-space: pre-wrap">Endpoint for GMSL2-Link port.</p>
</div>

<a id="dt-d8ac7b78cc1246edfc03"></a>

**<code>port&#64;1</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9faa1456d91cf714ff9d">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;&#36;defs&#47;port&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-61dbefbf4cdd7cc4556a>)</span>

<a id="dt-5ebb403139241bac1234"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-0fa4b11c6410ab72ea2f">
<p style="white-space: pre-wrap">CSI-2 Output port</p>
</div>

<a id="dt-5a894fc1c5507feebfdc"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-4c1f94482d9b3f1374e5"></a>

**<code>endpoint</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b05be6f25c006a034e08">[<code>&#47;schemas&#47;media&#47;video&#45;interfaces&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-media/video-interfaces.md#dt-root>)</span>

<a id="dt-11cd44624c2541beba98"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<a id="dt-73975f999989e2b986c4"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-84c3783c879cce462837"></a>

**<code>data&#45;lanes</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-179081017c4b1629dbdd"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9c829506ca6c7b918402"><code>4</code></span>

<a id="dt-b706e2638507f5abad06"></a>

**<code>lane&#45;polarities</code> — not listed as required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-da2ffea05feea612afad"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-a7b4cdb5cc5e922d9861"><code>5</code></span>

<a id="dt-51d8403e37756192575d"></a>

**<code>link&#45;frequencies</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ef170a0868b38ba39924"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-59afe984702a3bcb6abd"></a> <span id="dt-75d214c82b412cf820ca"><code>&#34;data&#45;lanes&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-2491871393415320c88c"></a> <span id="dt-95e4854181be8c873eb8"><code>&#34;port&#64;1&#34;</code></span>

<a id="dt-6f35d0affe999e2a03a8"></a>

### <code>i2c&#45;gate</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8421d331ff0f77b47c74">[<code>&#47;schemas&#47;i2c&#47;i2c&#45;gate&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-i2c/i2c-gate.md#dt-root>)</span>

<a id="dt-49c87448a516ffd421e8"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-7c5e4edf3c9eb0829c21">
<p style="white-space: pre-wrap">The MAX96714 will pass through and forward the I2C requests from the incoming I2C bus over the GMSL2 link. Therefore it supports an i2c-gate subnode to configure a serializer.</p>
</div>

<a id="dt-339224ad1d39b43a5a01"></a>

### <code>port0&#45;poc&#45;supply</code> — not listed as required here

<div id="dt-55520de913613abb1241">
<p style="white-space: pre-wrap">Regulator providing Power over Coax for the GMSL port</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;ports&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;
#include &lt;dt-bindings/media/video-interfaces.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    deserializer@28 {
        compatible = "maxim,max96714f";
        reg = &lt;0x28&gt;;
        powerdown-gpios = &lt;&amp;main_gpio0 37 GPIO_ACTIVE_LOW&gt;;

        ports {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;
            port@0 {
                reg = &lt;0&gt;;
                max96714_gmsl_in: endpoint {
                    remote-endpoint = &lt;&amp;max96917f_gmsl_out&gt;;
                };
            };

            port@1 {
                reg = &lt;1&gt;;
                max96714_csi_out: endpoint {
                    data-lanes = &lt;1 2 3 4&gt;;
                    link-frequencies = /bits/ 64 &lt;400000000&gt;;
                    remote-endpoint = &lt;&amp;csi_in&gt;;
                };
            };
        };

        i2c-gate {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;

            serializer@40 {
                compatible = "maxim,max96717f";
                reg = &lt;0x40&gt;;
                gpio-controller;
                #gpio-cells = &lt;2&gt;;
                #clock-cells = &lt;0&gt;;

                ports {
                    #address-cells = &lt;1&gt;;
                    #size-cells = &lt;0&gt;;

                    port@0 {
                        reg = &lt;0&gt;;
                        max96717f_csi_in: endpoint {
                            data-lanes = &lt;1 2&gt;;
                            lane-polarities = &lt;1 0 1&gt;;
                            remote-endpoint = &lt;&amp;sensor_out&gt;;
                        };
                    };

                    port@1 {
                        reg = &lt;1&gt;;
                        max96917f_gmsl_out: endpoint {
                            remote-endpoint = &lt;&amp;max96714_gmsl_in&gt;;
                        };
                    };
                };
            };
        };
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright (C) 2024 Collabora Ltd.</span></p>

</details>
