Merge "bindings: qcom-hv-haptics: add "qcom,primitive-id" property"

This commit is contained in:
qctecmdr
2022-08-03 07:00:22 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -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: <u32>
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: <u32>
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: <u32>
@@ -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;
}
};