Renesas R-Car DWC HDMI TX Encoder

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

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

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP with a companion PHY IP.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): synopsys,dw-hdmi.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r8a774a1-hdmi", "renesas,r8a774b1-hdmi", "renesas,r8a774e1-hdmi", "renesas,r8a7795-hdmi", "renesas,r8a7796-hdmi", "renesas,r8a77961-hdmi", "renesas,r8a77965-hdmi"

Item 2

Exact value (const): "renesas,rcar-gen3-hdmi"

reg-io-width — not listed as required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Maximum number of items (maxItems): 2

resets — 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

Parallel RGB input port

port@1 — required here

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

HDMI output port

port@2 — required here

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

Sound input port

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

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r8a7795-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/r8a7795-sysc.h>

hdmi@fead0000 {
    compatible = "renesas,r8a7795-hdmi", "renesas,rcar-gen3-hdmi";
    reg = <0xfead0000 0x10000>;
    interrupts = <0 389 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&cpg CPG_CORE R8A7795_CLK_S0D4>, <&cpg CPG_MOD 729>;
    clock-names = "iahb", "isfr";
    power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
    resets = <&cpg 729>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;
        port@0 {
            reg = <0>;
            dw_hdmi0_in: endpoint {
                remote-endpoint = <&du_out_hdmi0>;
            };
        };
        port@1 {
            reg = <1>;
            rcar_dw_hdmi0_out: endpoint {
                remote-endpoint = <&hdmi0_con>;
            };
        };
        port@2 {
            reg = <2>;
            rcar_dw_hdmi0_sound_in: endpoint {
                remote-endpoint = <&hdmi_sound_out>;
            };
        };
    };
};

hdmi0-out {
    compatible = "hdmi-connector";
    label = "HDMI0 OUT";
    type = "a";

    port {
        hdmi0_con: endpoint {
            remote-endpoint = <&rcar_dw_hdmi0_out>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 23: for RZ/G2M compatible HDMI TX

Line 24: for RZ/G2N compatible HDMI TX

Line 25: for RZ/G2H compatible HDMI TX

Line 26: for R-Car H3 compatible HDMI TX

Line 27: for R-Car M3-W compatible HDMI TX

Line 28: for R-Car M3-W+ compatible HDMI TX

Line 29: for R-Car M3-N compatible HDMI TX

Edit this page