From e03ed4ee41c054dcfc3fe8d045e016cc0aa3a22a Mon Sep 17 00:00:00 2001 From: Alexey Klimov Date: Fri, 28 Feb 2025 16:23:08 +0000 Subject: [PATCH] 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 Signed-off-by: Alexey Klimov Link: https://lore.kernel.org/r/20250228162308.388818-1-alexey.klimov@linaro.org Signed-off-by: Bjorn Andersson --- 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 15b1873008101..4cc14ab1b9ea0 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -1018,6 +1018,12 @@ dai@2 { reg = <2>; }; + + dai@3 { + direction = ; + is-compress-dai; + reg = <3>; + }; }; &sdhc_2 { @@ -1050,7 +1056,8 @@ "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 @@ }; }; + mm4-dai-link { + link-name = "MultiMedia4"; + + cpu { + sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>; + }; + }; + hdmi-dai-link { link-name = "HDMI Playback"; cpu { -- 2.47.3