xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/regulator-haptic.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Regulator Haptic Device Tree Bindings
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired Properties:
4*4882a593Smuzhiyun - compatible : Should be "regulator-haptic"
5*4882a593Smuzhiyun - haptic-supply : Power supply to the haptic motor.
6*4882a593Smuzhiyun	[*] refer Documentation/devicetree/bindings/regulator/regulator.txt
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun - max-microvolt : The maximum voltage value supplied to the haptic motor.
9*4882a593Smuzhiyun		[The unit of the voltage is a micro]
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun - min-microvolt : The minimum voltage value supplied to the haptic motor.
12*4882a593Smuzhiyun		[The unit of the voltage is a micro]
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	haptics {
17*4882a593Smuzhiyun		compatible = "regulator-haptic";
18*4882a593Smuzhiyun		haptic-supply = <&motor_regulator>;
19*4882a593Smuzhiyun		max-microvolt = <2700000>;
20*4882a593Smuzhiyun		min-microvolt = <1100000>;
21*4882a593Smuzhiyun	};
22