Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/clock/qcom,gcc-msm8916.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Qualcomm Global Clock & Reset Controller on MSM8916 and MSM8939 |
| 8 | |
| 9 | maintainers: |
| 10 | - Stephen Boyd <sboyd@kernel.org> |
| 11 | - Taniya Das <quic_tdas@quicinc.com> |
| 12 | |
| 13 | description: | |
| 14 | Qualcomm global clock control module provides the clocks, resets and power |
| 15 | domains on MSM8916 or MSM8939. |
| 16 | |
| 17 | See also:: |
| 18 | include/dt-bindings/clock/qcom,gcc-msm8916.h |
| 19 | include/dt-bindings/clock/qcom,gcc-msm8939.h |
| 20 | include/dt-bindings/reset/qcom,gcc-msm8916.h |
| 21 | include/dt-bindings/reset/qcom,gcc-msm8939.h |
| 22 | |
| 23 | properties: |
| 24 | compatible: |
| 25 | enum: |
| 26 | - qcom,gcc-msm8916 |
| 27 | - qcom,gcc-msm8939 |
| 28 | |
| 29 | clocks: |
| 30 | items: |
| 31 | - description: XO source |
| 32 | - description: Sleep clock source |
| 33 | - description: DSI phy instance 0 dsi clock |
| 34 | - description: DSI phy instance 0 byte clock |
| 35 | - description: External MCLK clock |
| 36 | - description: External Primary I2S clock |
| 37 | - description: External Secondary I2S clock |
| 38 | |
| 39 | clock-names: |
| 40 | items: |
| 41 | - const: xo |
| 42 | - const: sleep_clk |
| 43 | - const: dsi0pll |
| 44 | - const: dsi0pllbyte |
| 45 | - const: ext_mclk |
| 46 | - const: ext_pri_i2s |
| 47 | - const: ext_sec_i2s |
| 48 | |
| 49 | required: |
| 50 | - compatible |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 51 | - '#power-domain-cells' |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 52 | |
| 53 | allOf: |
| 54 | - $ref: qcom,gcc.yaml# |
| 55 | |
| 56 | unevaluatedProperties: false |
| 57 | |
| 58 | examples: |
| 59 | - | |
| 60 | clock-controller@300000 { |
| 61 | compatible = "qcom,gcc-msm8916"; |
| 62 | #clock-cells = <1>; |
| 63 | #reset-cells = <1>; |
| 64 | #power-domain-cells = <1>; |
| 65 | reg = <0x300000 0x90000>; |
| 66 | }; |
| 67 | ... |