Skip to content

Commit 7eea2be

Browse files
krzkbroonie
authored andcommitted
ASoC: dt-bindings: qcom,q6core: Split to separate schema
The APR/GPR bindings with services got complicated so move out the Q6Core 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 8009abe commit 7eea2be

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/qcom,q6core.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm Audio Core (Q6Core)
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,q6core
20+
21+
required:
22+
- compatible
23+
24+
unevaluatedProperties: false
25+
26+
examples:
27+
- |
28+
#include <dt-bindings/soc/qcom,apr.h>
29+
30+
apr {
31+
#address-cells = <1>;
32+
#size-cells = <0>;
33+
34+
service@3 {
35+
compatible = "qcom,q6core";
36+
reg = <APR_SVC_ADSP_CORE>;
37+
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
38+
};
39+
};

0 commit comments

Comments
 (0)