xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gpucc-sdm660.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gpucc-sdm660.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Graphics Clock & Reset Controller on SDM630 and SDM660
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm graphics clock control module provides the clocks, resets and
145def4c47SEmmanuel Vadot  power domains on SDM630 and SDM660.
155def4c47SEmmanuel Vadot
165def4c47SEmmanuel Vadot  See also dt-bindings/clock/qcom,gpucc-sdm660.h.
175def4c47SEmmanuel Vadot
185def4c47SEmmanuel Vadotproperties:
195def4c47SEmmanuel Vadot  compatible:
205def4c47SEmmanuel Vadot    enum:
215def4c47SEmmanuel Vadot      - qcom,gpucc-sdm630
225def4c47SEmmanuel Vadot      - qcom,gpucc-sdm660
235def4c47SEmmanuel Vadot
245def4c47SEmmanuel Vadot  clocks:
255def4c47SEmmanuel Vadot    items:
265def4c47SEmmanuel Vadot      - description: Board XO source
275def4c47SEmmanuel Vadot      - description: GPLL0 main gpu branch
285def4c47SEmmanuel Vadot      - description: GPLL0 divider gpu branch
295def4c47SEmmanuel Vadot
305def4c47SEmmanuel Vadot  clock-names:
315def4c47SEmmanuel Vadot    items:
325def4c47SEmmanuel Vadot      - const: xo
335def4c47SEmmanuel Vadot      - const: gcc_gpu_gpll0_clk
345def4c47SEmmanuel Vadot      - const: gcc_gpu_gpll0_div_clk
355def4c47SEmmanuel Vadot
365def4c47SEmmanuel Vadotrequired:
375def4c47SEmmanuel Vadot  - compatible
385def4c47SEmmanuel Vadot  - clocks
395def4c47SEmmanuel Vadot  - clock-names
405def4c47SEmmanuel Vadot  - '#power-domain-cells'
415def4c47SEmmanuel Vadot
42*0e8011faSEmmanuel VadotallOf:
43*0e8011faSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
44*0e8011faSEmmanuel Vadot
45*0e8011faSEmmanuel VadotunevaluatedProperties: false
465def4c47SEmmanuel Vadot
475def4c47SEmmanuel Vadotexamples:
485def4c47SEmmanuel Vadot  - |
495def4c47SEmmanuel Vadot    #include <dt-bindings/clock/qcom,gcc-sdm660.h>
505def4c47SEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmcc.h>
515def4c47SEmmanuel Vadot
525def4c47SEmmanuel Vadot    clock-controller@5065000 {
535def4c47SEmmanuel Vadot      compatible = "qcom,gpucc-sdm660";
545def4c47SEmmanuel Vadot      reg = <0x05065000 0x9038>;
555def4c47SEmmanuel Vadot      clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
565def4c47SEmmanuel Vadot               <&gcc GCC_GPU_GPLL0_CLK>,
575def4c47SEmmanuel Vadot               <&gcc GCC_GPU_GPLL0_DIV_CLK>;
585def4c47SEmmanuel Vadot      clock-names = "xo", "gcc_gpu_gpll0_clk",
595def4c47SEmmanuel Vadot                    "gcc_gpu_gpll0_div_clk";
605def4c47SEmmanuel Vadot      #clock-cells = <1>;
615def4c47SEmmanuel Vadot      #power-domain-cells = <1>;
625def4c47SEmmanuel Vadot      #reset-cells = <1>;
635def4c47SEmmanuel Vadot    };
645def4c47SEmmanuel Vadot...
65