xref: /linux/Documentation/devicetree/bindings/sound/qcom,q6apm.yaml (revision 58ae9a2aca6f883dd6fd7b8bfc2e1b1b21a2f03e)
16180b325SKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
26180b325SKrzysztof Kozlowski%YAML 1.2
36180b325SKrzysztof Kozlowski---
46180b325SKrzysztof Kozlowski$id: http://devicetree.org/schemas/sound/qcom,q6apm.yaml#
56180b325SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
66180b325SKrzysztof Kozlowski
76180b325SKrzysztof Kozlowskititle: Qualcomm Audio Process Manager (Q6APM)
86180b325SKrzysztof Kozlowski
96180b325SKrzysztof Kozlowskimaintainers:
106180b325SKrzysztof Kozlowski  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
116180b325SKrzysztof Kozlowski  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
126180b325SKrzysztof Kozlowski
136180b325SKrzysztof KozlowskiallOf:
14*58ae9a2aSKrzysztof Kozlowski  - $ref: dai-common.yaml#
156180b325SKrzysztof Kozlowski  - $ref: /schemas/soc/qcom/qcom,apr-services.yaml#
166180b325SKrzysztof Kozlowski
176180b325SKrzysztof Kozlowskiproperties:
186180b325SKrzysztof Kozlowski  compatible:
196180b325SKrzysztof Kozlowski    enum:
206180b325SKrzysztof Kozlowski      - qcom,q6apm
216180b325SKrzysztof Kozlowski
22b386acc0SKrzysztof Kozlowski  bedais:
23b386acc0SKrzysztof Kozlowski    type: object
24b386acc0SKrzysztof Kozlowski    $ref: /schemas/sound/qcom,q6apm-lpass-dais.yaml#
25b386acc0SKrzysztof Kozlowski    unevaluatedProperties: false
26b386acc0SKrzysztof Kozlowski    description: Qualcomm DSP audio ports
27b386acc0SKrzysztof Kozlowski
286180b325SKrzysztof Kozlowski  dais:
296180b325SKrzysztof Kozlowski    type: object
306180b325SKrzysztof Kozlowski    $ref: /schemas/sound/qcom,q6apm-dai.yaml#
316180b325SKrzysztof Kozlowski    unevaluatedProperties: false
326180b325SKrzysztof Kozlowski    description: Qualcomm DSP audio ports
336180b325SKrzysztof Kozlowski
34b386acc0SKrzysztof Kozlowski  '#sound-dai-cells':
35b386acc0SKrzysztof Kozlowski    const: 0
36b386acc0SKrzysztof Kozlowski
376180b325SKrzysztof Kozlowskirequired:
386180b325SKrzysztof Kozlowski  - compatible
39b386acc0SKrzysztof Kozlowski  - bedais
406180b325SKrzysztof Kozlowski  - dais
416180b325SKrzysztof Kozlowski
426180b325SKrzysztof KozlowskiunevaluatedProperties: false
436180b325SKrzysztof Kozlowski
446180b325SKrzysztof Kozlowskiexamples:
456180b325SKrzysztof Kozlowski  - |
466180b325SKrzysztof Kozlowski    #include <dt-bindings/soc/qcom,gpr.h>
476180b325SKrzysztof Kozlowski
486180b325SKrzysztof Kozlowski    gpr {
496180b325SKrzysztof Kozlowski        #address-cells = <1>;
506180b325SKrzysztof Kozlowski        #size-cells = <0>;
516180b325SKrzysztof Kozlowski
526180b325SKrzysztof Kozlowski        service@1 {
536180b325SKrzysztof Kozlowski            reg = <GPR_APM_MODULE_IID>;
546180b325SKrzysztof Kozlowski            compatible = "qcom,q6apm";
55b386acc0SKrzysztof Kozlowski            #sound-dai-cells = <0>;
566180b325SKrzysztof Kozlowski            qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
576180b325SKrzysztof Kozlowski
586180b325SKrzysztof Kozlowski            dais {
596180b325SKrzysztof Kozlowski                compatible = "qcom,q6apm-dais";
606180b325SKrzysztof Kozlowski                iommus = <&apps_smmu 0x1801 0x0>;
616180b325SKrzysztof Kozlowski            };
62b386acc0SKrzysztof Kozlowski
63b386acc0SKrzysztof Kozlowski            bedais {
64b386acc0SKrzysztof Kozlowski                compatible = "qcom,q6apm-lpass-dais";
65b386acc0SKrzysztof Kozlowski                #sound-dai-cells = <1>;
66b386acc0SKrzysztof Kozlowski            };
676180b325SKrzysztof Kozlowski        };
686180b325SKrzysztof Kozlowski    };
69