forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
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>;
   };