STMicroelectronics STM32 LVDS Display Interface Transmitter

Schema identifier ($id): "http://devicetree.org/schemas/display/st,stm32mp25-lvds.yaml#"

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

Maintainers (maintainers): "Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>", "Yannick Fertre <yannick.fertre@foss.st.com>"

The STMicroelectronics STM32 LVDS Display Interface Transmitter handles the LVDS protocol: it maps the pixels received from the upstream Pixel-DMA (LTDC) onto the LVDS PHY.

It is composed of three sub blocks:
  - LVDS host: handles the LVDS protocol (FPD / OpenLDI) and maps its input
    pixels onto the data lanes of the PHY
  - LVDS PHY: parallelize the data and drives the LVDS data lanes
  - LVDS wrapper: handles top-level settings
The LVDS controller driver supports the following high-level features:
  - FDP-Link-I and OpenLDI (v0.95) protocols
  - Single-Link or Dual-Link operation
  - Single-Display or Double-Display (with the same content duplicated on both)
  - Flexible Bit-Mapping, including JEIDA and VESA
  - RGB888 or RGB666 output
  - Synchronous design, with one input pixel per clock cycle

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): "st,stm32mp255-lvds"

Item 2

Exact value (const): "st,stm32mp25-lvds"

Rule 2

Exact value (const): "st,stm32mp25-lvds"

#clock-cells — required here #

Exact value (const): 0

Provides the internal LVDS PHY clock to the framework.

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

APB peripheral clock

Item 2

Reference clock for the internal PLL

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "ref"

resets — required here #

Maximum number of items (maxItems): 1

access-controllers — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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#/properties/port

LVDS input port node, connected to the LTDC RGB output port.

port@1 — required here

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

LVDS output port node, connected to a panel or bridge input port.

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

Required in this object (required): "compatible", "#clock-cells", "reg", "clocks", "clock-names", "resets", "ports"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/st,stm32mp25-rcc.h>
#include <dt-bindings/reset/st,stm32mp25-rcc.h>

lvds: lvds@48060000 {
    compatible = "st,stm32mp25-lvds";
    reg = <0x48060000 0x2000>;
    #clock-cells = <0>;
    clocks = <&rcc CK_BUS_LVDS>, <&rcc CK_KER_LVDSPHY>;
    clock-names = "pclk", "ref";
    resets = <&rcc LVDS_R>;

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

        port@0 {
            reg = <0>;
            lvds_in: endpoint {
               remote-endpoint = <&ltdc_ep1_out>;
            };
        };

        port@1 {
            reg = <1>;
            lvds_out0: endpoint {
               remote-endpoint = <&lvds_panel_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page