arm64: dts: qcom: qrb5165-rb5: add compressed playback support

Audio DSP supports compressed playback on this SoC. It is required
to add compressed DAI and separate MultimeMedia DAI link to enable this.

Fcplay or cplay tools from tinycompress can playback, say, mp3 files:
fcplay -c 0 -d 3 test.mp3

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
Link: https://lore.kernel.org/r/20250228162308.388818-1-alexey.klimov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Alexey Klimov 2025-02-28 16:23:08 +00:00 committed by Bjorn Andersson
parent 2c06e0797c
commit e03ed4ee41

View File

@ -1018,6 +1018,12 @@ dai@1 {
dai@2 {
reg = <2>;
};
dai@3 {
direction = <Q6ASM_DAI_RX>;
is-compress-dai;
reg = <3>;
};
};
&sdhc_2 {
@ -1050,7 +1056,8 @@ &sound {
"VA DMIC1", "vdd-micb",
"MM_DL1", "MultiMedia1 Playback",
"MM_DL2", "MultiMedia2 Playback",
"MultiMedia3 Capture", "MM_UL3";
"MultiMedia3 Capture", "MM_UL3",
"MM_DL4", "MultiMedia4 Playback";
mm1-dai-link {
link-name = "MultiMedia1";
@ -1073,6 +1080,14 @@ cpu {
};
};
mm4-dai-link {
link-name = "MultiMedia4";
cpu {
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>;
};
};
hdmi-dai-link {
link-name = "HDMI Playback";
cpu {