Commit b386acc0 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mark Brown

ASoC: dt-bindings: qcom,q6apm: Add SM8450 bedais node

On SM8450 and SC8280XP, the Q6APM is a bit different:
1. It is used as a platform DAI link, so it needs #sound-dai-cells.
2. It has two DAI children, so add new "bedais" node.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221115120235.167812-12-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8c7ac825
...@@ -18,14 +18,24 @@ properties: ...@@ -18,14 +18,24 @@ properties:
enum: enum:
- qcom,q6apm - qcom,q6apm
bedais:
type: object
$ref: /schemas/sound/qcom,q6apm-lpass-dais.yaml#
unevaluatedProperties: false
description: Qualcomm DSP audio ports
dais: dais:
type: object type: object
$ref: /schemas/sound/qcom,q6apm-dai.yaml# $ref: /schemas/sound/qcom,q6apm-dai.yaml#
unevaluatedProperties: false unevaluatedProperties: false
description: Qualcomm DSP audio ports description: Qualcomm DSP audio ports
'#sound-dai-cells':
const: 0
required: required:
- compatible - compatible
- bedais
- dais - dais
unevaluatedProperties: false unevaluatedProperties: false
...@@ -41,11 +51,17 @@ examples: ...@@ -41,11 +51,17 @@ examples:
service@1 { service@1 {
reg = <GPR_APM_MODULE_IID>; reg = <GPR_APM_MODULE_IID>;
compatible = "qcom,q6apm"; compatible = "qcom,q6apm";
#sound-dai-cells = <0>;
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
dais { dais {
compatible = "qcom,q6apm-dais"; compatible = "qcom,q6apm-dais";
iommus = <&apps_smmu 0x1801 0x0>; iommus = <&apps_smmu 0x1801 0x0>;
}; };
bedais {
compatible = "qcom,q6apm-lpass-dais";
#sound-dai-cells = <1>;
};
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment