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,sm6350-camcc.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Qualcomm Camera Clock & Reset Controller on SM6350 |
| 8 | |
| 9 | maintainers: |
| 10 | - Konrad Dybcio <konrad.dybcio@linaro.org> |
| 11 | |
| 12 | description: | |
| 13 | Qualcomm camera clock control module provides the clocks, resets and power |
| 14 | domains on SM6350. |
| 15 | |
| 16 | See also:: include/dt-bindings/clock/qcom,sm6350-camcc.h |
| 17 | |
| 18 | properties: |
| 19 | compatible: |
| 20 | const: qcom,sm6350-camcc |
| 21 | |
| 22 | clocks: |
| 23 | items: |
| 24 | - description: Board XO source |
| 25 | |
| 26 | reg: |
| 27 | maxItems: 1 |
| 28 | |
| 29 | required: |
| 30 | - compatible |
| 31 | - clocks |
| 32 | |
| 33 | allOf: |
| 34 | - $ref: qcom,gcc.yaml# |
| 35 | |
| 36 | unevaluatedProperties: false |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | #include <dt-bindings/clock/qcom,rpmh.h> |
| 41 | clock-controller@ad00000 { |
| 42 | compatible = "qcom,sm6350-camcc"; |
| 43 | reg = <0x0ad00000 0x16000>; |
| 44 | clocks = <&rpmhcc RPMH_CXO_CLK>; |
| 45 | #clock-cells = <1>; |
| 46 | #reset-cells = <1>; |
| 47 | #power-domain-cells = <1>; |
| 48 | }; |
| 49 | ... |