diff --git a/bindings/input/qcom-hv-haptics.txt b/bindings/input/qcom-hv-haptics.txt index ee9fe299..94dbd3ad 100644 --- a/bindings/input/qcom-hv-haptics.txt +++ b/bindings/input/qcom-hv-haptics.txt @@ -175,13 +175,21 @@ The following properties should be specified in child nodes for defining different vibration effects: - qcom,effect-id: - Usage: required + Usage: optional Value type: Definition: Specifies the effect ID that a client can request to play the corresponding effect definition in this child node. The ID is normaly defined and sent from userspace for certain user notification event. +- qcom,primitive-id: + Usage: optional + Value type: + Definition: Specifies the effect primitive ID that a client can request to + play the corresponding primitive definition in this child node. + The ID is normaly defined and sent from userspace for certain + user notification event. + - qcom,wf-vmax-mv: Usage: optional Value type: @@ -337,4 +345,14 @@ Example: qcom,wf-brake-pattern = /bits/ 8 <0x7f 0x5f 0x3f>; qcom,wf-auto-res-disable; }; + + primitive_0 { + qcom,primitive-id = <0>; + qcom,wf-vmax-mv = <8000>; + qcom,wf-pattern-data = <0x0ff S_PERIOD_T_LRA 0>, + <0x07f S_PERIOD_T_LRA 0>, + qcom,wf-pattern-period-us = <5000>; + qcom,wf-brake-pattern = /bits/ 8 <0xff 0x7f 0x3f>; + qcom,wf-auto-res-disable; + } };