Cadence MHDP8546 bridge

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

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

Maintainers (maintainers): "Swapnil Jakhade <sjakhade@cadence.com>", "Yuti Amonkar <yamonkar@cadence.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "cdns,mhdp8546", "ti,j721e-mhdp8546"

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Register block of mhdptx apb registers up to PHY mapped area (AUX_CONFIG_P). The AUX and PMA registers are not part of this range, they are instead included in the associated PHY.

Item 2

Register block for DSS_EDP0_INTG_CFG_VP registers in case of TI J7 SoCs.

Item 3

Register block of mhdptx sapb registers.

reg-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "mhdptx"

Item 2

Exact value (const): "j721e-intg"

Item 3

Exact value (const): "mhdptx-sapb"

clocks — required here #

Maximum number of items (maxItems): 1

DP bridge clock, used by the IP to know how to translate a number of clock cycles into a time (which is used to comply with DP standard timings and delays).

phys — required here #

Maximum number of items (maxItems): 1

phandle to the DisplayPort PHY.

phy-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dpphy"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

First input port representing the DP bridge input.

port@1 — not listed as required here

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

Second input port representing the DP bridge input.

port@2 — not listed as required here

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

Third input port representing the DP bridge input.

port@3 — not listed as required here

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

Fourth input port representing the DP bridge input.

port@4 — required here

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

Output port representing the DP bridge output.

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

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): "ti,j721e-mhdp8546"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

reg-names — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

When the condition does not match (else) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

reg-names — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
bus {
    #address-cells = <2>;
    #size-cells = <2>;

    mhdp: dp-bridge@f0fb000000 {
        compatible = "cdns,mhdp8546";
        reg = <0xf0 0xfb000000 0x0 0x1000000>;
        reg-names = "mhdptx";
        clocks = <&mhdp_clock>;
        phys = <&dp_phy>;
        phy-names = "dpphy";
        interrupts = <GIC_SPI 614 IRQ_TYPE_LEVEL_HIGH>;

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

            port@0 {
                reg = <0>;
                dp_bridge_input: endpoint {
                    remote-endpoint = <&xxx_dpi_output>;
                };
            };

            port@4 {
                reg = <4>;
                dp_bridge_output: endpoint {
                    remote-endpoint = <&xxx_dp_connector_input>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page