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

Commit c38aae49 authored by Xiaojun Sang's avatar Xiaojun Sang Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add support of sound node for 8937 sku1/sku2



update sound node properties of different value in
msm-audio.dtsi for msm8937 sku1/sku2.

Change-Id: I8340527cf722ff7cac71e8172cff4c53c3241241
Signed-off-by: default avatarXiaojun Sang <xsang@codeaurora.org>
parent c2752cc0
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -22,3 +22,20 @@
		   "qcom,msm8937-qrd", "qcom,msm8937", "qcom,qrd";
	qcom,board-id= <0x12000b 0>;
};

&soc {
	sound {
		qcom,model = "msm8952-sku2-snd-card";
		qcom,msm-hs-micbias-type = "internal";
		qcom,audio-routing =
			"RX_BIAS", "MCLK",
			"SPK_RX_BIAS", "MCLK",
			"INT_LDO_H", "MCLK",
			"MIC BIAS External", "Handset Mic",
			"MIC BIAS Internal2", "Headset Mic",
			"MIC BIAS External", "Secondary Mic",
			"AMIC1", "MIC BIAS External",
			"AMIC2", "MIC BIAS Internal2",
			"AMIC3", "MIC BIAS External";
	};
};
+17 −0
Original line number Diff line number Diff line
@@ -47,3 +47,20 @@
	qcom,bad-battery-detection-enable;
	qcom,hold-soc-while-full;
};

&soc {
	sound {
		qcom,model = "msm8952-sku1-snd-card";
		qcom,msm-hs-micbias-type = "internal";
		qcom,audio-routing =
			"RX_BIAS", "MCLK",
			"SPK_RX_BIAS", "MCLK",
			"INT_LDO_H", "MCLK",
			"MIC BIAS External", "Handset Mic",
			"MIC BIAS Internal2", "Headset Mic",
			"MIC BIAS External", "Secondary Mic",
			"AMIC1", "MIC BIAS External",
			"AMIC2", "MIC BIAS Internal2",
			"AMIC3", "MIC BIAS External";
	};
};
+15 −0
Original line number Diff line number Diff line
@@ -29,6 +29,21 @@
			debounce-interval = <15>;
		};
	};

	sound {
		qcom,msm-mbhc-hphl-swh = <1>;
		qcom,msm-gpios =
			"pri_i2s";
		qcom,pinctrl-names =
			"all_off",
			"pri_i2s_act";
		pinctrl-names =
			"all_off",
			"pri_i2s_act";
		pinctrl-0 = <&cdc_pdm_lines_sus &cdc_pdm_lines_2_sus>;
		pinctrl-1 = <&cdc_pdm_lines_act &cdc_pdm_lines_2_act>;
		qcom,cdc-us-euro-gpios;
	};
};

&blsp1_uart2 {