[PATCH RFC 22/23] arm64: dts: qcom: sm8650-valve-deckard: enable audio
From: Neil Armstrong
Date: Fri Nov 13 2026 - 14:45:05 EST
Deckard boots Linux at EL2 without the ADSP audio firmware, its speakers
and DMICs need to be driven through lpass-cpu.
Include sm8650-lpass-cpu.dtsi and add the SM8650 sound card with the
speakers amplifiers on Senary MI2S and the DMICs on the VA macro.
Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/sm8650-valve-deckard.dts | 64 +++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8650-valve-deckard.dts b/arch/arm64/boot/dts/qcom/sm8650-valve-deckard.dts
index a365caa28cee..723f7911fc54 100644
--- a/arch/arm64/boot/dts/qcom/sm8650-valve-deckard.dts
+++ b/arch/arm64/boot/dts/qcom/sm8650-valve-deckard.dts
@@ -16,6 +16,7 @@
#include "pm8550ve.dtsi"
#include "pm8550vs.dtsi"
#include "pmk8550.dtsi"
+#include "sm8650-lpass-cpu.dtsi"
/ {
model = "Valve Deckard";
@@ -160,6 +161,37 @@ framebuffer_mem: framebuffer-region@af400000 {
};
};
+ sound: sound {
+ compatible = "qcom,sm8650-sndcard", "qcom,sm8450-sndcard";
+ model = "VALVE-DECKARD";
+
+ audio-routing = "VA DMIC0", "vdd-micb";
+
+ speaker-dai-link {
+ link-name = "SPKR Playback";
+
+ cpu {
+ sound-dai = <&lpass_cpu MI2S_SENARY>;
+ };
+
+ codec {
+ sound-dai = <&left_spkr_i2s>, <&right_spkr_i2s>;
+ };
+ };
+
+ va-dai-link {
+ link-name = "VA Capture";
+
+ cpu {
+ sound-dai = <&lpass_cpu LPASS_CDC_DMA_VA_TX0>;
+ };
+
+ codec {
+ sound-dai = <&lpass_vamacro 0>;
+ };
+ };
+ };
+
wcn7850-pmu {
compatible = "qcom,wcn7850-pmu";
@@ -776,6 +808,38 @@ eeprom@50 {
};
};
+&lpass_cpu {
+ status = "okay";
+
+ pinctrl-0 = <&i2s2_active>;
+ pinctrl-names = "default";
+
+ dai-link@22 {
+ reg = <MI2S_SENARY>;
+ qcom,playback-sd-lines = <0>;
+ };
+
+ dai-link@19 {
+ reg = <LPASS_CDC_DMA_VA_TX0>;
+ };
+
+};
+
+&lpass_rxmacro {
+ status = "okay";
+};
+
+&lpass_txmacro {
+ status = "okay";
+};
+
+&lpass_vamacro {
+ pinctrl-0 = <&dmic01_default>;
+ pinctrl-names = "default";
+ vdd-micb-supply = <&vreg_l10b_1p8>;
+ qcom,dmic-sample-rate = <2400000>;
+};
+
&pcie0 {
wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
--
2.34.1