Skip to content

Commit 8009abe

Browse files
krzkbroonie
authored andcommitted
ASoC: dt-bindings: qcom,q6prm: Split to separate schema
The APR/GPR bindings with services got complicated so move out the Q6PRM service to its own binding. Previously the compatible was documented in qcom,apr.yaml. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 83c8fa5 commit 8009abe

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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 <[email protected]>
11+
- Srinivas Kandagatla <[email protected]>
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+
};

0 commit comments

Comments
 (0)