Transparent LVDS encoders and decoders

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/lvds-codec.yaml#"

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

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

This binding supports transparent LVDS encoders and decoders that don't require any configuration.

LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple incompatible data link layers have been used over time to transmit image data to LVDS panels. This binding targets devices compatible with the following specifications only.

[JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February 1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA) [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National Semiconductor [VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video Electronics Standards Association (VESA)

Those devices have been marketed under the FPD-Link and FlatLink brand names among others.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "onnn,fin3385", "ti,ds90c185", "ti,ds90c187", "ti,sn75lvds83"

Item 2

Exact value (const): "lvds-encoder"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "ti,ds90cf364a", "ti,ds90cf384a", "ti,sn65lvds822", "ti,sn65lvds94"

Item 2

Exact value (const): "lvds-decoder"

Rule 3

Allowed values (enum): "thine,thc63lvdm83d"

ports — required here #

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

Properties and child nodes (properties) #

port@0 — 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.

For LVDS encoders, port 0 is the parallel input For LVDS decoders, port 0 is the LVDS input

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-mapping — not listed as required here

Allowed values (enum): "jeida-18", "jeida-24", "vesa-24"

The color signals mapping order. See details in Documentation/devicetree/bindings/display/lvds.yaml

port@1 — required here

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

For LVDS encoders, port 1 is the LVDS output For LVDS decoders, port 1 is the parallel output

Required in this object (required): "port@0", "port@1"

pclk-sample — not listed as required here #

Data sampling on rising or falling edge.

Allowed values (enum): 0, 1

Default value (default): 0

powerdown-gpios — not listed as required here #

The GPIO used to control the power down line of this device.

Maximum number of items (maxItems): 1

power-supply — not listed as required here #

true — No constraints added by this property rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "lvds-decoder"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Properties and child nodes (properties)

port@0 — not listed as required here

Properties and child nodes (properties)

endpoint — not listed as required here

Properties and child nodes (properties)

data-mapping — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "lvds-encoder"

When the condition matches (then) #

Properties and child nodes (properties)

pclk-sample — not listed as required here

false — Not permitted by this property rule.

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

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

false

Not allowed by this rule.

Examples (examples) #

lvds-encoder {
  compatible = "ti,ds90c185", "lvds-encoder";

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

    port@0 {
      reg = <0>;

      lvds_enc_in: endpoint {
        remote-endpoint = <&display_out_rgb>;
      };
    };

    port@1 {
      reg = <1>;

      lvds_enc_out: endpoint {
        remote-endpoint = <&lvds_panel_in>;
      };
    };
  };
};
lvds-decoder {
  compatible = "ti,ds90cf384a", "lvds-decoder";

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

    port@0 {
      reg = <0>;

      lvds_dec_in: endpoint {
        remote-endpoint = <&display_out_lvds>;
      };
    };

    port@1 {
      reg = <1>;

      lvds_dec_out: endpoint {
        remote-endpoint = <&rgb_panel_in>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 36: OnSemi FIN3385

Line 37: For the TI DS90C185 FPD-Link Serializer

Line 38: For the TI DS90C187 FPD-Link Serializer

Line 39: For the TI SN75LVDS83 FlatLink transmitter

Line 40: Generic LVDS encoder compatible fallback

Line 43: For the DS90CF364A FPD-Link LVDS Receiver

Line 44: For the DS90CF384A FPD-Link LVDS Receiver

Line 45: For the SN65LVDS822 FlatLink LVDS Receiver

Line 46: For the SN65DS94 LVDS serdes

Line 47: Generic LVDS decoders compatible fallback

Line 49: For the THC63LVDM83D LVDS serializer

Line 91: Falling edge

Line 92: Rising edge

Edit this page