Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/clock/qcom,gcc-msm8994.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Qualcomm Global Clock & Reset Controller on MSM8994 |
| 8 | |
| 9 | maintainers: |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 10 | - Konrad Dybcio <konradybcio@kernel.org> |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 11 | |
| 12 | description: | |
| 13 | Qualcomm global clock control module provides the clocks, resets and power |
| 14 | domains on MSM8994 and MSM8992. |
| 15 | |
| 16 | See also:: include/dt-bindings/clock/qcom,gcc-msm8994.h |
| 17 | |
| 18 | properties: |
| 19 | compatible: |
| 20 | enum: |
| 21 | - qcom,gcc-msm8992 |
| 22 | - qcom,gcc-msm8994 |
| 23 | |
| 24 | clocks: |
| 25 | items: |
| 26 | - description: Board XO source |
| 27 | - description: Sleep clock source |
| 28 | |
| 29 | clock-names: |
| 30 | items: |
| 31 | - const: xo |
| 32 | - const: sleep |
| 33 | |
| 34 | required: |
| 35 | - compatible |
| 36 | - clocks |
| 37 | - clock-names |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 38 | - '#power-domain-cells' |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 39 | |
| 40 | allOf: |
| 41 | - $ref: qcom,gcc.yaml# |
| 42 | |
| 43 | unevaluatedProperties: false |
| 44 | |
| 45 | examples: |
| 46 | - | |
| 47 | clock-controller@300000 { |
| 48 | compatible = "qcom,gcc-msm8994"; |
| 49 | reg = <0x00300000 0x90000>; |
| 50 | clocks = <&xo_board>, <&sleep_clk>; |
| 51 | clock-names = "xo", "sleep"; |
| 52 | #clock-cells = <1>; |
| 53 | #reset-cells = <1>; |
| 54 | #power-domain-cells = <1>; |
| 55 | }; |
| 56 | |
| 57 | ... |