Qualcomm Display Clock & Reset Controller on SM8150/SM8250/SM8350

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,dispcc-sm8x50.yaml#"

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

Maintainers (maintainers): "Jonathan Marek <jonathan@marek.ca>"

Qualcomm display clock control module provides the clocks, resets and power domains on SM8150/SM8250/SM8350.

See also::
  include/dt-bindings/clock/qcom,dispcc-sm8150.h
  include/dt-bindings/clock/qcom,dispcc-sm8250.h
  include/dt-bindings/clock/qcom,dispcc-sm8350.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sc8180x-dispcc", "qcom,sm8150-dispcc", "qcom,sm8250-dispcc", "qcom,sm8350-dispcc"

clocks — required here #

Minimum number of items (minItems): 7

Array item rules (items) #

Item 1

Board XO source

Item 2

Byte clock from DSI PHY0

Item 3

Pixel clock from DSI PHY0

Item 4

Byte clock from DSI PHY1

Item 5

Pixel clock from DSI PHY1

Item 6

Link clock from DP PHY

Item 7

VCO DIV clock from DP PHY

Item 8

Link clock from eDP PHY

Item 9

VCO DIV clock from eDP PHY

Item 10

Link clock from DP1 PHY

Item 11

VCO DIV clock from DP1 PHY

Item 12

Link clock from DP2 PHY

Item 13

VCO DIV clock from DP2 PHY

clock-names — required here #

Minimum number of items (minItems): 7

Array item rules (items) #

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "dsi0_phy_pll_out_byteclk"

Item 3

Exact value (const): "dsi0_phy_pll_out_dsiclk"

Item 4

Exact value (const): "dsi1_phy_pll_out_byteclk"

Item 5

Exact value (const): "dsi1_phy_pll_out_dsiclk"

Item 6

Exact value (const): "dp_phy_pll_link_clk"

Item 7

Exact value (const): "dp_phy_pll_vco_div_clk"

Item 8

Exact value (const): "edp_phy_pll_link_clk"

Item 9

Exact value (const): "edp_phy_pll_vco_div_clk"

Item 10

Exact value (const): "dptx1_phy_pll_link_clk"

Item 11

Exact value (const): "dptx1_phy_pll_vco_div_clk"

Item 12

Exact value (const): "dptx2_phy_pll_link_clk"

Item 13

Exact value (const): "dptx2_phy_pll_vco_div_clk"

power-domains — not listed as required here #

A phandle and PM domain specifier for the MMCX power domain.

Maximum number of items (maxItems): 1

required-opps — not listed as required here #

A phandle to an OPP node describing required MMCX performance point.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,sc8180x-dispcc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 7

clock-names — not listed as required here

Maximum number of items (maxItems): 7

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@af00000 {
  compatible = "qcom,sm8250-dispcc";
  reg = <0x0af00000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&dsi0_phy 0>,
           <&dsi0_phy 1>,
           <&dsi1_phy 0>,
           <&dsi1_phy 1>,
           <&dp_phy 0>,
           <&dp_phy 1>;
  clock-names = "bi_tcxo",
                "dsi0_phy_pll_out_byteclk",
                "dsi0_phy_pll_out_dsiclk",
                "dsi1_phy_pll_out_byteclk",
                "dsi1_phy_pll_out_dsiclk",
                "dp_phy_pll_link_clk",
                "dp_phy_pll_vco_div_clk";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
  power-domains = <&rpmhpd RPMHPD_MMCX>;
  required-opps = <&rpmhpd_opp_low_svs>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page