ST-Ericsson Multi Channel Display Engine MCDE

Schema identifier ($id): "http://devicetree.org/schemas/display/ste,mcde.yaml#"

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

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ste,mcde"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

an array of the MCDE clocks

Array item rules (items) #

Item 1

MCDECLK (main MCDE clock)

Item 2

LCDCLK (LCD clock)

Item 3

PLLDSI (HDMI clock)

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mcde"

Item 2

Exact value (const): "lcd"

Item 3

Exact value (const): "hdmi"

resets — not listed as required here #

Maximum number of items (maxItems): 1

epod-supply — required here #

a phandle to the EPOD regulator

vana-supply — required here #

a phandle to the analog voltage regulator

port — not listed as required here #

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

A DPI port node

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^dsi@[0-9a-f]+$ — name matches this regular expression #

subnodes for the three DSI host adapters

Value type (type): "object"

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

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "ste,mcde-dsi"

reg — required here

Maximum number of items (maxItems): 1

vana-supply — required here

a phandle to the analog voltage regulator

clocks — required here

phandles to the high speed and low power (energy save) clocks the high speed clock is not present on the third (dsi2) block, so it should only have the "lp" clock

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — required here

Exactly one of these rules must match (oneOf)

Rule 1

Array item rules (items)

Item 1

Exact value (const): "hs"

Item 2

Exact value (const): "lp"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "lp"

Required in this object (required): "compatible", "reg", "vana-supply", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "epod-supply", "vana-supply"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/mfd/dbx500-prcmu.h>
#include <dt-bindings/gpio/gpio.h>

mcde@a0350000 {
  compatible = "ste,mcde";
  reg = <0xa0350000 0x1000>;
  interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
  epod-supply = <&db8500_b2r2_mcde_reg>;
  vana-supply = <&ab8500_ldo_ana_reg>;
  clocks = <&prcmu_clk PRCMU_MCDECLK>,
           <&prcmu_clk PRCMU_LCDCLK>,
           <&prcmu_clk PRCMU_PLLDSI>;
  clock-names = "mcde", "lcd", "hdmi";
  #address-cells = <1>;
  #size-cells = <1>;
  ranges;

  dsi0: dsi@a0351000 {
    compatible = "ste,mcde-dsi";
    reg = <0xa0351000 0x1000>;
    vana-supply = <&ab8500_ldo_ana_reg>;
    clocks = <&prcmu_clk PRCMU_DSI0CLK>, <&prcmu_clk PRCMU_DSI0ESCCLK>;
    clock-names = "hs", "lp";
    #address-cells = <1>;
    #size-cells = <0>;

    panel@0 {
      compatible = "samsung,s6d16d0";
      reg = <0>;
      vdd1-supply = <&ab8500_ldo_aux1_reg>;
      reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
    };
  };

  dsi1: dsi@a0352000 {
    compatible = "ste,mcde-dsi";
    reg = <0xa0352000 0x1000>;
    vana-supply = <&ab8500_ldo_ana_reg>;
    clocks = <&prcmu_clk PRCMU_DSI1CLK>, <&prcmu_clk PRCMU_DSI1ESCCLK>;
    clock-names = "hs", "lp";
    #address-cells = <1>;
    #size-cells = <0>;
  };

  dsi2: dsi@a0353000 {
    compatible = "ste,mcde-dsi";
    reg = <0xa0353000 0x1000>;
    vana-supply = <&ab8500_ldo_ana_reg>;
    /* This DSI port only has the Low Power / Energy Save clock */
    clocks = <&prcmu_clk PRCMU_DSI2ESCCLK>;
    clock-names = "lp";
    #address-cells = <1>;
    #size-cells = <0>;
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page