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

Commit c8b71218 authored by Alex Sarraf's avatar Alex Sarraf
Browse files

msm: qpnp-haptic: Add Haptic documentation for auto resonance



Add documentation for auto resonance detection for Linear
Resonance Actuator (LRA), which is a type of vibrator.

Change-Id: Ic53878d3aaabdbfca6d8bbd1646ec2079aecffa8
Signed-off-by: default avatarAlex Sarraf <asarraf@codeaurora.org>
parent 84bfeac2
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -54,6 +54,12 @@ Optional properties when qcom,actuator-type is "lra"
 - qcom,misc-trim-error-rc19p2-clk-reg-present : boolean, use this if TRIM_ERROR_RC19P2_CLK
 - qcom,misc-trim-error-rc19p2-clk-reg-present : boolean, use this if TRIM_ERROR_RC19P2_CLK
				register is present in MISC module. This register holds
				register is present in MISC module. This register holds
				the frequency error in 19.2Mhz RC clock.
				the frequency error in 19.2Mhz RC clock.
 - qcom,lra-auto-res-mode : auto resonance technique, four different modes
			"none" : no auto resonance
			"zxd" : zero crossing based discontinuous method
			"qwd" : quarter wave drive method
			"max-qwd" : Maximum QWD
			"zxd-eop" : ZXD + End of pattern (This is the Default)


Example:
Example:
		qcom,haptic@c000 {
		qcom,haptic@c000 {
@@ -77,4 +83,5 @@ Example:
			qcom,wave-samples = [3e 3e 3e 3e 3e 3e 3e 3e];
			qcom,wave-samples = [3e 3e 3e 3e 3e 3e 3e 3e];
			qcom,wave-rep-cnt = <1>;
			qcom,wave-rep-cnt = <1>;
			qcom,wave-samp-rep-cnt = <1>;
			qcom,wave-samp-rep-cnt = <1>;
			qcom,lra-auto-res-mode = "zxd";
		};
		};