mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-01-27 14:44:08 +00:00
Add devicetree bindings snapshot to the devicetree project.
This snapshot is taken as of the
'commit 5fba1b18cfc72e264e5f3ce49020ed322aa6ac9f ("Merge 5.6-rc3
into android-mainline")' of the kernel project.
Change-Id: Ia087ab2b7d4a2616ea446a69683a8b5b821d0448
22 lines
616 B
Plaintext
22 lines
616 B
Plaintext
* 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>;
|
|
};
|