1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/soc/qcom/qcom,apr.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm APR/GPR (Asynchronous/Generic Packet Router)
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 This binding describes the Qualcomm APR/GPR, APR/GPR is a IPC protocol for
14 communication between Application processor and QDSP. APR/GPR is mainly
15 used for audio/voice services on the QDSP.
28 $ref: /schemas/types.yaml#/definitions/uint32
29 enum: [1, 2, 3, 4, 5, 6, 7]
31 Selects the processor domain for apr
36 5 = Application processor Domain
38 7 = Application Processor2 Domain
42 $ref: /schemas/types.yaml#/definitions/uint32
46 Selects the processor domain for apr
51 5 = Application processor Domain
53 7 = Application Processor2 Domain
54 Selects the processor domain for gpr
57 3 = Application Processor Domain
60 $ref: /schemas/types.yaml#/definitions/string-array
61 description: Channel name used for the communication
65 $ref: /schemas/types.yaml#/definitions/uint32-matrix
70 - description: size of each intent to preallocate
71 - description: amount of intents to preallocate
74 List of (size, amount) pairs describing what intents should be
75 preallocated for this virtual channel. This can be used to tweak the
76 default intents available for the channel to meet expectations of the
80 $ref: /schemas/types.yaml#/definitions/string-array
81 description: Channel name used for the communication
83 - const: apr_audio_svc
94 $ref: /schemas/soc/qcom/qcom,apr-services.yaml
95 additionalProperties: true
97 APR/GPR static port services.
129 - const: apr_audio_svc
133 - qcom,glink-channels
136 qcom,smd-channels: false
143 qcom,glink-channels: false
145 additionalProperties: false
149 #include <dt-bindings/soc/qcom,apr.h>
151 compatible = "qcom,apr-v2";
152 qcom,domain = <APR_DOMAIN_ADSP>;
153 qcom,glink-channels = "apr_audio_svc";
154 qcom,intents = <512 20>;
155 #address-cells = <1>;
159 compatible = "qcom,q6core";
160 reg = <APR_SVC_ADSP_CORE>;
161 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
165 compatible = "qcom,q6afe";
167 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
170 compatible = "qcom,q6afe-clocks";
175 compatible = "qcom,q6afe-dais";
176 #address-cells = <1>;
178 #sound-dai-cells = <1>;
186 #include <dt-bindings/soc/qcom,gpr.h>
188 compatible = "qcom,gpr";
189 qcom,domain = <GPR_DOMAIN_ID_ADSP>;
190 qcom,glink-channels = "adsp_apps";
191 qcom,intents = <512 20>;
192 #address-cells = <1>;
196 compatible = "qcom,q6apm";
197 reg = <GPR_APM_MODULE_IID>;
198 #sound-dai-cells = <0>;
199 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
202 compatible = "qcom,q6apm-dais";
203 iommus = <&apps_smmu 0x1801 0x0>;
207 compatible = "qcom,q6apm-lpass-dais";
208 #sound-dai-cells = <1>;