Qualcomm Display Clock & Reset Controller on SDM845
Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sdm845-dispcc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"
Qualcomm display clock control module provides the clocks, resets and power domains on SDM845.
See also: include/dt-bindings/clock/qcom,dispcc-sdm845.h
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sdm845-dispcc"
clocks — required here #
Array item rules (items) #
Item 1
Board XO source
Item 2
GPLL0 source from GCC
Item 3
GPLL0 div source from GCC
Item 4
Byte clock from DSI PHY0
Item 5
Pixel clock from DSI PHY0
Item 6
Byte clock from DSI PHY1
Item 7
Pixel clock from DSI PHY1
Item 8
Link clock from DP PHY
Item 9
VCO DIV clock from DP PHY
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bi_tcxo"
Item 2
Exact value (
const):"gcc_disp_gpll0_clk_src"
Item 3
Exact value (
const):"gcc_disp_gpll0_div_clk_src"
Item 4
Exact value (
const):"dsi0_phy_pll_out_byteclk"
Item 5
Exact value (
const):"dsi0_phy_pll_out_dsiclk"
Item 6
Exact value (
const):"dsi1_phy_pll_out_byteclk"
Item 7
Exact value (
const):"dsi1_phy_pll_out_dsiclk"
Item 8
Exact value (
const):"dp_link_clk_divsel_ten"
Item 9
Exact value (
const):"dp_vco_divided_clk_src_mux"
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#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@af00000 {
compatible = "qcom,sdm845-dispcc";
reg = <0x0af00000 0x10000>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_DISP_GPLL0_CLK_SRC>,
<&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
<&dsi0_phy 0>,
<&dsi0_phy 1>,
<&dsi1_phy 0>,
<&dsi1_phy 1>,
<&dp_phy 0>,
<&dp_phy 1>;
clock-names = "bi_tcxo",
"gcc_disp_gpll0_clk_src",
"gcc_disp_gpll0_div_clk_src",
"dsi0_phy_pll_out_byteclk",
"dsi0_phy_pll_out_dsiclk",
"dsi1_phy_pll_out_byteclk",
"dsi1_phy_pll_out_dsiclk",
"dp_link_clk_divsel_ten",
"dp_vco_divided_clk_src_mux";
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 22: NOTE: sdm845.dtsi existed for quite some time and specified no clocks.
Line 23: The code had to use hardcoded mechanisms to find the input clocks.
Line 24: New dts files should have these clocks.