1*8bab661aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 2*8bab661aSEmmanuel Vadot%YAML 1.2 3*8bab661aSEmmanuel Vadot--- 4*8bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/qcom,q6apm.yaml# 5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8bab661aSEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: Qualcomm Audio Process Manager (Q6APM) 8*8bab661aSEmmanuel Vadot 9*8bab661aSEmmanuel Vadotmaintainers: 10*8bab661aSEmmanuel Vadot - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11*8bab661aSEmmanuel Vadot - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 12*8bab661aSEmmanuel Vadot 13*8bab661aSEmmanuel VadotallOf: 14*8bab661aSEmmanuel Vadot - $ref: dai-common.yaml# 15*8bab661aSEmmanuel Vadot - $ref: /schemas/soc/qcom/qcom,apr-services.yaml# 16*8bab661aSEmmanuel Vadot 17*8bab661aSEmmanuel Vadotproperties: 18*8bab661aSEmmanuel Vadot compatible: 19*8bab661aSEmmanuel Vadot enum: 20*8bab661aSEmmanuel Vadot - qcom,q6apm 21*8bab661aSEmmanuel Vadot 22*8bab661aSEmmanuel Vadot bedais: 23*8bab661aSEmmanuel Vadot type: object 24*8bab661aSEmmanuel Vadot $ref: /schemas/sound/qcom,q6apm-lpass-dais.yaml# 25*8bab661aSEmmanuel Vadot unevaluatedProperties: false 26*8bab661aSEmmanuel Vadot description: Qualcomm DSP audio ports 27*8bab661aSEmmanuel Vadot 28*8bab661aSEmmanuel Vadot dais: 29*8bab661aSEmmanuel Vadot type: object 30*8bab661aSEmmanuel Vadot $ref: /schemas/sound/qcom,q6apm-dai.yaml# 31*8bab661aSEmmanuel Vadot unevaluatedProperties: false 32*8bab661aSEmmanuel Vadot description: Qualcomm DSP audio ports 33*8bab661aSEmmanuel Vadot 34*8bab661aSEmmanuel Vadot '#sound-dai-cells': 35*8bab661aSEmmanuel Vadot const: 0 36*8bab661aSEmmanuel Vadot 37*8bab661aSEmmanuel Vadotrequired: 38*8bab661aSEmmanuel Vadot - compatible 39*8bab661aSEmmanuel Vadot - bedais 40*8bab661aSEmmanuel Vadot - dais 41*8bab661aSEmmanuel Vadot 42*8bab661aSEmmanuel VadotunevaluatedProperties: false 43*8bab661aSEmmanuel Vadot 44*8bab661aSEmmanuel Vadotexamples: 45*8bab661aSEmmanuel Vadot - | 46*8bab661aSEmmanuel Vadot #include <dt-bindings/soc/qcom,gpr.h> 47*8bab661aSEmmanuel Vadot 48*8bab661aSEmmanuel Vadot gpr { 49*8bab661aSEmmanuel Vadot #address-cells = <1>; 50*8bab661aSEmmanuel Vadot #size-cells = <0>; 51*8bab661aSEmmanuel Vadot 52*8bab661aSEmmanuel Vadot service@1 { 53*8bab661aSEmmanuel Vadot reg = <GPR_APM_MODULE_IID>; 54*8bab661aSEmmanuel Vadot compatible = "qcom,q6apm"; 55*8bab661aSEmmanuel Vadot #sound-dai-cells = <0>; 56*8bab661aSEmmanuel Vadot qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; 57*8bab661aSEmmanuel Vadot 58*8bab661aSEmmanuel Vadot dais { 59*8bab661aSEmmanuel Vadot compatible = "qcom,q6apm-dais"; 60*8bab661aSEmmanuel Vadot iommus = <&apps_smmu 0x1801 0x0>; 61*8bab661aSEmmanuel Vadot }; 62*8bab661aSEmmanuel Vadot 63*8bab661aSEmmanuel Vadot bedais { 64*8bab661aSEmmanuel Vadot compatible = "qcom,q6apm-lpass-dais"; 65*8bab661aSEmmanuel Vadot #sound-dai-cells = <1>; 66*8bab661aSEmmanuel Vadot }; 67*8bab661aSEmmanuel Vadot }; 68*8bab661aSEmmanuel Vadot }; 69