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

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

ARM: dts: msm: add specific sound card for 8909 QRD SKUA



Add specific sound card for 8909 QRD SKUA.
Include the different jack type, hw mic implementation and
pinctrl config.

Change-Id: Ib785e2fcfbd55183b72336975f6e048b31375196
Signed-off-by: default avatarWalter Yang <yandongy@codeaurora.org>
parent e143b669
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -71,6 +71,32 @@
		qcom,key-codes = <139 172 158>;
		qcom,y-offset = <0>;
	};

	sound {
		compatible = "qcom,msm8x16-audio-codec";
		qcom,model = "msm8909-skua-snd-card";
		qcom,msm-snd-card-id = <0>;
		qcom,msm-codec-type = "internal";
		qcom,msm-ext-pa = "primary";
		qcom,msm-mclk-freq = <9600000>;
		qcom,msm-mbhc-hphl-swh = <1>;
		qcom,msm-mbhc-gnd-swh = <0>;
		qcom,msm-hs-micbias-type = "internal";
		qcom,msm-micbias1-ext-cap;
		qcom,msm-micbias2-ext-cap;
		qcom,audio-routing =
			"RX_BIAS", "MCLK",
			"SPK_RX_BIAS", "MCLK",
			"INT_LDO_H", "MCLK",
			"MIC BIAS Internal1", "Handset Mic",
			"MIC BIAS Internal2", "Headset Mic",
			"AMIC1", "MIC BIAS Internal1",
			"AMIC2", "MIC BIAS Internal2";
		pinctrl-names = "cdc_lines_act",
				"cdc_lines_sus";
		pinctrl-0 = <&cdc_pdm_lines_act>;
		pinctrl-1 = <&cdc_pdm_lines_sus>;
	};
};

&tlmm_pinmux {