mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge "bindings: input: qcom-hv-haptics: Change to use 8-bit FIFO data"
This commit is contained in:
commit
30832e451c
1 changed files with 8 additions and 7 deletions
|
|
@ -166,10 +166,11 @@ different vibration effects:
|
|||
- qcom,wf-fifo-data:
|
||||
Usage: optional
|
||||
Value type: <prop-encoded-array>
|
||||
Definition: Defines a 9-bit data array of patterns which will be filled
|
||||
into the FIFO memory and played when FIFO mode is selected.
|
||||
The array needs to be specified as 16-bit using '/bits/ 16'
|
||||
parameter. Either "qcom,wf-pattern-data" or "qcom,wf-fifo-data"
|
||||
Definition: Defines a byte array of patterns which will be filled into
|
||||
the FIFO memory and played when FIFO mode is selected.
|
||||
The array needs to be specified as 8-bit using '/bits/ 8'
|
||||
parameter, or using '[]' instead of '<>'.
|
||||
Either "qcom,wf-pattern-data" or "qcom,wf-fifo-data"
|
||||
need to be defined in one effect child node. If both are
|
||||
defined, then the FIFO data defined in this property will be
|
||||
ignored.
|
||||
|
|
@ -254,9 +255,9 @@ Example:
|
|||
/* DOUBLE_CLICK effect */
|
||||
qcom,effect-id = <1>;
|
||||
qcom,wf-vmax-mv = <5000>;
|
||||
qcom,wf-fifo-data = /bits/ 16 <0x1ff 0x1ff 0x1ff 0x1ff 0x1ff
|
||||
0x1ff 0x1ff 0x1ff 0x1ff 0x1ff
|
||||
0x1ff 0x1ff 0x1ff 0x1ff 0x1ff>;
|
||||
qcom,wf-fifo-data = /bits/ 8 <0xff 0xff 0xff 0xff 0xff
|
||||
0xff 0xff 0xff 0xff 0xff
|
||||
0xff 0xff 0xff 0xff 0xff>;
|
||||
qcom,wf-fifo-period = <S_PERIOD_F_8KHZ>;
|
||||
qcom,wf-brake-pattern = /bits/ 8 <0x7f 0x5f 0x3f>;
|
||||
qcom,wf-auto-res-disable;
|
||||
|
|
|
|||
Loading…
Reference in a new issue