xref: /linux/Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.yaml (revision 3b3e71f07d357ef0ee7cfb0edda33698036a0670)
18397c9c0SMartin Botka# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28397c9c0SMartin Botka%YAML 1.2
38397c9c0SMartin Botka---
48397c9c0SMartin Botka$id: http://devicetree.org/schemas/clock/qcom,dispcc-sm6125.yaml#
58397c9c0SMartin Botka$schema: http://devicetree.org/meta-schemas/core.yaml#
68397c9c0SMartin Botka
7ece3c319SKrzysztof Kozlowskititle: Qualcomm Display Clock Controller on SM6125
88397c9c0SMartin Botka
98397c9c0SMartin Botkamaintainers:
108397c9c0SMartin Botka  - Martin Botka <martin.botka@somainline.org>
118397c9c0SMartin Botka
128397c9c0SMartin Botkadescription: |
13ece3c319SKrzysztof Kozlowski  Qualcomm display clock control module provides the clocks and power domains
14ece3c319SKrzysztof Kozlowski  on SM6125.
158397c9c0SMartin Botka
16ece3c319SKrzysztof Kozlowski  See also:: include/dt-bindings/clock/qcom,dispcc-sm6125.h
178397c9c0SMartin Botka
188397c9c0SMartin Botkaproperties:
198397c9c0SMartin Botka  compatible:
208397c9c0SMartin Botka    enum:
218397c9c0SMartin Botka      - qcom,sm6125-dispcc
228397c9c0SMartin Botka
238397c9c0SMartin Botka  clocks:
248397c9c0SMartin Botka    items:
258397c9c0SMartin Botka      - description: Board XO source
268397c9c0SMartin Botka      - description: Byte clock from DSI PHY0
278397c9c0SMartin Botka      - description: Pixel clock from DSI PHY0
288397c9c0SMartin Botka      - description: Pixel clock from DSI PHY1
298397c9c0SMartin Botka      - description: Link clock from DP PHY
308397c9c0SMartin Botka      - description: VCO DIV clock from DP PHY
318397c9c0SMartin Botka      - description: AHB config clock from GCC
32*3b3e71f0SMarijn Suijten      - description: GPLL0 div source from GCC
338397c9c0SMartin Botka
348397c9c0SMartin Botka  clock-names:
358397c9c0SMartin Botka    items:
368397c9c0SMartin Botka      - const: bi_tcxo
378397c9c0SMartin Botka      - const: dsi0_phy_pll_out_byteclk
388397c9c0SMartin Botka      - const: dsi0_phy_pll_out_dsiclk
398397c9c0SMartin Botka      - const: dsi1_phy_pll_out_dsiclk
408397c9c0SMartin Botka      - const: dp_phy_pll_link_clk
418397c9c0SMartin Botka      - const: dp_phy_pll_vco_div_clk
428397c9c0SMartin Botka      - const: cfg_ahb_clk
43*3b3e71f0SMarijn Suijten      - const: gcc_disp_gpll0_div_clk_src
448397c9c0SMartin Botka
458397c9c0SMartin Botka  '#clock-cells':
468397c9c0SMartin Botka    const: 1
478397c9c0SMartin Botka
488397c9c0SMartin Botka  '#power-domain-cells':
498397c9c0SMartin Botka    const: 1
508397c9c0SMartin Botka
518397c9c0SMartin Botka  reg:
528397c9c0SMartin Botka    maxItems: 1
538397c9c0SMartin Botka
548397c9c0SMartin Botkarequired:
558397c9c0SMartin Botka  - compatible
568397c9c0SMartin Botka  - reg
578397c9c0SMartin Botka  - clocks
588397c9c0SMartin Botka  - clock-names
598397c9c0SMartin Botka  - '#clock-cells'
608397c9c0SMartin Botka  - '#power-domain-cells'
618397c9c0SMartin Botka
628397c9c0SMartin BotkaadditionalProperties: false
638397c9c0SMartin Botka
648397c9c0SMartin Botkaexamples:
658397c9c0SMartin Botka  - |
668397c9c0SMartin Botka    #include <dt-bindings/clock/qcom,rpmcc.h>
678397c9c0SMartin Botka    #include <dt-bindings/clock/qcom,gcc-sm6125.h>
688397c9c0SMartin Botka    clock-controller@5f00000 {
698397c9c0SMartin Botka      compatible = "qcom,sm6125-dispcc";
708397c9c0SMartin Botka      reg = <0x5f00000 0x20000>;
718397c9c0SMartin Botka      clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
728397c9c0SMartin Botka               <&dsi0_phy 0>,
738397c9c0SMartin Botka               <&dsi0_phy 1>,
748397c9c0SMartin Botka               <&dsi1_phy 1>,
758397c9c0SMartin Botka               <&dp_phy 0>,
768397c9c0SMartin Botka               <&dp_phy 1>,
77*3b3e71f0SMarijn Suijten               <&gcc GCC_DISP_AHB_CLK>,
78*3b3e71f0SMarijn Suijten               <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>;
798397c9c0SMartin Botka      clock-names = "bi_tcxo",
808397c9c0SMartin Botka                    "dsi0_phy_pll_out_byteclk",
818397c9c0SMartin Botka                    "dsi0_phy_pll_out_dsiclk",
828397c9c0SMartin Botka                    "dsi1_phy_pll_out_dsiclk",
838397c9c0SMartin Botka                    "dp_phy_pll_link_clk",
848397c9c0SMartin Botka                    "dp_phy_pll_vco_div_clk",
85*3b3e71f0SMarijn Suijten                    "cfg_ahb_clk",
86*3b3e71f0SMarijn Suijten                    "gcc_disp_gpll0_div_clk_src";
878397c9c0SMartin Botka      #clock-cells = <1>;
888397c9c0SMartin Botka      #power-domain-cells = <1>;
898397c9c0SMartin Botka    };
908397c9c0SMartin Botka...
91