ARM: dts: msm: Enable swr-haptics for tuna QRD

Enable swr-haptics in tuna QRD.

Change-Id: I44be2af48d04c28e094df6f3a6bcff26c906dc25
Signed-off-by: Ravulapati Vishnu Vardhan Rao <quic_visr@quicinc.com>
This commit is contained in:
Ravulapati Vishnu Vardhan Rao
2024-12-23 10:28:13 +05:30
parent 2d54e2006e
commit 8853cd728b
4 changed files with 7 additions and 6 deletions

View File

@@ -65,7 +65,6 @@
&tuna_snd {
qcom,model = "tuna-cdp-snd-card";
swr-haptics-unsupported;
qcom,audio-routing =
"AMIC1", "Analog Mic1",
"AMIC1", "MIC BIAS1",

View File

@@ -11,6 +11,5 @@
&tuna_snd {
qcom,model = "tuna-mtp-snd-card";
swr-haptics-unsupported;
qcom,sec-mi2s-gpios = <&fm_i2s1_gpios>;
};

View File

@@ -127,7 +127,6 @@
swr_haptics: swr_haptics@f0170220 {
compatible = "qcom,pmih010x-swr-haptics";
reg = <0x03 0xf0170220>;
//swr-slave-supply = <&hap_swr_slave_reg>;
qcom,rx_swr_ch_map = <0 0x01 0x01 0 PCM_OUT1>;
status = "disabled";
};

View File

@@ -63,6 +63,11 @@
qcom,wsa-bat-cfgs = <1>, <1>;
};
&swr_haptics {
status = "okay";
swr-slave-supply = <&hap_swr_slave_reg>;
};
&wcd939x_codec {
status = "okay";
/* 0 for digital crosstalk disabled,
@@ -91,7 +96,6 @@
&tuna_snd {
qcom,model = "tuna-qrd-snd-card";
swr-haptics-unsupported;
qcom,audio-routing =
"AMIC1", "Analog Mic1",
"AMIC1", "MIC BIAS1",
@@ -126,9 +130,9 @@
"VA_AIF1 CAP", "VA_SWR_CLK",
"VA_AIF2 CAP", "VA_SWR_CLK",
"VA_AIF3 CAP", "VA_SWR_CLK";
asoc-codec = <&stub_codec>, <&lpass_cdc>,
asoc-codec = <&stub_codec>, <&lpass_cdc>, <&swr_haptics>,
<&wcd939x_codec>, <&wsa884x_0220>;
asoc-codec-names = "msm-stub-codec.1", "lpass-cdc",
asoc-codec-names = "msm-stub-codec.1", "lpass-cdc","swr_haptics",
"wcd939x_codec", "wsa-codec1";
qcom,ext-disp-audio-rx = <1>;
qcom,wsa-max-devs = <1>;