arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-)
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>
---
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
index 7afa5acac3fc..dcb7dca20415 100644
--- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
+++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
@@ -1018,6 +1018,12 @@ dai@1 {
dai@2 {
reg = <2>;
};
+
+ dai@3 {
+ direction = <Q6ASM_DAI_RX>;
+ is-compress-dai;
+ reg = <3>;
+ };
};
&sdhc_2 {
@@ -1044,7 +1050,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";
@@ -1067,6 +1074,14 @@ cpu {
};
};
+ mm4-dai-link {
+ link-name = "MultiMedia4";
+
+ cpu {
+ sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>;
+ };
+ };
+
hdmi-dai-link {
link-name = "HDMI Playback";
cpu {
--
2.47.2
On Fri, 28 Feb 2025 16:23:08 +0000, Alexey Klimov wrote:
> 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
>
>
> [...]
Applied, thanks!
[1/1] arm64: dts: qcom: qrb5165-rb5: add compressed playback support
commit: e03ed4ee41c054dcfc3fe8d045e016cc0aa3a22a
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
© 2016 - 2026 Red Hat, Inc.