Skip to content

Commit 16cf3fe

Browse files
committed
linux-yocto-dev: qcm6490: fix enable audio on rb3gen2
Enable soundwire and fix the failure during probe. Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
1 parent 55aa58d commit 16cf3fe

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

recipes-kernel/linux/linux-yocto-dev.bbappend

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ SRC_URI:append:qcom = " \
2121
file://qcm6490-board-dts/0003-arm64-dts-qcom-qcs6490-rb3gen2-Modify-WSA-and-VA-mac.patch \
2222
file://qcm6490-board-dts/0004-arm64-dts-qcom-qcs6490-rb3gen2-add-WSA8830-speakers-.patch \
2323
file://qcm6490-board-dts/0005-arm64-dts-qcom-qcs6490-rb3gen2-Add-sound-card.patch \
24+
file://qcm6490-board-dts/0001-dts-rb3gen2-soundwire-checkin.patch \
2425
file://workarounds/0001-QCLINUX-arm64-dts-qcom-qcm6490-disable-sdhc1-for-ufs.patch \
2526
file://workarounds/0001-PENDING-arm64-dts-qcom-Remove-voltage-vote-support-f.patch \
2627
file://drivers/0003-PCI-Add-new-start_link-stop_link-function-ops.patch \
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
From d8535dbed058a3cb8c43a343624b315501b16433 Mon Sep 17 00:00:00 2001
2+
From: Jorge Ramirez-Ortiz <[email protected]>
3+
Date: Wed, 26 Mar 2025 17:49:03 +0100
4+
Subject: [PATCH] dts: rb3gen2: fix soundwire probe
5+
6+
Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
7+
Upstream-Status: Pending [shared internally]
8+
---
9+
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 8 ++++++--
10+
1 file changed, 6 insertions(+), 2 deletions(-)
11+
12+
diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
13+
index b993665ca953..041bb96ca69a 100644
14+
--- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
15+
+++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
16+
@@ -1116,8 +1116,8 @@ tc956x_rst_state: tc956x-rst-state {
17+
};
18+
19+
&swr2 {
20+
- qcom,din-ports = <0>;
21+
- qcom,dout-ports = <8>;
22+
+ qcom,din-ports = <2>;
23+
+ qcom,dout-ports = <6>;
24+
25+
left_spkr: speaker@0,1 {
26+
compatible = "sdw10217020200";
27+
@@ -1142,6 +1142,10 @@ right_spkr: speaker@0,2 {
28+
};
29+
};
30+
31+
+&swr2 {
32+
+ status = "okay";
33+
+};
34+
+
35+
&tlmm {
36+
gpio-reserved-ranges = <32 2>, /* ADSP */
37+
<48 4>; /* NFC */
38+
--
39+
2.34.1
40+

0 commit comments

Comments
 (0)