mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:04:24 +00:00
Merge "bindings: qcom-hv-haptics: add "qcom,primitive-id" property"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
659c456c2e
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user