Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 814a661b authored by Meng Wang's avatar Meng Wang
Browse files

ARM: dts: msm: Add sound card entry for msmcobalt QVR



msmcobalt QVR has different hardware design with MTP.
Add sound card entry for msmcobalt QVR to enable wsa,
earpiece and microphones.

CRs-Fixed: 1078551
Change-Id: Ic55c44de74e537463a218619861f28c1e6eb66c1
Signed-off-by: default avatarMeng Wang <mwang@codeaurora.org>
parent fb1e5793
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
@@ -21,3 +21,32 @@
	compatible = "qcom,msmcobalt-qrd", "qcom,msmcobalt", "qcom,qrd";
	qcom,board-id = <0x02000b 0x80>;
};

&soc {
	sound-tavil {
		qcom,model = "msmcobalt-qvr-tavil-snd-card";
		qcom,audio-routing =
			"RX_BIAS", "MCLK",
			"MADINPUT", "MCLK",
			"AMIC2", "MIC BIAS2",
			"MIC BIAS2", "Headset Mic",
			"DMIC0", "MIC BIAS1",
			"MIC BIAS1", "Digital Mic0",
			"DMIC1", "MIC BIAS1",
			"MIC BIAS1", "Digital Mic1",
			"DMIC2", "MIC BIAS3",
			"MIC BIAS3", "Digital Mic2",
			"DMIC4", "MIC BIAS4",
			"MIC BIAS4", "Digital Mic4",
			"SpkrLeft IN", "SPK1 OUT";

		qcom,msm-mbhc-hphl-swh = <1>;
		/delete-property/ qcom,us-euro-gpios;
		/delete-property/ qcom,hph-en0-gpio;
		/delete-property/ qcom,hph-en0-gpio;

		qcom,wsa-max-devs = <1>;
		qcom,wsa-devs = <&wsa881x_0211>, <&wsa881x_0213>;
		qcom,wsa-aux-dev-prefix = "SpkrLeft", "SpkrLeft";
	};
};