Waveshare MIPI-DSI to DPI Converter bridge

Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/waveshare,dsi2dpi.yaml#"

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

Maintainers (maintainers): "Joseph Guo <qijian.guo@nxp.com>"

Waveshare bridge board is part of Waveshare panel which converts DSI to DPI.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "waveshare,dsi2dpi"

reg — required here #

Maximum number of items (maxItems): 1

base I2C address of the device

power-supply — 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 — 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.

Video port for MIPI DSI 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-lanes — required here

array of physical DSI data lane indexes.

Array item rules (items)

Item 1

Exact value (const): 1

Item 2

Exact value (const): 2

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

port@1 — required here

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

Video port for MIPI DPI output panel.

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

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

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

false

Not allowed by this rule.

Examples (examples) #


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

  bridge@45 {
    compatible = "waveshare,dsi2dpi";
    reg = <0x45>;
    power-supply = <&reg_3p3v>;

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

      port@0 {
        reg = <0>;

        waveshare_from_dsim: endpoint {
          data-lanes = <1 2>;
          remote-endpoint = <&dsim_to_waveshare>;
        };
      };

      port@1 {
        reg = <1>;

        waveshare_to_panel: endpoint {
          remote-endpoint = <&panel_to_waveshare>;
        };
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page