hc
2023-11-30 6c9be420e167ee7ce45c0309586f09ddab28ac15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Regulator Proxy Consumer Bindings
 
Regulator proxy consumers provide a means to use a default regulator state
during bootup only which is removed at the end of boot.  This feature can be
used in situations where a shared regulator can be scaled between several
possible voltages and hardware requires that it be at a high level at the
beginning of boot before the consumer device responsible for requesting the
high level has probed.
 
Optional properties:
proxy-supply:            phandle of the regulator's own device node.
               This property is required if any of the three
               properties below are specified.
qcom,proxy-consumer-enable:    Boolean indicating that the regulator must be
               kept enabled during boot.
qcom,proxy-consumer-voltage:    List of two integers corresponding the minimum
               and maximum voltage allowed during boot in
               microvolts.
qcom,proxy-consumer-current:    Minimum current in microamps required during
               boot.
 
Example:
 
   foo_vreg: regulator@0 {
       regulator-name = "foo";
       regulator-min-microvolt = <1000000>;
       regulator-max-microvolt = <2000000>;
       proxy-supply = <&foo_vreg>;
       qcom,proxy-consumer-voltage = <1500000 2000000>;
       qcom,proxy-consumer-current = <25000>;
       qcom,proxy-consumer-enable;
   };