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,sm8450-gpucc.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Qualcomm Graphics Clock & Reset Controller on SM8450 |
| 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 graphics clock control module provides the clocks, resets and power |
| 14 | domains on Qualcomm SoCs. |
| 15 | |
| 16 | See also:: |
| 17 | include/dt-bindings/clock/qcom,sm8450-gpucc.h |
| 18 | include/dt-bindings/clock/qcom,sm8550-gpucc.h |
| 19 | include/dt-bindings/reset/qcom,sm8450-gpucc.h |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 20 | include/dt-bindings/reset/qcom,sm8650-gpucc.h |
Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 21 | include/dt-bindings/reset/qcom,x1e80100-gpucc.h |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 22 | |
| 23 | properties: |
| 24 | compatible: |
| 25 | enum: |
| 26 | - qcom,sm8450-gpucc |
| 27 | - qcom,sm8550-gpucc |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 28 | - qcom,sm8650-gpucc |
Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 29 | - qcom,x1e80100-gpucc |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 30 | |
| 31 | clocks: |
| 32 | items: |
| 33 | - description: Board XO source |
| 34 | - description: GPLL0 main branch source |
| 35 | - description: GPLL0 div branch source |
| 36 | |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 37 | required: |
| 38 | - compatible |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 39 | - clocks |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 40 | - '#power-domain-cells' |
| 41 | |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame^] | 42 | allOf: |
| 43 | - $ref: qcom,gcc.yaml# |
| 44 | |
| 45 | unevaluatedProperties: false |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 46 | |
| 47 | examples: |
| 48 | - | |
| 49 | #include <dt-bindings/clock/qcom,gcc-sm8450.h> |
| 50 | #include <dt-bindings/clock/qcom,rpmh.h> |
| 51 | |
| 52 | soc { |
| 53 | #address-cells = <2>; |
| 54 | #size-cells = <2>; |
| 55 | |
| 56 | clock-controller@3d90000 { |
| 57 | compatible = "qcom,sm8450-gpucc"; |
| 58 | reg = <0 0x03d90000 0 0xa000>; |
| 59 | clocks = <&rpmhcc RPMH_CXO_CLK>, |
| 60 | <&gcc GCC_GPU_GPLL0_CLK_SRC>, |
| 61 | <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; |
| 62 | #clock-cells = <1>; |
| 63 | #reset-cells = <1>; |
| 64 | #power-domain-cells = <1>; |
| 65 | }; |
| 66 | }; |
| 67 | ... |