mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
bindings: qcom-hv-haptics: add nvmem device for haptics configuration
Add nvmem device for haptics module to configure some settings in SDAM module. Change-Id: I441069a1a5ada86abca89a27ed28e0ad21179b0c
This commit is contained in:
parent
02d74d32c2
commit
758431eff1
1 changed files with 14 additions and 0 deletions
|
|
@ -100,6 +100,18 @@ Properties:
|
|||
calibration settings. Please refer to nvmem bindings as
|
||||
described in bindings/nvmem/nvmem.txt.
|
||||
|
||||
- nvmem-names:
|
||||
Usage: optional
|
||||
Value type: <string>
|
||||
Definition: The nvmem device name of the SDAM module used for haptics
|
||||
configuration. It must be "hap_cfg_sdam".
|
||||
|
||||
- nvmem:
|
||||
Usage: optional
|
||||
Value type: <phandle>
|
||||
Definition: Phandle of the nvmem device used for haptics configuration.
|
||||
Please refer to nvmem bindings as described in bindings/nvmem/nvmem.txt.
|
||||
|
||||
The following properties are only required when LRA actuator is used:
|
||||
|
||||
- qcom,lra-period-us:
|
||||
|
|
@ -248,6 +260,8 @@ Example:
|
|||
interrupt-names = "fifo-empty";
|
||||
nvmem-cell-names = "hap_cl_brake";
|
||||
nvmem-cells = <&hap_cl_brake>;
|
||||
nvmem-names = "hap_cfg_sdam";
|
||||
nvmem = <&pmk8350_sdam_46>;
|
||||
qcom,vmax-mv = <900>;
|
||||
qcom,brake-mode = <BRAKE_CLOSE_LOOP>;
|
||||
qcom,brake-pattern = /bits/ 8 <0xff 0x3f 0x1f>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue