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,sc7280-camcc.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Qualcomm Camera Clock & Reset Controller on SC7280 |
| 8 | |
| 9 | maintainers: |
| 10 | - Taniya Das <quic_tdas@quicinc.com> |
| 11 | |
| 12 | description: | |
| 13 | Qualcomm camera clock control module provides the clocks, resets and |
| 14 | power domains on SC7280. |
| 15 | |
| 16 | See also:: include/dt-bindings/clock/qcom,camcc-sc7280.h |
| 17 | |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 18 | allOf: |
| 19 | - $ref: qcom,gcc.yaml# |
| 20 | |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 21 | properties: |
| 22 | compatible: |
| 23 | const: qcom,sc7280-camcc |
| 24 | |
| 25 | clocks: |
| 26 | items: |
| 27 | - description: Board XO source |
| 28 | - description: Board XO active source |
| 29 | - description: Sleep clock source |
| 30 | |
| 31 | clock-names: |
| 32 | items: |
| 33 | - const: bi_tcxo |
| 34 | - const: bi_tcxo_ao |
| 35 | - const: sleep_clk |
| 36 | |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 37 | reg: |
| 38 | maxItems: 1 |
| 39 | |
| 40 | required: |
| 41 | - compatible |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 42 | - clocks |
| 43 | - clock-names |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 44 | |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 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,rpmh.h> |
| 50 | clock-controller@ad00000 { |
| 51 | compatible = "qcom,sc7280-camcc"; |
| 52 | reg = <0x0ad00000 0x10000>; |
| 53 | clocks = <&rpmhcc RPMH_CXO_CLK>, |
| 54 | <&rpmhcc RPMH_CXO_CLK_A>, |
| 55 | <&sleep_clk>; |
| 56 | clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; |
| 57 | #clock-cells = <1>; |
| 58 | #reset-cells = <1>; |
| 59 | #power-domain-cells = <1>; |
| 60 | }; |
| 61 | ... |