Renesas RZ/G2L Display Unit (DU)

Schema identifier ($id): "http://devicetree.org/schemas/display/renesas,rzg2l-du.yaml#"

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

Maintainers (maintainers): "Biju Das <biju.das.jz@bp.renesas.com>", "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

These DT bindings describe the Display Unit embedded in the Renesas RZ/G2L and RZ/V2L SoCs.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "renesas,r9a07g043u-du", "renesas,r9a07g044-du", "renesas,r9a09g057-du"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r9a07g054-du"

Item 2

Exact value (const): "renesas,r9a07g044-du"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "renesas,r9a09g056-du"

Item 2

Exact value (const): "renesas,r9a09g057-du"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Main clock

Item 2

Register access clock

Item 3

Video clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "aclk"

Item 2

Exact value (const): "pclk"

Item 3

Exact value (const): "vclk"

resets — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

ports — required here #

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

The connections to the DU output video ports are modeled using the OF graph bindings. The number of ports and their assignment are model-dependent. Each port shall have a single endpoint.

Properties matching a name pattern (patternProperties) #

^port@[0-1]$ — name matches this regular expression

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

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

renesas,vsps — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Array item rules (items)

Item 1

phandle to VSP instance that serves the DU channel

Item 2

Channel index identifying the LIF instance in that VSP

A list of phandle and channel index tuples to the VSPs that handle the memory interfaces for the DU channels.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "power-domains", "ports", "renesas,vsps"

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

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,r9a07g043u-du"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DPI

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,r9a07g044-du"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DSI

port@1 — required here

DPI

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

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,r9a09g057-du"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Properties and child nodes (properties)

port@0 — required here

DSI

port@1 — not listed as required here

false — Not permitted by this property rule.

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

Examples (examples) #

#include <dt-bindings/clock/r9a07g044-cpg.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

display@10890000 {
    compatible = "renesas,r9a07g044-du";
    reg = <0x10890000 0x10000>;
    interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&cpg CPG_MOD R9A07G044_LCDC_CLK_A>,
             <&cpg CPG_MOD R9A07G044_LCDC_CLK_P>,
             <&cpg CPG_MOD R9A07G044_LCDC_CLK_D>;
    clock-names = "aclk", "pclk", "vclk";
    resets = <&cpg R9A07G044_LCDC_RESET_N>;
    power-domains = <&cpg>;

    renesas,vsps = <&vspd0 0>;

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

        port@0 {
            reg = <0>;
            endpoint {
                remote-endpoint = <&dsi0_in>;
            };
        };
        port@1 {
            reg = <1>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 21: RZ/G2UL

Line 22: RZ/G2{L,LC}

Line 23: RZ/V2H(P)

Line 26: RZ/V2L

Line 27: RZ/G2L fallback

Line 29: RZ/V2N

Line 30: RZ/V2H(P) fallback

Line 142: RZ/G2L DU

Edit this page