xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/qcom,gcc-msm8916.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
17ef62cebSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only
27ef62cebSEmmanuel Vadot%YAML 1.2
37ef62cebSEmmanuel Vadot---
47ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8916.yaml#
57ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
67ef62cebSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on MSM8916 and MSM8939
87ef62cebSEmmanuel Vadot
97ef62cebSEmmanuel Vadotmaintainers:
107ef62cebSEmmanuel Vadot  - Stephen Boyd <sboyd@kernel.org>
117ef62cebSEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
127ef62cebSEmmanuel Vadot
137ef62cebSEmmanuel Vadotdescription: |
148bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
158bab661aSEmmanuel Vadot  domains on MSM8916 or MSM8939.
167ef62cebSEmmanuel Vadot
178bab661aSEmmanuel Vadot  See also::
188bab661aSEmmanuel Vadot    include/dt-bindings/clock/qcom,gcc-msm8916.h
198bab661aSEmmanuel Vadot    include/dt-bindings/clock/qcom,gcc-msm8939.h
208bab661aSEmmanuel Vadot    include/dt-bindings/reset/qcom,gcc-msm8916.h
218bab661aSEmmanuel Vadot    include/dt-bindings/reset/qcom,gcc-msm8939.h
227ef62cebSEmmanuel Vadot
237ef62cebSEmmanuel Vadotproperties:
247ef62cebSEmmanuel Vadot  compatible:
257ef62cebSEmmanuel Vadot    enum:
267ef62cebSEmmanuel Vadot      - qcom,gcc-msm8916
277ef62cebSEmmanuel Vadot      - qcom,gcc-msm8939
287ef62cebSEmmanuel Vadot
297ef62cebSEmmanuel Vadot  clocks:
307ef62cebSEmmanuel Vadot    items:
317ef62cebSEmmanuel Vadot      - description: XO source
327ef62cebSEmmanuel Vadot      - description: Sleep clock source
337ef62cebSEmmanuel Vadot      - description: DSI phy instance 0 dsi clock
347ef62cebSEmmanuel Vadot      - description: DSI phy instance 0 byte clock
357ef62cebSEmmanuel Vadot      - description: External MCLK clock
367ef62cebSEmmanuel Vadot      - description: External Primary I2S clock
377ef62cebSEmmanuel Vadot      - description: External Secondary I2S clock
387ef62cebSEmmanuel Vadot
397ef62cebSEmmanuel Vadot  clock-names:
407ef62cebSEmmanuel Vadot    items:
417ef62cebSEmmanuel Vadot      - const: xo
427ef62cebSEmmanuel Vadot      - const: sleep_clk
437ef62cebSEmmanuel Vadot      - const: dsi0pll
447ef62cebSEmmanuel Vadot      - const: dsi0pllbyte
457ef62cebSEmmanuel Vadot      - const: ext_mclk
467ef62cebSEmmanuel Vadot      - const: ext_pri_i2s
477ef62cebSEmmanuel Vadot      - const: ext_sec_i2s
487ef62cebSEmmanuel Vadot
497ef62cebSEmmanuel Vadotrequired:
507ef62cebSEmmanuel Vadot  - compatible
51*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
527ef62cebSEmmanuel Vadot
537ef62cebSEmmanuel VadotallOf:
547ef62cebSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
557ef62cebSEmmanuel Vadot
567ef62cebSEmmanuel VadotunevaluatedProperties: false
577ef62cebSEmmanuel Vadot
587ef62cebSEmmanuel Vadotexamples:
597ef62cebSEmmanuel Vadot  - |
607ef62cebSEmmanuel Vadot    clock-controller@300000 {
617ef62cebSEmmanuel Vadot      compatible = "qcom,gcc-msm8916";
627ef62cebSEmmanuel Vadot      #clock-cells = <1>;
637ef62cebSEmmanuel Vadot      #reset-cells = <1>;
647ef62cebSEmmanuel Vadot      #power-domain-cells = <1>;
657ef62cebSEmmanuel Vadot      reg = <0x300000 0x90000>;
667ef62cebSEmmanuel Vadot    };
677ef62cebSEmmanuel Vadot...
68