Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: c02ed2e75ef4c74e41e421acb4ef1494671585e8 authored by Linus Torvalds on 26 March 2017, 21:15:16 UTC
Linux 4.11-rc4
Tip revision: c02ed2e
regulator-haptic.txt
* 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>;
	};
back to top