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,sdm845-camcc.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Qualcomm Camera Clock & Reset Controller on SDM845 |
| 8 | |
| 9 | maintainers: |
| 10 | - Bjorn Andersson <bjorn.andersson@linaro.org> |
| 11 | |
| 12 | description: | |
| 13 | Qualcomm camera clock control module provides the clocks, resets and power |
| 14 | domains on SDM845. |
| 15 | |
| 16 | See also:: include/dt-bindings/clock/qcom,camcc-sm845.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,sdm845-camcc |
| 24 | |
| 25 | clocks: |
| 26 | items: |
| 27 | - description: Board XO source |
| 28 | |
| 29 | clock-names: |
| 30 | items: |
| 31 | - const: bi_tcxo |
| 32 | |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 33 | reg: |
| 34 | maxItems: 1 |
| 35 | |
| 36 | required: |
| 37 | - compatible |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 38 | - clocks |
| 39 | - clock-names |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 40 | |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 41 | unevaluatedProperties: false |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 42 | |
| 43 | examples: |
| 44 | - | |
| 45 | #include <dt-bindings/clock/qcom,rpmh.h> |
| 46 | clock-controller@ad00000 { |
| 47 | compatible = "qcom,sdm845-camcc"; |
| 48 | reg = <0x0ad00000 0x10000>; |
| 49 | clocks = <&rpmhcc RPMH_CXO_CLK>; |
| 50 | clock-names = "bi_tcxo"; |
| 51 | #clock-cells = <1>; |
| 52 | #reset-cells = <1>; |
| 53 | #power-domain-cells = <1>; |
| 54 | }; |
| 55 | ... |