xref: /linux/Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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,sc8280xp-lpasscc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm LPASS Core & Audio Clock Controller on SC8280XP
8
9maintainers:
10  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11
12description: |
13  Qualcomm LPASS core and audio clock control module provides the clocks,
14  and reset on SC8280XP.
15
16  See also::
17    include/dt-bindings/clock/qcom,lpasscc-sc8280xp.h
18
19properties:
20  compatible:
21    oneOf:
22      - enum:
23          - qcom,sc8280xp-lpassaudiocc
24          - qcom,sc8280xp-lpasscc
25      - items:
26          - const: qcom,x1e80100-lpassaudiocc
27          - const: qcom,sc8280xp-lpassaudiocc
28      - items:
29          - const: qcom,x1e80100-lpasscc
30          - const: qcom,sc8280xp-lpasscc
31
32  reg:
33    maxItems: 1
34
35  '#clock-cells':
36    const: 1
37
38  '#reset-cells':
39    const: 1
40
41required:
42  - compatible
43  - reg
44  - '#clock-cells'
45  - '#reset-cells'
46
47additionalProperties: false
48
49examples:
50  - |
51    #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h>
52    lpass_audiocc: clock-controller@32a9000 {
53        compatible = "qcom,sc8280xp-lpassaudiocc";
54        reg = <0x032a9000 0x1000>;
55        #clock-cells = <1>;
56        #reset-cells = <1>;
57    };
58
59  - |
60    #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h>
61    lpasscc: clock-controller@33e0000 {
62        compatible = "qcom,sc8280xp-lpasscc";
63        reg = <0x033e0000 0x12000>;
64        #clock-cells = <1>;
65        #reset-cells = <1>;
66    };
67...
68