xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-msm8909.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
17ef62cebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
27ef62cebSEmmanuel Vadot%YAML 1.2
37ef62cebSEmmanuel Vadot---
47ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8909.yaml#
57ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
67ef62cebSEmmanuel Vadot
7*fac71e4eSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on MSM8909, MSM8917 and QM215
87ef62cebSEmmanuel Vadot
97ef62cebSEmmanuel Vadotmaintainers:
107ef62cebSEmmanuel Vadot  - Stephan Gerhold <stephan@gerhold.net>
117ef62cebSEmmanuel Vadot
127ef62cebSEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
14*fac71e4eSEmmanuel Vadot  domains on MSM8909, MSM8917 or QM215.
157ef62cebSEmmanuel Vadot
16*fac71e4eSEmmanuel Vadot  See also::
17*fac71e4eSEmmanuel Vadot    include/dt-bindings/clock/qcom,gcc-msm8909.h
18*fac71e4eSEmmanuel Vadot    include/dt-bindings/clock/qcom,gcc-msm8917.h
197ef62cebSEmmanuel Vadot
207ef62cebSEmmanuel Vadotproperties:
217ef62cebSEmmanuel Vadot  compatible:
22*fac71e4eSEmmanuel Vadot    enum:
23*fac71e4eSEmmanuel Vadot      - qcom,gcc-msm8909
24*fac71e4eSEmmanuel Vadot      - qcom,gcc-msm8917
25*fac71e4eSEmmanuel Vadot      - qcom,gcc-qm215
267ef62cebSEmmanuel Vadot
277ef62cebSEmmanuel Vadot  clocks:
287ef62cebSEmmanuel Vadot    items:
297ef62cebSEmmanuel Vadot      - description: XO source
307ef62cebSEmmanuel Vadot      - description: Sleep clock source
317ef62cebSEmmanuel Vadot      - description: DSI phy instance 0 dsi clock
327ef62cebSEmmanuel Vadot      - description: DSI phy instance 0 byte clock
337ef62cebSEmmanuel Vadot
347ef62cebSEmmanuel Vadot  clock-names:
357ef62cebSEmmanuel Vadot    items:
367ef62cebSEmmanuel Vadot      - const: xo
377ef62cebSEmmanuel Vadot      - const: sleep_clk
387ef62cebSEmmanuel Vadot      - const: dsi0pll
397ef62cebSEmmanuel Vadot      - const: dsi0pllbyte
407ef62cebSEmmanuel Vadot
417ef62cebSEmmanuel Vadotrequired:
427ef62cebSEmmanuel Vadot  - compatible
437ef62cebSEmmanuel Vadot  - clocks
447ef62cebSEmmanuel Vadot  - clock-names
457ef62cebSEmmanuel Vadot
467ef62cebSEmmanuel VadotallOf:
477ef62cebSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
487ef62cebSEmmanuel Vadot
497ef62cebSEmmanuel VadotunevaluatedProperties: false
507ef62cebSEmmanuel Vadot
517ef62cebSEmmanuel Vadotexamples:
527ef62cebSEmmanuel Vadot  - |
537ef62cebSEmmanuel Vadot    gcc: clock-controller@1800000 {
547ef62cebSEmmanuel Vadot      compatible = "qcom,gcc-msm8909";
557ef62cebSEmmanuel Vadot      reg = <0x01800000 0x80000>;
567ef62cebSEmmanuel Vadot      #clock-cells = <1>;
577ef62cebSEmmanuel Vadot      #reset-cells = <1>;
587ef62cebSEmmanuel Vadot      #power-domain-cells = <1>;
597ef62cebSEmmanuel Vadot      clocks = <&xo_board>, <&sleep_clk>, <&dsi0_phy 1>, <&dsi0_phy 0>;
607ef62cebSEmmanuel Vadot      clock-names = "xo", "sleep_clk", "dsi0pll", "dsi0pllbyte";
617ef62cebSEmmanuel Vadot    };
627ef62cebSEmmanuel Vadot...
63