mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
Merge "bindings: input: qcom-hv-haptics: Change to use 8-bit FIFO data"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
30832e451c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user