[PATCH v1 1/3] arm64: dts: qcom: talos-lyra-evk: enable audio support

From: Karthik S

Date: Tue Nov 17 2026 - 05:43:27 EST


enable playback and capture over max98091 codec interfaces
for talos-lyra-evk platform.

Signed-off-by: Karthik S <karthik.s@xxxxxxxxxxxxxxxx>
---
.../boot/dts/qcom/talos-lyra-evk-som.dtsi | 1 +
arch/arm64/boot/dts/qcom/talos-lyra-evk.dts | 271 +++++++++++++-----
2 files changed, 202 insertions(+), 70 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/talos-lyra-evk-som.dtsi b/arch/arm64/boot/dts/qcom/talos-lyra-evk-som.dtsi
index d254a32760df..7cc1ebec9903 100644
--- a/arch/arm64/boot/dts/qcom/talos-lyra-evk-som.dtsi
+++ b/arch/arm64/boot/dts/qcom/talos-lyra-evk-som.dtsi
@@ -5,6 +5,7 @@

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
+#include <dt-bindings/sound/qcom,q6afe.h>
#include "talos.dtsi"
#include "pm8150.dtsi"
/ {
diff --git a/arch/arm64/boot/dts/qcom/talos-lyra-evk.dts b/arch/arm64/boot/dts/qcom/talos-lyra-evk.dts
index dffe64475ded..f3db271517b5 100644
--- a/arch/arm64/boot/dts/qcom/talos-lyra-evk.dts
+++ b/arch/arm64/boot/dts/qcom/talos-lyra-evk.dts
@@ -7,109 +7,240 @@
#include "talos-lyra-evk-som.dtsi"

/ {
- model = "Qualcomm Technologies, Inc. QCS615 Talos Lyra EVK";
- compatible = "qcom,talos-lyra-evk", "qcom,qcs615", "qcom,sm6150";
- chassis-type = "embedded";
-
- dp0-connector {
- compatible = "dp-connector";
- label = "DP0";
- type = "full-size";
-
- port {
- dp0_connector_in: endpoint {
- remote-endpoint = <&mdss_dp0_out>;
- };
- };
- };
+ model = "Qualcomm Technologies, Inc. QCS615 Talos Lyra EVK";
+ compatible = "qcom,talos-lyra-evk", "qcom,qcs615", "qcom,sm6150";
+ chassis-type = "embedded";
+
+ dp0-connector {
+ compatible = "dp-connector";
+ label = "DP0";
+ type = "full-size";
+
+ port {
+ dp0_connector_in: endpoint {
+ remote-endpoint = <&mdss_dp0_out>;
+ };
+ };
+ };
+
+ sound {
+ compatible = "qcom,talos-lyra-sndcard";
+ model = "qcs615-snd-card";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&lpi_spkr_i2s_mclk_a>, <&lpi_i2s1_clk>,
+ <&lpi_i2s1_data>, <&lpi_i2s1_ws>;
+
+ sec-mi2s-playback-dai-link {
+ link-name = "Secondary MI2S Playback";
+
+ cpu {
+ sound-dai = <&q6apmbedai SECONDARY_MI2S_RX>;
+ };
+
+ codec {
+ sound-dai = <&max98091>;
+ };
+
+ platform {
+ sound-dai = <&q6apm>;
+ };
+ };
+
+ sec-mi2s-capture-dai-link {
+ link-name = "Secondary MI2S Capture";
+
+ cpu {
+ sound-dai = <&q6apmbedai SECONDARY_MI2S_TX>;
+ };
+
+ codec {
+ sound-dai = <&max98091>;
+ };
+
+ platform {
+ sound-dai = <&q6apm>;
+ };
+ };
+ };
};

&i2c5 {
- clock-frequency = <100000>;
-
- status = "okay";
-
- expander0: gpio@20 {
- compatible = "kinetic,kts1622", "ti,tcal6416";
- reg = <0x20>;
- #gpio-cells = <2>;
- gpio-controller;
- };
-
- expander1: gpio@21 {
- compatible = "kinetic,kts1622", "ti,tcal6416";
- reg = <0x21>;
- #gpio-cells = <2>;
- gpio-controller;
- };
-
- expander2: gpio@38 {
- compatible = "ti,tca9538";
- reg = <0x38>;
- #gpio-cells = <2>;
- gpio-controller;
- };
-
- expander3: gpio@3c {
- compatible = "ti,tca9538";
- reg = <0x3c>;
- #gpio-cells = <2>;
- gpio-controller;
- };
+ clock-frequency = <100000>;
+
+ status = "okay";
+
+ expander0: gpio@20 {
+ compatible = "kinetic,kts1622", "ti,tcal6416";
+ reg = <0x20>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ };
+
+ expander1: gpio@21 {
+ compatible = "kinetic,kts1622", "ti,tcal6416";
+ reg = <0x21>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ };
+
+ expander2: gpio@38 {
+ compatible = "ti,tca9538";
+ reg = <0x38>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ };
+
+ expander3: gpio@3c {
+ compatible = "ti,tca9538";
+ reg = <0x3c>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ };
+
+ max98091: max98091@10 {
+ compatible = "maxim,max98091";
+ reg = <0x10>;
+ #sound-dai-cells = <0>;
+ clock-names = "mclk";
+ clocks = <&q6prmcc LPASS_CLK_ID_SPEAKER_I2S_OSR LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
+ interrupt-parent = <&tlmm>;
+ interrupts = <119 IRQ_TYPE_NONE>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&int_codec>;
+ };
};

&mdss {
- status = "okay";
+ status = "okay";
};

&mdss_dp0 {
- pinctrl-0 = <&dp_hot_plug_det>;
- pinctrl-names = "default";
+ pinctrl-0 = <&dp_hot_plug_det>;
+ pinctrl-names = "default";

- status = "okay";
+ status = "okay";
};

&mdss_dp0_out {
- link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000>;
- remote-endpoint = <&dp0_connector_in>;
+ link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000>;
+ remote-endpoint = <&dp0_connector_in>;
};

&pon_pwrkey {
- status = "okay";
+ status = "okay";
};

&pon_resin {
- linux,code = <KEY_VOLUMEDOWN>;
+ linux,code = <KEY_VOLUMEDOWN>;

- status = "okay";
+ status = "okay";
+};
+
+&soc {
+ lpass_tlmm: pinctrl@62B40000 {
+ compatible = "qcom,qcs615-lpass-lpi-pinctrl";
+ reg = <0x0 0x62B40000 0x0 0x20000>,
+ <0x0 0x62B00000 0x0 0x10000>;
+
+ clocks = <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
+ clock-names = "core";
+
+ gpio-controller;
+ #gpio-cells = <2>;
+ gpio-ranges = <&lpass_tlmm 0 0 32>;
+ };
+};
+
+&lpass_tlmm {
+ lpi_spkr_i2s_mclk_a: lpi-spkr-i2s-mclk-a-state {
+ pins = "gpio19";
+ function = "spkr_i2s_mclk_a";
+ drive-strength = <16>;
+ bias-disable;
+ output-high;
+ };
+
+ lpi_i2s1_clk: lpi-i2s1-clk-state {
+ pins = "gpio8";
+ function = "i2s1_clk";
+ drive-strength = <8>;
+ bias-disable;
+ output-high;
+ };
+
+ lpi_i2s1_clk_sleep: lpi-i2s1-clk-sleep-state {
+ pins = "gpio8";
+ function = "i2s1_clk";
+ drive-strength = <2>;
+ bias-pull-down;
+ input-enable;
+ };
+
+ lpi_i2s1_data: lpi-i2s1-data-state {
+ pins = "gpio10", "gpio11";
+ function = "i2s1_data";
+ drive-strength = <8>;
+ bias-disable;
+ output-high;
+ };
+
+ lpi_i2s1_data_sleep: lpi-i2s1-data-sleep-state {
+ pins = "gpio10", "gpio11";
+ function = "i2s1_data";
+ drive-strength = <2>;
+ bias-pull-down;
+ input-enable;
+ };
+
+ lpi_i2s1_ws: lpi-i2s1-ws-state {
+ pins = "gpio9";
+ function = "i2s1_ws";
+ drive-strength = <8>;
+ bias-disable;
+ output-high;
+ };
+
+ lpi_i2s1_ws_sleep: lpi-i2s1-ws-sleep-state {
+ pins = "gpio9";
+ function = "i2s1_ws";
+ drive-strength = <2>;
+ bias-pull-down;
+ input-enable;
+ };
};

&spi6 {
- status = "okay";
+ status = "okay";

- tpm@0 {
- compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";
- reg = <0>;
- spi-max-frequency = <20000000>;
- };
+ tpm@0 {
+ compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";
+ reg = <0>;
+ spi-max-frequency = <20000000>;
+ };
};

&tlmm {
- dp_hot_plug_det: dp-hot-plug-det-state {
- pins = "gpio104";
- function = "dp_hot";
- bias-disable;
- };
+ int_codec: gpio-irq-state {
+ pins = "gpio119";
+ function = "gpio";
+ };
+
+ dp_hot_plug_det: dp-hot-plug-det-state {
+ pins = "gpio104";
+ function = "dp_hot";
+ bias-disable;
+ };
};

&usb_1 {
- dr_mode = "peripheral";
+ dr_mode = "peripheral";

- status = "okay";
+ status = "okay";
};

&usb_2 {
- dr_mode = "host";
+ dr_mode = "host";

- status = "okay";
+ status = "okay";
};
--
2.34.1