armv8: LS2080A: Consolidate LS2080A and LS2085A
[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 - regulator constraints (binding info: regulator.txt)
14
15 Other kernel-style properties, are currently not used.
16
17 Note:
18 For the regulator constraints, driver expects that:
19 - regulator-min-microvolt is equal to regulator-max-microvolt
20 - regulator-min-microamp is equal to regulator-max-microamp
21
22 Example:
23 fixed_regulator@0 {
24         /* Mandatory */
25         compatible = "regulator-fixed";
26         regulator-name = "LED_3.3V";
27
28         /* Optional: */
29         gpio = <&gpc1 0 GPIO_ACTIVE_LOW>;
30
31         /* Optional for regulator uclass */
32         regulator-min-microvolt = <3300000>;
33         regulator-max-microvolt = <3300000>;
34         regulator-min-microamp = <15000>;
35         regulator-max-microamp = <15000>;
36         regulator-always-on;
37         regulator-boot-on;
38 };