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,q6afe.yaml# 5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8bab661aSEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: Qualcomm Audio FrontEnd (Q6AFE) 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: /schemas/soc/qcom/qcom,apr-services.yaml# 15*8bab661aSEmmanuel Vadot 16*8bab661aSEmmanuel Vadotproperties: 17*8bab661aSEmmanuel Vadot compatible: 18*8bab661aSEmmanuel Vadot enum: 19*8bab661aSEmmanuel Vadot - qcom,q6afe 20*8bab661aSEmmanuel Vadot 21*8bab661aSEmmanuel Vadot clock-controller: 22*8bab661aSEmmanuel Vadot $ref: /schemas/sound/qcom,q6dsp-lpass-clocks.yaml# 23*8bab661aSEmmanuel Vadot unevaluatedProperties: false 24*8bab661aSEmmanuel Vadot description: Qualcomm DSP LPASS clock controller 25*8bab661aSEmmanuel Vadot 26*8bab661aSEmmanuel Vadot dais: 27*8bab661aSEmmanuel Vadot type: object 28*8bab661aSEmmanuel Vadot $ref: /schemas/sound/qcom,q6dsp-lpass-ports.yaml# 29*8bab661aSEmmanuel Vadot unevaluatedProperties: false 30*8bab661aSEmmanuel Vadot description: Qualcomm DSP audio ports 31*8bab661aSEmmanuel Vadot 32*8bab661aSEmmanuel Vadotrequired: 33*8bab661aSEmmanuel Vadot - compatible 34*8bab661aSEmmanuel Vadot - dais 35*8bab661aSEmmanuel Vadot 36*8bab661aSEmmanuel VadotunevaluatedProperties: false 37*8bab661aSEmmanuel Vadot 38*8bab661aSEmmanuel Vadotexamples: 39*8bab661aSEmmanuel Vadot - | 40*8bab661aSEmmanuel Vadot #include <dt-bindings/soc/qcom,apr.h> 41*8bab661aSEmmanuel Vadot #include <dt-bindings/sound/qcom,q6afe.h> 42*8bab661aSEmmanuel Vadot apr { 43*8bab661aSEmmanuel Vadot #address-cells = <1>; 44*8bab661aSEmmanuel Vadot #size-cells = <0>; 45*8bab661aSEmmanuel Vadot 46*8bab661aSEmmanuel Vadot service@4 { 47*8bab661aSEmmanuel Vadot compatible = "qcom,q6afe"; 48*8bab661aSEmmanuel Vadot reg = <APR_SVC_AFE>; 49*8bab661aSEmmanuel Vadot qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; 50*8bab661aSEmmanuel Vadot 51*8bab661aSEmmanuel Vadot clock-controller { 52*8bab661aSEmmanuel Vadot compatible = "qcom,q6afe-clocks"; 53*8bab661aSEmmanuel Vadot #clock-cells = <2>; 54*8bab661aSEmmanuel Vadot }; 55*8bab661aSEmmanuel Vadot 56*8bab661aSEmmanuel Vadot dais { 57*8bab661aSEmmanuel Vadot compatible = "qcom,q6afe-dais"; 58*8bab661aSEmmanuel Vadot #address-cells = <1>; 59*8bab661aSEmmanuel Vadot #size-cells = <0>; 60*8bab661aSEmmanuel Vadot #sound-dai-cells = <1>; 61*8bab661aSEmmanuel Vadot 62*8bab661aSEmmanuel Vadot dai@22 { 63*8bab661aSEmmanuel Vadot reg = <QUATERNARY_MI2S_RX>; 64*8bab661aSEmmanuel Vadot qcom,sd-lines = <0 1 2 3>; 65*8bab661aSEmmanuel Vadot }; 66*8bab661aSEmmanuel Vadot }; 67*8bab661aSEmmanuel Vadot }; 68*8bab661aSEmmanuel Vadot }; 69