xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sc8280xp-lpasscc.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
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    enum:
22      - qcom,sc8280xp-lpassaudiocc
23      - qcom,sc8280xp-lpasscc
24
25  reg:
26    maxItems: 1
27
28  '#clock-cells':
29    const: 1
30
31  '#reset-cells':
32    const: 1
33
34required:
35  - compatible
36  - reg
37  - '#clock-cells'
38  - '#reset-cells'
39
40additionalProperties: false
41
42examples:
43  - |
44    #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h>
45    lpass_audiocc: clock-controller@32a9000 {
46        compatible = "qcom,sc8280xp-lpassaudiocc";
47        reg = <0x032a9000 0x1000>;
48        #clock-cells = <1>;
49        #reset-cells = <1>;
50    };
51
52  - |
53    #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h>
54    lpasscc: clock-controller@33e0000 {
55        compatible = "qcom,sc8280xp-lpasscc";
56        reg = <0x033e0000 0x12000>;
57        #clock-cells = <1>;
58        #reset-cells = <1>;
59    };
60...
61