diff options
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/max77693.txt')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/max77693.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/max77693.txt b/Documentation/devicetree/bindings/mfd/max77693.txt index 11921cc417bf..01e9f30fe678 100644 --- a/Documentation/devicetree/bindings/mfd/max77693.txt +++ b/Documentation/devicetree/bindings/mfd/max77693.txt | |||
@@ -27,6 +27,20 @@ Optional properties: | |||
27 | 27 | ||
28 | [*] refer Documentation/devicetree/bindings/regulator/regulator.txt | 28 | [*] refer Documentation/devicetree/bindings/regulator/regulator.txt |
29 | 29 | ||
30 | - haptic : The MAX77693 haptic device utilises a PWM controlled motor to provide | ||
31 | users with tactile feedback. PWM period and duty-cycle are varied in | ||
32 | order to provide the approprite level of feedback. | ||
33 | |||
34 | Required properties: | ||
35 | - compatible : Must be "maxim,max77693-hpatic" | ||
36 | - haptic-supply : power supply for the haptic motor | ||
37 | [*] refer Documentation/devicetree/bindings/regulator/regulator.txt | ||
38 | - pwms : phandle to the physical PWM(Pulse Width Modulation) device. | ||
39 | PWM properties should be named "pwms". And number of cell is different | ||
40 | for each pwm device. | ||
41 | To get more informations, please refer to documentaion. | ||
42 | [*] refer Documentation/devicetree/bindings/pwm/pwm.txt | ||
43 | |||
30 | Example: | 44 | Example: |
31 | max77693@66 { | 45 | max77693@66 { |
32 | compatible = "maxim,max77693"; | 46 | compatible = "maxim,max77693"; |
@@ -52,4 +66,11 @@ Example: | |||
52 | regulator-boot-on; | 66 | regulator-boot-on; |
53 | }; | 67 | }; |
54 | }; | 68 | }; |
69 | |||
70 | haptic { | ||
71 | compatible = "maxim,max77693-haptic"; | ||
72 | haptic-supply = <&haptic_supply>; | ||
73 | pwms = <&pwm 0 40000 0>; | ||
74 | pwm-names = "haptic"; | ||
75 | }; | ||
55 | }; | 76 | }; |