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>
(cherry picked from commit 8853cd728b
)
This commit is contained in:
committed by
Rohit Jadhav
parent
ae79b86118
commit
06d99ceb29
@@ -65,7 +65,6 @@
|
|||||||
|
|
||||||
&tuna_snd {
|
&tuna_snd {
|
||||||
qcom,model = "tuna-cdp-snd-card";
|
qcom,model = "tuna-cdp-snd-card";
|
||||||
swr-haptics-unsupported;
|
|
||||||
qcom,audio-routing =
|
qcom,audio-routing =
|
||||||
"AMIC1", "Analog Mic1",
|
"AMIC1", "Analog Mic1",
|
||||||
"AMIC1", "MIC BIAS1",
|
"AMIC1", "MIC BIAS1",
|
||||||
|
@@ -11,6 +11,5 @@
|
|||||||
|
|
||||||
&tuna_snd {
|
&tuna_snd {
|
||||||
qcom,model = "tuna-mtp-snd-card";
|
qcom,model = "tuna-mtp-snd-card";
|
||||||
swr-haptics-unsupported;
|
|
||||||
qcom,sec-mi2s-gpios = <&fm_i2s1_gpios>;
|
qcom,sec-mi2s-gpios = <&fm_i2s1_gpios>;
|
||||||
};
|
};
|
||||||
|
@@ -127,7 +127,6 @@
|
|||||||
swr_haptics: swr_haptics@f0170220 {
|
swr_haptics: swr_haptics@f0170220 {
|
||||||
compatible = "qcom,pmih010x-swr-haptics";
|
compatible = "qcom,pmih010x-swr-haptics";
|
||||||
reg = <0x03 0xf0170220>;
|
reg = <0x03 0xf0170220>;
|
||||||
//swr-slave-supply = <&hap_swr_slave_reg>;
|
|
||||||
qcom,rx_swr_ch_map = <0 0x01 0x01 0 PCM_OUT1>;
|
qcom,rx_swr_ch_map = <0 0x01 0x01 0 PCM_OUT1>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
@@ -63,6 +63,11 @@
|
|||||||
qcom,wsa-bat-cfgs = <1>, <1>;
|
qcom,wsa-bat-cfgs = <1>, <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&swr_haptics {
|
||||||
|
status = "okay";
|
||||||
|
swr-slave-supply = <&hap_swr_slave_reg>;
|
||||||
|
};
|
||||||
|
|
||||||
&wcd939x_codec {
|
&wcd939x_codec {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
/* 0 for digital crosstalk disabled,
|
/* 0 for digital crosstalk disabled,
|
||||||
@@ -91,7 +96,6 @@
|
|||||||
|
|
||||||
&tuna_snd {
|
&tuna_snd {
|
||||||
qcom,model = "tuna-qrd-snd-card";
|
qcom,model = "tuna-qrd-snd-card";
|
||||||
swr-haptics-unsupported;
|
|
||||||
qcom,audio-routing =
|
qcom,audio-routing =
|
||||||
"AMIC1", "Analog Mic1",
|
"AMIC1", "Analog Mic1",
|
||||||
"AMIC1", "MIC BIAS1",
|
"AMIC1", "MIC BIAS1",
|
||||||
@@ -126,9 +130,9 @@
|
|||||||
"VA_AIF1 CAP", "VA_SWR_CLK",
|
"VA_AIF1 CAP", "VA_SWR_CLK",
|
||||||
"VA_AIF2 CAP", "VA_SWR_CLK",
|
"VA_AIF2 CAP", "VA_SWR_CLK",
|
||||||
"VA_AIF3 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>;
|
<&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";
|
"wcd939x_codec", "wsa-codec1";
|
||||||
qcom,ext-disp-audio-rx = <1>;
|
qcom,ext-disp-audio-rx = <1>;
|
||||||
qcom,wsa-max-devs = <1>;
|
qcom,wsa-max-devs = <1>;
|
||||||
|
Reference in New Issue
Block a user