regulator: fixed: obey startup delay
[oweals/u-boot.git] / doc / device-tree-bindings / regulator / fixed.txt
1 Fixed Voltage regulator
2
3 Binding:
4 The binding is done by the property "compatible" - this is different, than for
5 binding by the node prefix (doc/device-tree-bindings/regulator/regulator.txt).
6
7 Required properties:
8 - compatible: "regulator-fixed"
9 - regulator-name: this is required by the regulator uclass
10
11 Optional properties:
12 - gpio: GPIO to use for enable control
13 - startup-delay-us: startup time in microseconds
14 - regulator constraints (binding info: regulator.txt)
15
16 Other kernel-style properties, are currently not used.
17
18 Note:
19 For the regulator constraints, driver expects that:
20 - regulator-min-microvolt is equal to regulator-max-microvolt
21 - regulator-min-microamp is equal to regulator-max-microamp
22
23 Example:
24 fixed_regulator@0 {
25         /* Mandatory */
26         compatible = "regulator-fixed";
27         regulator-name = "LED_3.3V";
28
29         /* Optional: */
30         gpio = <&gpc1 0 GPIO_ACTIVE_LOW>;
31
32         /* Optional for regulator uclass */
33         regulator-min-microvolt = <3300000>;
34         regulator-max-microvolt = <3300000>;
35         regulator-min-microamp = <15000>;
36         regulator-max-microamp = <15000>;
37         regulator-always-on;
38         regulator-boot-on;
39 };