xref: /linux/Documentation/devicetree/bindings/clock/qcom,shikra-audiocorecc.yaml (revision 502d45774af09f1c681c754c4b7cdfb5d7f72fd9)
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,shikra-audiocorecc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Audio Core Clock Controller for Qualcomm Shikra SoC
8
9maintainers:
10  - Imran Shaik <imran.shaik@oss.qualcomm.com>
11
12description: |
13  Audio core clock control module provides the clocks on Qualcomm Shikra
14  SoC platform.
15
16  See also:
17  - include/dt-bindings/clock/qcom,shikra-audiocorecc.h
18
19properties:
20  compatible:
21    const: qcom,shikra-audiocorecc
22
23  clocks:
24    items:
25      - description: Board XO source
26      - description: Board sleep clock
27      - description: Audio ref clock source
28
29  reg:
30    maxItems: 1
31
32  '#clock-cells':
33    const: 1
34
35required:
36  - compatible
37  - reg
38  - clocks
39  - '#clock-cells'
40
41additionalProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/clock/qcom,rpmcc.h>
46    #include <dt-bindings/clock/qcom,shikra-gcc.h>
47    clock-controller@a0a0000 {
48      compatible = "qcom,shikra-audiocorecc";
49      reg = <0x0a0a0000 0x10000>;
50      clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
51               <&sleep_clk>,
52               <&aud_ref_clk_src>;
53      #clock-cells = <1>;
54    };
55...
56