Amlogic specific extensions to the Synopsys Designware MIPI DSI Host Controller

Schema identifier ($id): "http://devicetree.org/schemas/display/amlogic,meson-g12a-dw-mipi-dsi.yaml#"

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

The Amlogic Meson Synopsys Designware Integration is composed of - A Synopsys DesignWare MIPI DSI Host Controller IP - A TOP control block controlling the Clocks & Resets of the IP

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dsi-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "amlogic,meson-g12a-dw-mipi-dsi"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 4

clock-names — required here #

Minimum number of items (minItems): 3

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "bit"

Item 3

Exact value (const): "px"

Item 4

Exact value (const): "meas"

resets — required here #

Maximum number of items (maxItems): 1

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "top"

phys — required here #

Maximum number of items (maxItems): 1

phy-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dphy"

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

Input node to receive pixel data.

port@1 — required here

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

DSI output node to panel.

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

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "phys", "phy-names", "ports"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi@6000 {
      compatible = "amlogic,meson-g12a-dw-mipi-dsi";
      reg = <0x6000 0x400>;
      resets = <&reset_top>;
      reset-names = "top";
      clocks = <&clk_pclk>, <&bit_clk>, <&clk_px>;
      clock-names = "pclk", "bit", "px";
      phys = <&mipi_dphy>;
      phy-names = "dphy";

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

          /* VPU VENC Input */
          mipi_dsi_venc_port: port@0 {
              reg = <0>;

              mipi_dsi_in: endpoint {
                   remote-endpoint = <&dpi_out>;
              };
          };

          /* DSI Output */
          mipi_dsi_panel_port: port@1 {
              reg = <1>;

              mipi_out_panel: endpoint {
                  remote-endpoint = <&mipi_in_panel>;
              };
          };
      };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2020 BayLibre, SAS

Edit this page