Qualcomm Adreno/Snapdragon HDMI output

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/hdmi.yaml#"

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

Maintainers (maintainers): "Rob Clark <robdclark@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,hdmi-tx-8084", "qcom,hdmi-tx-8660", "qcom,hdmi-tx-8960", "qcom,hdmi-tx-8974", "qcom,hdmi-tx-8994", "qcom,hdmi-tx-8996", "qcom,hdmi-tx-8998"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

reg-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "core_physical"

Item 2

Exact value (const): "qfprom_physical"

Item 3

Exact value (const): "hdcp_physical"

interrupts — required here #

Maximum number of items (maxItems): 1

phys — required here #

Maximum number of items (maxItems): 1

phy-names — not listed as required here #

Allowed values (enum): "hdmi_phy", "hdmi-phy"

Deprecated (deprecated): true

core-vdda-supply — not listed as required here #

phandle to VDDA supply regulator

hdmi-mux-supply — not listed as required here #

phandle to mux regulator

Deprecated (deprecated): true

core-vcc-supply — not listed as required here #

phandle to VCC supply regulator

hpd-gpios — not listed as required here #

Maximum number of items (maxItems): 1

hpd pin

#sound-dai-cells — not listed as required here #

Exact value (const): 1

ports — not listed as required here #

Value type (type): "object"

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 endpoints of the controller.

port@1 — not listed as required here

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

Output endpoints of the controller.

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

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

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)

Allowed values (enum): "qcom,hdmi-tx-8960", "qcom,hdmi-tx-8660"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "master_iface"

Item 3

Exact value (const): "slave_iface"

core-vcc-supplies — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,hdmi-tx-8974", "qcom,hdmi-tx-8084", "qcom,hdmi-tx-8994", "qcom,hdmi-tx-8996"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 5

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "mdp_core"

Item 2

Exact value (const): "iface"

Item 3

Exact value (const): "core"

Item 4

Exact value (const): "alt_iface"

Item 5

Exact value (const): "extp"

hdmi-mux-supplies — not listed as required here

false — Not permitted by this property rule.

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,hdmi-tx-8998"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 8

Maximum number of items (maxItems): 8

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "mdp_core"

Item 2

Exact value (const): "iface"

Item 3

Exact value (const): "core"

Item 4

Exact value (const): "alt_iface"

Item 5

Exact value (const): "extp"

Item 6

Exact value (const): "bus"

Item 7

Exact value (const): "mnoc"

Item 8

Exact value (const): "iface_mmss"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
hdmi: hdmi@4a00000 {
  compatible = "qcom,hdmi-tx-8960";
  reg-names = "core_physical";
  reg = <0x04a00000 0x2f0>;
  interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
  clock-names = "core",
                "master_iface",
                "slave_iface";
  clocks = <&clk 61>,
           <&clk 72>,
           <&clk 98>;
  hpd-gpios = <&msmgpio 72 GPIO_ACTIVE_HIGH>;
  core-vdda-supply = <&pm8921_hdmi_mvs>;
  hdmi-mux-supply = <&ext_3p3v>;
  pinctrl-names = "default", "sleep";
  pinctrl-0 = <&hpd_active  &ddc_active  &cec_active>;
  pinctrl-1 = <&hpd_suspend &ddc_suspend &cec_suspend>;

  phys = <&hdmi_phy>;
};
#include <dt-bindings/clock/qcom,gcc-msm8996.h>
#include <dt-bindings/clock/qcom,mmcc-msm8996.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
hdmi@9a0000 {
  compatible = "qcom,hdmi-tx-8996";
  reg = <0x009a0000 0x50c>,
        <0x00070000 0x6158>,
        <0x009e0000 0xfff>;
  reg-names = "core_physical",
              "qfprom_physical",
              "hdcp_physical";

  interrupt-parent = <&mdss>;
  interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;

  clocks = <&mmcc MDSS_MDP_CLK>,
           <&mmcc MDSS_AHB_CLK>,
           <&mmcc MDSS_HDMI_CLK>,
           <&mmcc MDSS_HDMI_AHB_CLK>,
           <&mmcc MDSS_EXTPCLK_CLK>;
  clock-names = "mdp_core",
                "iface",
                "core",
                "alt_iface",
                "extp";

  phys = <&hdmi_phy>;
  #sound-dai-cells = <1>;

  pinctrl-names = "default", "sleep";
  pinctrl-0 = <&hdmi_hpd_active &hdmi_ddc_active>;
  pinctrl-1 = <&hdmi_hpd_suspend &hdmi_ddc_suspend>;

  core-vdda-supply = <&vreg_l12a_1p8>;
  core-vcc-supply = <&vreg_s4a_1p8>;

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

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

Source notes #

Annotations retained from the schema source

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

Edit this page