mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge "ARM: dts: msm: Add swr-slave regulator device node in haptics module"
This commit is contained in:
commit
808811e4b0
2 changed files with 14 additions and 0 deletions
|
|
@ -108,6 +108,12 @@ The following properties are only required when LRA actuator is used:
|
|||
is selected. Please refer to:
|
||||
include/dt-bindings/input/qcom,hv-haptics.h.
|
||||
|
||||
A child node named "qcom,hap-swr-slave-reg" can be defined to export a regulator
|
||||
device which is used for swr-haptics module to control the online status of SWR
|
||||
slave. The child node should have following property for this regulator device:
|
||||
|
||||
- regulator-name: Please refer to: bindings/regulator/regulator.txt.
|
||||
|
||||
The following properties should be specified in child nodes for defining
|
||||
different vibration effects:
|
||||
|
||||
|
|
@ -222,6 +228,10 @@ Example:
|
|||
qcom,drv-sig-shape = <WF_SINE>;
|
||||
qcom,brake-sig-shape = <WF_SINE>;
|
||||
|
||||
qcom,hap-swr-slave-reg {
|
||||
regulator-name = "hap-swr-slave-reg";
|
||||
};
|
||||
|
||||
effect_0 {
|
||||
/* CLICK effect */
|
||||
qcom,effect-id = <0>;
|
||||
|
|
|
|||
|
|
@ -60,6 +60,10 @@
|
|||
qcom,brake-sig-shape = <WF_SINE>;
|
||||
status = "disabled";
|
||||
|
||||
hap_swr_slave_reg: qcom,hap-swr-slave-reg {
|
||||
regulator-name = "hap-swr-slave-reg";
|
||||
};
|
||||
|
||||
effect_0 {
|
||||
/* CLICK */
|
||||
qcom,effect-id = <0>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue