Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Qualcomm Proxy Resource Manager (Q6PRM) |
| 8 | |
| 9 | maintainers: |
| 10 | - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
| 11 | - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> |
| 12 | |
| 13 | allOf: |
| 14 | - $ref: /schemas/soc/qcom/qcom,apr-services.yaml# |
| 15 | |
| 16 | properties: |
| 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 | |
| 26 | required: |
| 27 | - compatible |
| 28 | - clock-controller |
| 29 | |
| 30 | unevaluatedProperties: false |
| 31 | |
| 32 | examples: |
| 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 | }; |