Skip to content

Commit 7639c22

Browse files
mohsRafiKomal-Bajaj
authored andcommitted
FROMLIST: arm64: dts: qcom: qcs6490-rb3gen2: Add WSA8830 speakers amplifier
Add nodes for WSA8830 speakers amplifier on qcs6490-rb3gen2 board. Enable lpass_wsa and lpass_va macros along with pinctrl settings for audio. Co-developed-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com> Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com> Link: https://lore.kernel.org/linux-arm-msm/20250527111227.2318021-6-quic_pkumpatl@quicinc.com/ Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
1 parent 8587f2a commit 7639c22

2 files changed

Lines changed: 53 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/qcs6490-audioreach.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,24 @@
1111
#include <dt-bindings/sound/qcom,q6afe.h>
1212
#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h>
1313

14+
&lpass_dmic01_clk {
15+
drive-strength = <8>;
16+
bias-disable;
17+
};
18+
19+
&lpass_dmic01_data {
20+
bias-pull-down;
21+
};
22+
23+
&lpass_dmic23_clk {
24+
drive-strength = <8>;
25+
bias-disable;
26+
};
27+
28+
&lpass_dmic23_data {
29+
bias-pull-down;
30+
};
31+
1432
&lpass_rx_macro {
1533
/delete-property/ power-domains;
1634
/delete-property/ power-domain-names;

arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "pm7325.dtsi"
2020
#include "pm8350c.dtsi"
2121
#include "pmk8350.dtsi"
22+
#include "qcs6490-audioreach.dtsi"
2223

2324
/delete-node/ &ipa_fw_mem;
2425
/delete-node/ &rmtfs_mem;
@@ -765,6 +766,14 @@
765766
};
766767
};
767768

769+
&lpass_va_macro {
770+
status = "okay";
771+
};
772+
773+
&lpass_wsa_macro {
774+
status = "okay";
775+
};
776+
768777
&mdss {
769778
status = "okay";
770779
};
@@ -1046,6 +1055,32 @@
10461055
status = "okay";
10471056
};
10481057

1058+
&swr2 {
1059+
status = "okay";
1060+
1061+
left_spkr: speaker@0,1 {
1062+
compatible = "sdw10217020200";
1063+
reg = <0 1>;
1064+
powerdown-gpios = <&tlmm 158 GPIO_ACTIVE_LOW>;
1065+
#sound-dai-cells = <0>;
1066+
sound-name-prefix = "SpkrLeft";
1067+
#thermal-sensor-cells = <0>;
1068+
vdd-supply = <&vreg_l18b_1p8>;
1069+
qcom,port-mapping = <1 2 3 7>;
1070+
};
1071+
1072+
right_spkr: speaker@0,2 {
1073+
compatible = "sdw10217020200";
1074+
reg = <0 2>;
1075+
powerdown-gpios = <&tlmm 158 GPIO_ACTIVE_LOW>;
1076+
#sound-dai-cells = <0>;
1077+
sound-name-prefix = "SpkrRight";
1078+
#thermal-sensor-cells = <0>;
1079+
vdd-supply = <&vreg_l18b_1p8>;
1080+
qcom,port-mapping = <4 5 6 8>;
1081+
};
1082+
};
1083+
10491084
&tlmm {
10501085
gpio-reserved-ranges = <32 2>, /* ADSP */
10511086
<48 4>; /* NFC */

0 commit comments

Comments
 (0)