xref: /linux/Documentation/devicetree/bindings/sound/qcom,q6prm.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/qcom,q6prm.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Proxy Resource Manager (Q6PRM)
8
9maintainers:
10  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
12
13allOf:
14  - $ref: /schemas/soc/qcom/qcom,apr-services.yaml#
15
16properties:
17  compatible:
18    enum:
19      - qcom,q6prm
20
21  clock-controller:
22    $ref: /schemas/sound/qcom,q6dsp-lpass-clocks.yaml#
23    unevaluatedProperties: false
24    description: Qualcomm DSP LPASS clock controller
25
26required:
27  - compatible
28  - clock-controller
29
30unevaluatedProperties: false
31
32examples:
33  - |
34    #include <dt-bindings/soc/qcom,gpr.h>
35
36    gpr {
37        #address-cells = <1>;
38        #size-cells = <0>;
39
40        service@2 {
41            reg = <GPR_PRM_MODULE_IID>;
42            compatible = "qcom,q6prm";
43            qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
44
45            clock-controller {
46                compatible = "qcom,q6prm-lpass-clocks";
47                #clock-cells = <2>;
48            };
49        };
50    };
51