diff --git a/bindings/input/qcom-hv-haptics.txt b/bindings/input/qcom-hv-haptics.txt index c4c1bfe3b678..8673638cfad5 100644 --- a/bindings/input/qcom-hv-haptics.txt +++ b/bindings/input/qcom-hv-haptics.txt @@ -166,10 +166,11 @@ different vibration effects: - qcom,wf-fifo-data: Usage: optional Value type: - 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 = ; qcom,wf-brake-pattern = /bits/ 8 <0x7f 0x5f 0x3f>; qcom,wf-auto-res-disable;