Qualcomm Display Clock Controller on SM6125
Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,dispcc-sm6125.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Martin Botka <martin.botka@somainline.org>"
Qualcomm display clock control module provides the clocks and power domains on SM6125.
See also: include/dt-bindings/clock/qcom,dispcc-sm6125.h
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,sm6125-dispcc"
clocks — required here #
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
Pixel clock from DSI PHY1
Item 5
Link clock from DP PHY
Item 6
VCO DIV clock from DP PHY
Item 7
AHB config clock from GCC
Item 8
GPLL0 div source from GCC
clock-names — required here #
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_dsiclk"
Item 5
Exact value (
const):"dp_phy_pll_link_clk"
Item 6
Exact value (
const):"dp_phy_pll_vco_div_clk"
Item 7
Exact value (
const):"cfg_ahb_clk"
Item 8
Exact value (
const):"gcc_disp_gpll0_div_clk_src"
#clock-cells — required here #
Exact value (const): 1
#power-domain-cells — required here #
Exact value (const): 1
power-domains — not listed as required here #
A phandle and PM domain specifier for the CX power domain.
Maximum number of items (maxItems): 1
required-opps — not listed as required here #
A phandle to an OPP node describing the power domain's performance point.
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#power-domain-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/clock/qcom,gcc-sm6125.h>
#include <dt-bindings/power/qcom-rpmpd.h>
clock-controller@5f00000 {
compatible = "qcom,sm6125-dispcc";
reg = <0x5f00000 0x20000>;
clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
<&dsi0_phy 0>,
<&dsi0_phy 1>,
<&dsi1_phy 1>,
<&dp_phy 0>,
<&dp_phy 1>,
<&gcc GCC_DISP_AHB_CLK>,
<&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>;
clock-names = "bi_tcxo",
"dsi0_phy_pll_out_byteclk",
"dsi0_phy_pll_out_dsiclk",
"dsi1_phy_pll_out_dsiclk",
"dp_phy_pll_link_clk",
"dp_phy_pll_vco_div_clk",
"cfg_ahb_clk",
"gcc_disp_gpll0_div_clk_src";
required-opps = <&rpmhpd_opp_ret>;
power-domains = <&rpmpd SM6125_VDDCX>;
#clock-cells = <1>;
#power-domain-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)