Skip to content

Commit b386acc

Browse files
krzkbroonie
authored andcommitted
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: Krzysztof Kozlowski <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 8c7ac82 commit b386acc

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Documentation/devicetree/bindings/sound/qcom,q6apm.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,24 @@ properties:
1818
enum:
1919
- qcom,q6apm
2020

21+
bedais:
22+
type: object
23+
$ref: /schemas/sound/qcom,q6apm-lpass-dais.yaml#
24+
unevaluatedProperties: false
25+
description: Qualcomm DSP audio ports
26+
2127
dais:
2228
type: object
2329
$ref: /schemas/sound/qcom,q6apm-dai.yaml#
2430
unevaluatedProperties: false
2531
description: Qualcomm DSP audio ports
2632

33+
'#sound-dai-cells':
34+
const: 0
35+
2736
required:
2837
- compatible
38+
- bedais
2939
- dais
3040

3141
unevaluatedProperties: false
@@ -41,11 +51,17 @@ examples:
4151
service@1 {
4252
reg = <GPR_APM_MODULE_IID>;
4353
compatible = "qcom,q6apm";
54+
#sound-dai-cells = <0>;
4455
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
4556
4657
dais {
4758
compatible = "qcom,q6apm-dais";
4859
iommus = <&apps_smmu 0x1801 0x0>;
4960
};
61+
62+
bedais {
63+
compatible = "qcom,q6apm-lpass-dais";
64+
#sound-dai-cells = <1>;
65+
};
5066
};
5167
};

0 commit comments

Comments
 (0)