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

Commit afd052e8 authored by Meng Wang's avatar Meng Wang
Browse files

Documentation:: sound: add new property for headset detection on SDM845



Add new property for headset detection parameters on SDM845.

Change-Id: I6e4e6081f75f38b450e84771d312368b17fea6f5
Signed-off-by: default avatarMeng Wang <mwang@codeaurora.org>
parent f85280ce
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2459,6 +2459,10 @@ Optional properties:
		6-pole-jack : Jack on the hardware is 6-pole.
- clock-names : clock name defined for external clock.
- clocks : external clock defined for codec clock.
- qcom,msm-mbhc-hs-mic-max-threshold-mv : headset detection threshold. When micbias is
					  not set to 2.7v, need scale in driver.
- qcom,msm-mbhc-hs-mic-min-threshold-mv : headhpone detection threshold. When micbias is
					  not set to 2.7v, need scale in driver.
- qcom,hph-en1-gpio : GPIO to enable HiFi amplifiers.
- qcom,hph-en0-gpio : GPIO to enable HiFi audio route to headset.
- qcom,wsa-max-devs : Maximum number of WSA881x devices present in the target
@@ -2516,6 +2520,8 @@ Example:

		qcom,msm-mbhc-hphl-swh = <0>;
		qcom,msm-mbhc-gnd-swh = <0>;
		qcom,msm-mbhc-hs-mic-max-threshold-mv = <1700>;
		qcom,msm-mbhc-hs-mic-min-threshold-mv = <50>;
		qcom,hph-en0-gpio = <&tavil_hph_en0>;
		qcom,hph-en1-gpio = <&tavil_hph_en1>;
		qcom,tavil-mclk-clk-freq = <9600000>;