arm64: dts: qcom: QCS615 Talos EVK audio support
v4 cover arm64: dts: qcom: QCS615 Talos EVK audio support
This series adds initial audio support for the QCS615-based Talos EVK platform. It introduces the GPR (Generic Pack Router) node in the SoC device tree and enables a sound card node with the DA7212 codec on the Talos EVK board.
With these changes, playback through headphones and capture from the headset microphone have been tested and verified to work.
---
Changelog:
v4:
- Added mclk support for recording to fix clipping issue.
- v3-link: https://lore.kernel.org/all/[email protected]/
v3:
- Updated sound card model name to "TALOS-EVK".
- v2-link: https://lore.kernel.org/all/[email protected]/
v2:
- Address Konrad's comment to modify the commit message and
group GPIO pins together into a single entry, moved to the
SoC-level DTSI for reuse.
- v1-link: https://lore.kernel.org/all/[email protected]/
Le Qi (2):
arm64: dts: qcom: talos: Add GPR node, audio services, and MI2S1 TLMM
pins
arm64: dts: qcom: talos-evk: Add sound card support with DA7212 codec
arch/arm64/boot/dts/qcom/talos-evk.dts | 65 ++++++++++++++++++++++++++ arch/arm64/boot/dts/qcom/talos.dtsi | 54 +++++++++++++++++++++ 2 files changed, 119 insertions(+)
base-commit: 343f51842f4ed7143872f3aa116a214a5619a4b9
prerequisite-patch-id: 065fda916d7faca61113e1230fcc0ce3916442fe
prerequisite-patch-id: c009966e432e7f11bbb895167e32e517b6ff76e3
prerequisite-patch-id: a44d58bc0cfaab99dff8c4e12ecd0312447766be
prerequisite-patch-id: 90d34838fae36448c984708ec458d87fa742f917
prerequisite-patch-id: 2f1bd3efac328030dd8efe28fb95f84603868043
prerequisite-patch-id: 8ad66615b5ca826310e24e8e787030fba9a0d3a0
prerequisite-patch-id: 25900036091fd7fe44b1528affc2c033ee844124
Signature · 1 line
2.34.1
PATCH v4 1/2 arm64: dts: qcom: talos: Add GPR node, audio services, and MI2S1 TLMM pins
This patch adds the Generic Pack Router (GPR) node together with Audio Process Manager (APM) and Proxy Resource Manager (PRM) audio service nodes to the Talos device tree description.
It also introduces MI2S1 pinctrl states for data0, data1, sck, and ws lines, grouped into a single entry at the SoC-level DTSI for better reuse and clarity.
--- arch/arm64/boot/dts/qcom/talos.dtsi | 54 +++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+)
arch/arm64/boot/dts/qcom/talos.dtsi +54 -0
@@ -19,6 +19,7 @@ #include <dt-bindings/power/qcom-rpmpd.h> #include <dt-bindings/power/qcom,rpmhpd.h> #include <dt-bindings/soc/qcom,rpmh-rsc.h> +#include <dt-bindings/soc/qcom,gpr.h> / { interrupt-parent = <&intc>;
@@ -1553,6 +1554,20 @@ tlmm: pinctrl@3100000 { #interrupt-cells = <2>; wakeup-parent = <&pdc>; + mi2s1_pins: mi2s1-state { + pins = "gpio108", "gpio109", "gpio110", "gpio111"; + function = "mi2s_1"; + drive-strength = <8>; + bias-disable; + }; + + mi2s_mclk: mi2s-mclk-state { + pins = "gpio122"; + function = "mclk2"; + drive-strength = <8>; + bias-disable; + }; + qup_i2c1_data_clk: qup-i2c1-data-clk-state { pins = "gpio4", "gpio5"; function = "qup0";
@@ -4696,6 +4711,45 @@ compute-cb@6 { dma-coherent; }; }; + + gpr: gpr { + compatible = "qcom,gpr"; + qcom,glink-channels = "adsp_apps"; + qcom,domain = <GPR_DOMAIN_ID_ADSP>; + qcom,intents = <512 20>; + #address-cells = <1>; + #size-cells = <0>; + + q6apm: service@1 { + compatible = "qcom,q6apm"; + reg = <GPR_APM_MODULE_IID>; + #sound-dai-cells = <0>; + qcom,protection-domain = "avs/audio", + "msm/adsp/audio_pd"; + + q6apmbedai: bedais { + compatible = "qcom,q6apm-lpass-dais"; + #sound-dai-cells = <1>; + }; + + q6apmdai: dais { + compatible = "qcom,q6apm-dais"; + iommus = <&apps_smmu 0x1721 0x0>; + }; + }; + + q6prm: service@2 { + compatible = "qcom,q6prm"; + reg = <GPR_PRM_MODULE_IID>; + qcom,protection-domain = "avs/audio", + "msm/adsp/audio_pd"; + + q6prmcc: clock-controller { + compatible = "qcom,q6prm-lpass-clocks"; + #clock-cells = <2>; + }; + }; + }; }; };
Signature · 1 line
2.34.1
Bjorn Andersson
maintainerRe: [PATCH v4 1/2] arm64: dts: qcom: talos: Add GPR node, audio services, and MI2S1 TLMM pins
Quoted 1 line · On Tue, Mar 24, 2026 at 02:04:04PM +0800, Le Qi wrote:
This patch adds the Generic Pack Router (GPR) node together with
Please avoid phrases such as "This patch". Start your commit message with a description of the problem or purpose of the patch.
Quoted 18 lines
Audio Process Manager (APM) and Proxy Resource Manager (PRM) audio service nodes to the Talos device tree description.
It also introduces MI2S1 pinctrl states for data0, data1, sck, and ws lines, grouped into a single entry at the SoC-level DTSI for better reuse and clarity.
Reviewed-by Konrad Dybcio <[email protected]>Signed-off-by Le Qi <[email protected]>--- arch/arm64/boot/dts/qcom/talos.dtsi | 54 +++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+)arch/arm64/boot/dts/qcom/talos.dtsi +0
-0
arch/arm64/boot/dts/qcom/talos.dtsi line 22
Quoted 4 lines
arch/arm64/boot/dts/qcom/talos.dtsi +1
-0@@ -19,6 +19,7 @@ #include <dt-bindings/power/qcom-rpmpd.h> #include <dt-bindings/power/qcom,rpmhpd.h> #include <dt-bindings/soc/qcom,rpmh-rsc.h> +#include <dt-bindings/soc/qcom,gpr.h>
Keep includes sorted alphabetically.
Regards,
Bjorn
Quoted 73 lines
arch/arm64/boot/dts/qcom/talos.dtsi +53
-0/ { interrupt-parent = <&intc>;@@ -1553,6 +1554,20 @@ tlmm: pinctrl@3100000 { #interrupt-cells = <2>; wakeup-parent = <&pdc>; + mi2s1_pins: mi2s1-state { + pins = "gpio108", "gpio109", "gpio110", "gpio111"; + function = "mi2s_1"; + drive-strength = <8>; + bias-disable; + }; + + mi2s_mclk: mi2s-mclk-state { + pins = "gpio122"; + function = "mclk2"; + drive-strength = <8>; + bias-disable; + }; + qup_i2c1_data_clk: qup-i2c1-data-clk-state { pins = "gpio4", "gpio5"; function = "qup0";@@ -4696,6 +4711,45 @@ compute-cb@6 { dma-coherent; }; }; + + gpr: gpr { + compatible = "qcom,gpr"; + qcom,glink-channels = "adsp_apps"; + qcom,domain = <GPR_DOMAIN_ID_ADSP>; + qcom,intents = <512 20>; + #address-cells = <1>; + #size-cells = <0>; + + q6apm: service@1 { + compatible = "qcom,q6apm"; + reg = <GPR_APM_MODULE_IID>; + #sound-dai-cells = <0>; + qcom,protection-domain = "avs/audio", + "msm/adsp/audio_pd"; + + q6apmbedai: bedais { + compatible = "qcom,q6apm-lpass-dais"; + #sound-dai-cells = <1>; + }; + + q6apmdai: dais { + compatible = "qcom,q6apm-dais"; + iommus = <&apps_smmu 0x1721 0x0>; + }; + }; + + q6prm: service@2 { + compatible = "qcom,q6prm"; + reg = <GPR_PRM_MODULE_IID>; + qcom,protection-domain = "avs/audio", + "msm/adsp/audio_pd"; + + q6prmcc: clock-controller { + compatible = "qcom,q6prm-lpass-clocks"; + #clock-cells = <2>; + }; + }; + }; }; };Signature · 1 line
2.34.1
Re: [PATCH v4 1/2] arm64: dts: qcom: talos: Add GPR node, audio services, and MI2S1 TLMM pins
Quoted 19 lines · Bjorn Andersson
Quoted 1 line · On Tue, Mar 24, 2026 at 02:04:04PM +0800, Le Qi wrote:
This patch adds the Generic Pack Router (GPR) node together with
Please avoid phrases such as "This patch". Start your commit message with a description of the problem or purpose of the patch.
Quoted 13 lines
Audio Process Manager (APM) and Proxy Resource Manager (PRM) audio service nodes to the Talos device tree description.
It also introduces MI2S1 pinctrl states for data0, data1, sck, and ws lines, grouped into a single entry at the SoC-level DTSI for better reuse and clarity.
Reviewed-by Konrad Dybcio <[email protected]>Signed-off-by Le Qi <[email protected]>--- arch/arm64/boot/dts/qcom/talos.dtsi | 54 +++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+)
Quoted 12 lines
arch/arm64/boot/dts/qcom/talos.dtsi line 22
Quoted 9 lines
arch/arm64/boot/dts/qcom/talos.dtsi +1
-0@@ -19,6 +19,7 @@ #include <dt-bindings/power/qcom-rpmpd.h> #include <dt-bindings/power/qcom,rpmhpd.h> #include <dt-bindings/soc/qcom,rpmh-rsc.h> +#include <dt-bindings/soc/qcom,gpr.h>Keep includes sorted alphabetically.
Will modify in next patch, thanks.
Quoted 76 lines
Regards,
BjornQuoted 73 lines
arch/arm64/boot/dts/qcom/talos.dtsi +53
-0/ { interrupt-parent = <&intc>;@@ -1553,6 +1554,20 @@ tlmm: pinctrl@3100000 { #interrupt-cells = <2>; wakeup-parent = <&pdc>; + mi2s1_pins: mi2s1-state { + pins = "gpio108", "gpio109", "gpio110", "gpio111"; + function = "mi2s_1"; + drive-strength = <8>; + bias-disable; + }; + + mi2s_mclk: mi2s-mclk-state { + pins = "gpio122"; + function = "mclk2"; + drive-strength = <8>; + bias-disable; + }; + qup_i2c1_data_clk: qup-i2c1-data-clk-state { pins = "gpio4", "gpio5"; function = "qup0";@@ -4696,6 +4711,45 @@ compute-cb@6 { dma-coherent; }; }; + + gpr: gpr { + compatible = "qcom,gpr"; + qcom,glink-channels = "adsp_apps"; + qcom,domain = <GPR_DOMAIN_ID_ADSP>; + qcom,intents = <512 20>; + #address-cells = <1>; + #size-cells = <0>; + + q6apm: service@1 { + compatible = "qcom,q6apm"; + reg = <GPR_APM_MODULE_IID>; + #sound-dai-cells = <0>; + qcom,protection-domain = "avs/audio", + "msm/adsp/audio_pd"; + + q6apmbedai: bedais { + compatible = "qcom,q6apm-lpass-dais"; + #sound-dai-cells = <1>; + }; + + q6apmdai: dais { + compatible = "qcom,q6apm-dais"; + iommus = <&apps_smmu 0x1721 0x0>; + }; + }; + + q6prm: service@2 { + compatible = "qcom,q6prm"; + reg = <GPR_PRM_MODULE_IID>; + qcom,protection-domain = "avs/audio", + "msm/adsp/audio_pd"; + + q6prmcc: clock-controller { + compatible = "qcom,q6prm-lpass-clocks"; + #clock-cells = <2>; + }; + }; + }; }; };Signature · 1 line
2.34.1
Signature · 2 lines
Thx and BRs, Le Qi
PATCH v4 2/2 arm64: dts: qcom: talos-evk: Add sound card support with DA7212 codec
In reply to Le QiAdd the sound card node for QCS615 Talos EVK with DA7212 codec connected over the Primary MI2S interface. The configuration enables headphone playback and headset microphone capture, both of which have been tested to work.
--- arch/arm64/boot/dts/qcom/talos-evk.dts | 65 ++++++++++++++++++++++++++ 1 file changed, 65 insertions(+)
arch/arm64/boot/dts/qcom/talos-evk.dts +65 -0
@@ -5,6 +5,7 @@ /dts-v1/; #include "talos-evk-som.dtsi" +#include <dt-bindings/sound/qcom,q6afe.h> / { model = "Qualcomm QCS615 IQ 615 EVK";
@@ -40,6 +41,46 @@ hdmi_con_out: endpoint { }; }; + sound { + compatible = "qcom,qcs615-sndcard"; + model = "TALOS-EVK"; + + pinctrl-0 = <&mi2s1_pins>, <&mi2s_mclk>; + pinctrl-names = "default"; + + pri-mi2s-capture-dai-link { + link-name = "Primary MI2S Capture"; + + codec { + sound-dai = <&codec_da7212>; + }; + + cpu { + sound-dai = <&q6apmbedai PRIMARY_MI2S_TX>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + + pri-mi2s-playback-dai-link { + link-name = "Primary MI2S Playback"; + + codec { + sound-dai = <&codec_da7212>; + }; + + cpu { + sound-dai = <&q6apmbedai PRIMARY_MI2S_RX>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + }; + vreg_v1p8_out: regulator-v1p8-out { compatible = "regulator-fixed"; regulator-name = "vreg-v1p8-out";
@@ -109,6 +150,19 @@ adv7535_out: endpoint { }; }; +&i2c5 { + status = "okay"; + + codec_da7212: codec@1a { + compatible = "dlg,da7212"; + reg = <0x1a>; + #sound-dai-cells = <0>; + VDDA-supply = <&vreg_v1p8_out>; + VDDIO-supply = <&vreg_v1p8_out>; + VDDMIC-supply = <&vreg_v3p3_out>; + }; +}; + &mdss_dsi0_out { remote-endpoint = <&adv7535_in>; data-lanes = <0 1 2 3>;
@@ -124,6 +178,17 @@ &pon_resin { status = "okay"; }; +&q6apmbedai { + #address-cells = <1>; + #size-cells = <0>; + + dai@17 { + reg = <PRIMARY_MI2S_TX>; + clocks = <&q6prmcc LPASS_CLK_ID_MCLK_2 LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names = "mclk"; + }; +}; + &sdhc_2 { pinctrl-0 = <&sdc2_state_on>; pinctrl-1 = <&sdc2_state_off>;
Signature · 1 line
2.34.1
Bjorn Andersson
maintainerRe: [PATCH v4 2/2] arm64: dts: qcom: talos-evk: Add sound card support with DA7212 codec
Quoted 10 lines · On Tue, Mar 24, 2026 at 02:04:05PM +0800, Le Qi wrote:
Add the sound card node for QCS615 Talos EVK with DA7212 codec connected over the Primary MI2S interface. The configuration enables headphone playback and headset microphone capture, both of which have been tested to work.
Reviewed-by Dmitry Baryshkov <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>Signed-off-by Le Qi <[email protected]>--- arch/arm64/boot/dts/qcom/talos-evk.dts | 65 ++++++++++++++++++++++++++
There's no such file in the upstream tree. Please test on upstream and resubmit once this is ready to be merged.
Regards,
Bjorn
Quoted 102 lines
1 file changed, 65 insertions(+)arch/arm64/boot/dts/qcom/talos-evk.dts +65
-0@@ -5,6 +5,7 @@ /dts-v1/; #include "talos-evk-som.dtsi" +#include <dt-bindings/sound/qcom,q6afe.h> / { model = "Qualcomm QCS615 IQ 615 EVK";@@ -40,6 +41,46 @@ hdmi_con_out: endpoint { }; }; + sound { + compatible = "qcom,qcs615-sndcard"; + model = "TALOS-EVK"; + + pinctrl-0 = <&mi2s1_pins>, <&mi2s_mclk>; + pinctrl-names = "default"; + + pri-mi2s-capture-dai-link { + link-name = "Primary MI2S Capture"; + + codec { + sound-dai = <&codec_da7212>; + }; + + cpu { + sound-dai = <&q6apmbedai PRIMARY_MI2S_TX>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + + pri-mi2s-playback-dai-link { + link-name = "Primary MI2S Playback"; + + codec { + sound-dai = <&codec_da7212>; + }; + + cpu { + sound-dai = <&q6apmbedai PRIMARY_MI2S_RX>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + }; + vreg_v1p8_out: regulator-v1p8-out { compatible = "regulator-fixed"; regulator-name = "vreg-v1p8-out";@@ -109,6 +150,19 @@ adv7535_out: endpoint { }; }; +&i2c5 { + status = "okay"; + + codec_da7212: codec@1a { + compatible = "dlg,da7212"; + reg = <0x1a>; + #sound-dai-cells = <0>; + VDDA-supply = <&vreg_v1p8_out>; + VDDIO-supply = <&vreg_v1p8_out>; + VDDMIC-supply = <&vreg_v3p3_out>; + }; +}; + &mdss_dsi0_out { remote-endpoint = <&adv7535_in>; data-lanes = <0 1 2 3>;@@ -124,6 +178,17 @@ &pon_resin { status = "okay"; }; +&q6apmbedai { + #address-cells = <1>; + #size-cells = <0>; + + dai@17 { + reg = <PRIMARY_MI2S_TX>; + clocks = <&q6prmcc LPASS_CLK_ID_MCLK_2 LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names = "mclk"; + }; +}; + &sdhc_2 { pinctrl-0 = <&sdc2_state_on>; pinctrl-1 = <&sdc2_state_off>;Signature · 1 line
2.34.1
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [PATCH v4 2/2] arm64: dts: qcom: talos-evk: Add sound card support with DA7212 codec
Quoted 122 lines · On 4/8/2026 5:42 PM, Le Qi wrote:
Quoted 6 lines · Bjorn Andersson
Quoted 5 lines · On Tue, Mar 24, 2026 at 02:04:05PM +0800, Le Qi wrote:
Add the sound card node for QCS615 Talos EVK with DA7212 codec connected over the Primary MI2S interface. The configuration enables headphone playback and headset microphone capture, both of which have been tested to work.
Quoted 9 lines
Quoted 5 lines
Reviewed-by Dmitry Baryshkov <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>Signed-off-by Le Qi <[email protected]>---
arch/arm64/boot/dts/qcom/talos-evk.dts| 65 ++++++++++++++++++++++++++There's no such file in the upstream tree. Please test on upstream and resubmit once this is ready to be merged.
Hi Bjorn, this is merged. I will post new patch, thank you.
Quoted 101 lines
Regards,
BjornQuoted 98 lines
1 file changed, 65 insertions(+)arch/arm64/boot/dts/qcom/talos-evk.dts +65
-0@@ -5,6 +5,7 @@ /dts-v1/; #include "talos-evk-som.dtsi" +#include <dt-bindings/sound/qcom,q6afe.h> / { model = "Qualcomm QCS615 IQ 615 EVK";@@ -40,6 +41,46 @@ hdmi_con_out: endpoint { }; }; + sound { + compatible = "qcom,qcs615-sndcard"; + model = "TALOS-EVK"; + + pinctrl-0 = <&mi2s1_pins>, <&mi2s_mclk>; + pinctrl-names = "default"; + + pri-mi2s-capture-dai-link { + link-name = "Primary MI2S Capture"; + + codec { + sound-dai = <&codec_da7212>; + }; + + cpu { + sound-dai = <&q6apmbedai PRIMARY_MI2S_TX>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + + pri-mi2s-playback-dai-link { + link-name = "Primary MI2S Playback"; + + codec { + sound-dai = <&codec_da7212>; + }; + + cpu { + sound-dai = <&q6apmbedai PRIMARY_MI2S_RX>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + }; + vreg_v1p8_out: regulator-v1p8-out { compatible = "regulator-fixed"; regulator-name = "vreg-v1p8-out";@@ -109,6 +150,19 @@ adv7535_out: endpoint { }; }; +&i2c5 { + status = "okay"; + + codec_da7212: codec@1a { + compatible = "dlg,da7212"; + reg = <0x1a>; + #sound-dai-cells = <0>; + VDDA-supply = <&vreg_v1p8_out>; + VDDIO-supply = <&vreg_v1p8_out>; + VDDMIC-supply = <&vreg_v3p3_out>; + }; +}; + &mdss_dsi0_out { remote-endpoint = <&adv7535_in>; data-lanes = <0 1 2 3>;@@ -124,6 +178,17 @@ &pon_resin { status = "okay"; }; +&q6apmbedai { + #address-cells = <1>; + #size-cells = <0>; + + dai@17 { + reg = <PRIMARY_MI2S_TX>; + clocks = <&q6prmcc LPASS_CLK_ID_MCLK_2 LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names = "mclk"; + }; +}; + &sdhc_2 { pinctrl-0 = <&sdc2_state_on>; pinctrl-1 = <&sdc2_state_off>;Signature · 1 line
2.34.1
Signature · 2 lines
Thx and BRs, Le Qi
Quoted 9 lines · On Tue, 24 Mar 2026 14:04:03 +0800, Le Qi wrote:
This series adds initial audio support for the QCS615-based Talos EVK platform. It introduces the GPR (Generic Pack Router) node in the SoC device tree and enables a sound card node with the DA7212 codec on the Talos EVK board.
With these changes, playback through headphones and capture from the headset microphone have been tested and verified to work.
[...]
Applied, thanks!
[1/2] arm64: dts: qcom: talos: Add GPR node, audio services, and MI2S1 TLMM pins
commit: d962cd7c49fa210e53dfeed04028ac9ef112ae70
[2/2] arm64: dts: qcom: talos-evk: Add sound card support with DA7212 codec
commit: 141d7ea5036e70f670aba1e6704be74552a3c964Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>