Quad GMSL2 to CSI-2 Deserializer with GMSL1 Compatibility

Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/maxim,max96712.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>"

The MAX96712 deserializer converts GMSL2 or GMSL1 serial inputs into MIPI CSI-2 D-PHY or C-PHY formatted outputs. The device allows each link to simultaneously transmit bidirectional control-channel data while forward video transmissions are in progress. The MAX96712 can accommodate as many as four remotely located sensors using industry-standard coax or STP interconnects.

Each GMSL2 serial link operates at a fixed rate of 3Gbps or 6Gbps in the forward direction and 187.5Mbps in the reverse direction. In GMSL1 mode, the MAX96712 can be paired with first-generation 3.12Gbps or 1.5Gbps GMSL1 serializers or operate up to 3.12Gbps with GMSL2 serializers in GMSL1 mode.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "maxim,max96712", "maxim,max96724"

reg — required here #

I2C device address

Maximum number of items (maxItems): 1

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties and child nodes (properties) #

port@0 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

GMSL Input 0

port@1 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

GMSL Input 1

port@2 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

GMSL Input 2

port@3 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

GMSL Input 3

port@4 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

CSI-2 Output

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — required here

true — No constraints added by this property rule.

bus-type — required here

Allowed values (enum): 1, 4

Required in this object (required): "data-lanes", "bus-type"

Required in this object (required): "port@4"

Required in this object (required): "compatible", "reg", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/media/video-interfaces.h>

i2c@e6508000 {
        #address-cells = <1>;
        #size-cells = <0>;

        reg = <0 0xe6508000>;

        gmsl0: gmsl-deserializer@49 {
                compatible = "maxim,max96712";
                reg = <0x49>;
                enable-gpios = <&pca9654_a 0 GPIO_ACTIVE_HIGH>;

                ports {
                        #address-cells = <1>;
                        #size-cells = <0>;

                        port@4 {
                                reg = <4>;
                                max96712_out0: endpoint {
                                        bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
                                        clock-lanes = <0>;
                                        data-lanes = <1 2 3 4>;
                                        remote-endpoint = <&csi40_in>;
                                };
                        };
                };
        };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright (C) 2021 Renesas Electronics Corp.

Line 73: MEDIA_BUS_TYPE_CSI2_CPHY

Line 74: MEDIA_BUS_TYPE_CSI2_DPHY

Edit this page