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

Commit 23d30b72 authored by Walter Yang's avatar Walter Yang Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add specific audio support for sdm670 skuw



Internal codec/analog mics/mono wsa speaker are used in sdm670
skuw. Add the specific audio support for it.

Change-Id: I0808fb54eca49c1ffc54aab0c4037a7d8a17bf79
Signed-off-by: default avatarWalter Yang <yandongy@codeaurora.org>
parent 1b7d71e8
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
 */

#include "sdm670-pmic-overlay.dtsi"
#include "sdm670-audio-overlay.dtsi"

&qupv3_se9_2uart {
	status = "disabled";
@@ -35,3 +36,27 @@
&qupv3_se6_4uart {
	status = "disabled";
};

&int_codec {
	qcom,model = "sdm660-skuw-snd-card";
	qcom,audio-routing =
		"RX_BIAS", "INT_MCLK0",
		"SPK_RX_BIAS", "INT_MCLK0",
		"INT_LDO_H", "INT_MCLK0",
		"MIC BIAS External2", "Headset Mic",
		"AMIC2", "MIC BIAS External2",
		"MIC BIAS External", "Handset Mic",
		"AMIC1", "MIC BIAS External",
		"MIC BIAS External", "Secondary Mic",
		"AMIC3", "MIC BIAS External",
		"SpkrLeft IN", "SPK1 OUT",
		"PDM_IN_RX1", "PDM_OUT_RX1",
		"PDM_IN_RX2", "PDM_OUT_RX2",
		"PDM_IN_RX3", "PDM_OUT_RX3",
		"ADC1_IN", "ADC1_OUT",
		"ADC2_IN", "ADC2_OUT",
		"ADC3_IN", "ADC3_OUT";
	qcom,wsa-max-devs = <1>;
	qcom,wsa-devs = <&wsa881x_211_en>, <&wsa881x_213_en>;
	qcom,wsa-aux-dev-prefix = "SpkrLeft", "SpkrLeft";
};