mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
bindings: input: qcom-hv-haptics: Add qcom,fifo-empty-threshold
Add optional property "qcom,fifo-empty-threshold" to specify the FIFO empty threshold. The module would generate fifo-empty interrupt when the number of samples in the FIFO is less than this threshold. Change-Id: Iceeb2d806bf6115f9fc557b656b06bb22cb77dd4
This commit is contained in:
parent
ba4084fde3
commit
719ee15464
1 changed files with 9 additions and 0 deletions
|
|
@ -70,6 +70,15 @@ Properties:
|
|||
or if it's defined as an array with all zeros, then manual
|
||||
brake is disabled.
|
||||
|
||||
- qcom,fifo-empty-threshold:
|
||||
Usage: optional
|
||||
Value type: <u32>
|
||||
Definition: Specifies the FIFO empty threshold. The "fifo-empty" IRQ will be
|
||||
triggered when the number of the samples in the FIFO is less
|
||||
than the threshold. For PM8350B v1, allowed value is 1 - 103
|
||||
and the default value is 48. For PM8350B v2, allowed value is
|
||||
1 - 639 and the default value is 280.
|
||||
|
||||
- qcom,use-erm:
|
||||
Usage: optional
|
||||
Value type: <bool>
|
||||
|
|
|
|||
Loading…
Reference in a new issue