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

Commit 4d6a4de9 authored by Varun Balaraj's avatar Varun Balaraj Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Enable the quat mi2s in slave mode on apq8098 mediabox



Configure quat mi2s in slave mode. Create quat mi2s node and
add the pincontrols to be used for data lines.

Change-Id: Ib0a06389941f09014c0f872d3643251859eb6a6b
Signed-off-by: default avatarVarun Balaraj <varunb@codeaurora.org>
parent 60be7160
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
@@ -87,3 +87,34 @@
&tspp {
	qcom,lpass-timer-tts = <1>;
};

&snd_9335 {
	qcom,msm-mi2s-master = <1>, <1>, <1>, <0>;
};

&wcd_usbc_analog_en1_gpio {
	status = "disabled";
};

&wcd_usbc_analog_en2n_gpio {
	status = "disabled";
};

&soc {
	qcom,msm-dai-mi2s {
		dai_mi2s3: qcom,msm-dai-q6-mi2s-quat {
			/* SD0 (1 << 0) | SD1 (1 << 1) | SD2 (1 << 2) */
			qcom,msm-mi2s-rx-lines = <0>;
			qcom,msm-mi2s-tx-lines = <15>; /* SD3 (1 << 3) */
			pinctrl-names = "default", "sleep";
			pinctrl-0 = <&quat_mi2s_active &quat_mi2s_sd0_active
					&quat_mi2s_sd1_active
					&quat_mi2s_sd2_active
					&quat_mi2s_sd3_active>;
			pinctrl-1 = <&quat_mi2s_sleep &quat_mi2s_sd0_sleep
					&quat_mi2s_sd1_sleep
					&quat_mi2s_sd2_sleep
					&quat_mi2s_sd3_sleep>;
		};
	};
};