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

Commit 5c65c86e authored by Xiaojun Sang's avatar Xiaojun Sang
Browse files

ARM: dts: msm: add sound support for msmcobalt skuk



Add sound node entry for msmcobalt qrd skuk to enable audio
components like wsa, earpiece and microphones.

CRs-Fixed: 1062729
Change-Id: I40166e423618f5e78093b22efb5ab5def517a051
Signed-off-by: default avatarXiaojun Sang <xsang@codeaurora.org>
parent ab26d098
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@

#include <dt-bindings/interrupt-controller/irq.h>
#include "msmcobalt-pinctrl.dtsi"
#include "msmcobalt-audio.dtsi"

&blsp1_uart3_hs {
	status = "ok";
@@ -99,4 +100,29 @@
			debounce-interval = <15>;
		};
	};

	sound-tavil {
		qcom,model = "msmcobalt-skuk-tavil-snd-card";

		qcom,audio-routing =
			"AIF4 VI", "MCLK",
			"RX_BIAS", "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>;

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