1 # SPDX-License-Identifier: GPL-2.0-only
4 $id: http://devicetree.org/schemas/clock/qcom,sdm845-dispcc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Display Clock & Reset Controller Binding for SDM845
10 - Taniya Das <tdas@codeaurora.org>
13 Qualcomm display clock control module which supports the clocks, resets and
14 power domains on SDM845.
16 See also dt-bindings/clock/qcom,dispcc-sdm845.h.
20 const: qcom,sdm845-dispcc
22 # NOTE: sdm845.dtsi existed for quite some time and specified no clocks.
23 # The code had to use hardcoded mechanisms to find the input clocks.
24 # New dts files should have these clocks.
27 - description: Board XO source
28 - description: GPLL0 source from GCC
29 - description: GPLL0 div source from GCC
30 - description: Byte clock from DSI PHY0
31 - description: Pixel clock from DSI PHY0
32 - description: Byte clock from DSI PHY1
33 - description: Pixel clock from DSI PHY1
34 - description: Link clock from DP PHY
35 - description: VCO DIV clock from DP PHY
40 - const: gcc_disp_gpll0_clk_src
41 - const: gcc_disp_gpll0_div_clk_src
42 - const: dsi0_phy_pll_out_byteclk
43 - const: dsi0_phy_pll_out_dsiclk
44 - const: dsi1_phy_pll_out_byteclk
45 - const: dsi1_phy_pll_out_dsiclk
46 - const: dp_link_clk_divsel_ten
47 - const: dp_vco_divided_clk_src_mux
55 '#power-domain-cells':
68 - '#power-domain-cells'
70 additionalProperties: false
74 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
75 #include <dt-bindings/clock/qcom,rpmh.h>
76 clock-controller@af00000 {
77 compatible = "qcom,sdm845-dispcc";
78 reg = <0 0x0af00000 0 0x10000>;
79 clocks = <&rpmhcc RPMH_CXO_CLK>,
80 <&gcc GCC_DISP_GPLL0_CLK_SRC>,
81 <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
88 clock-names = "bi_tcxo",
89 "gcc_disp_gpll0_clk_src",
90 "gcc_disp_gpll0_div_clk_src",
91 "dsi0_phy_pll_out_byteclk",
92 "dsi0_phy_pll_out_dsiclk",
93 "dsi1_phy_pll_out_byteclk",
94 "dsi1_phy_pll_out_dsiclk",
95 "dp_link_clk_divsel_ten",
96 "dp_vco_divided_clk_src_mux";
99 #power-domain-cells = <1>;