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

Commit ab4ee4ad authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: add support for mi2s and tdm"

parents 585c1b29 317a01ab
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2007,6 +2007,10 @@ Optional properties:
- qcom,msm-mi2s-master: This property is used to inform machine driver
  if MSM is the clock master of mi2s. 1 means master and 0 means slave. The
  first entry is primary mi2s; the second entry is secondary mi2s, and so on.
- qcom,tdm-clk-attribute: This property is used to set the clock attribute for tdm.
  The first entry is primary tdm; the second entry is secondary tdm, and so on.
- qcom,mi2s-clk-attribute: This property is used to set the clock attribute for mi2s.
  The first entry is primary mi2s; the second entry is secondary mi2s, and so on.
- qcom,msm-mbhc-hphl-swh: This property is used to distinguish headset HPHL
  switch type on target typically the switch type will be normally open or
  normally close, value for this property 0 for normally close and 1 for
+5 −1
Original line number Diff line number Diff line
@@ -214,8 +214,12 @@
&kona_snd_ar {
	qcom,model = "kona-mtp-snd-card";
	qcom,msm-mi2s-master = <1>, <1>, <1>, <1>, <1>, <1>;
	qcom,wcn-bt = <1>;
	qcom,mi2s-tdm-is-hw-vote-needed = <1>, <0>, <1>, <0>, <0>, <0>;
	qcom,wcn-bt = <0>;
	qcom,ext-disp-audio-rx = <1>;
	qcom,tdm-max-slots = <8>;
	qcom,tdm-clk-attribute = <0x1>, <0x1>, <0x1>, <0x1>, <0x1>, <0x1>;
	qcom,mi2s-clk-attribute = <0x1>, <0x1>, <0x1>, <0x1>, <0x1>, <0x1>;
	qcom,audio-routing =
		"AMIC1", "MIC BIAS1",
		"MIC BIAS1", "Analog Mic1",