69 lines · yaml
1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/qcom,q6apm.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm Audio Process Manager (Q6APM)8 9maintainers:10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>12 13allOf:14 - $ref: dai-common.yaml#15 - $ref: /schemas/soc/qcom/qcom,apr-services.yaml#16 17properties:18 compatible:19 enum:20 - qcom,q6apm21 22 bedais:23 type: object24 $ref: /schemas/sound/qcom,q6apm-lpass-dais.yaml#25 unevaluatedProperties: false26 description: Qualcomm DSP audio ports27 28 dais:29 type: object30 $ref: /schemas/sound/qcom,q6apm-dai.yaml#31 unevaluatedProperties: false32 description: Qualcomm DSP audio ports33 34 '#sound-dai-cells':35 const: 036 37required:38 - compatible39 - bedais40 - dais41 42unevaluatedProperties: false43 44examples:45 - |46 #include <dt-bindings/soc/qcom,gpr.h>47 48 gpr {49 #address-cells = <1>;50 #size-cells = <0>;51 52 service@1 {53 reg = <GPR_APM_MODULE_IID>;54 compatible = "qcom,q6apm";55 #sound-dai-cells = <0>;56 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";57 58 dais {59 compatible = "qcom,q6apm-dais";60 iommus = <&apps_smmu 0x1801 0x0>;61 };62 63 bedais {64 compatible = "qcom,q6apm-lpass-dais";65 #sound-dai-cells = <1>;66 };67 };68 };69