Documentation / devicetree / bindings / input / regulator-haptic.txt


Based on kernel version 5.14. Page generated on 2021-08-31 10:40 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
* Regulator Haptic Device Tree Bindings

Required Properties:
 - compatible : Should be "regulator-haptic"
 - haptic-supply : Power supply to the haptic motor.
	[*] refer Documentation/devicetree/bindings/regulator/regulator.txt

 - max-microvolt : The maximum voltage value supplied to the haptic motor.
		[The unit of the voltage is a micro]

 - min-microvolt : The minimum voltage value supplied to the haptic motor.
		[The unit of the voltage is a micro]

Example:

	haptics {
		compatible = "regulator-haptic";
		haptic-supply = <&motor_regulator>;
		max-microvolt = <2700000>;
		min-microvolt = <1100000>;
	};