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