blob: 8a0d002688d81725a6e2a0dbe69bd41f1ff3b909 [file] [log] [blame]
Przemyslaw Marczak3753f282015-04-20 20:07:48 +02001Fixed Voltage regulator
2
3Binding:
4The binding is done by the property "compatible" - this is different, than for
5binding by the node prefix (doc/device-tree-bindings/regulator/regulator.txt).
6
7Required properties:
8- compatible: "regulator-fixed"
9- regulator-name: this is required by the regulator uclass
10
11Optional properties:
12- gpio: GPIO to use for enable control
John Keepinga531aa52016-08-22 15:10:09 +010013- startup-delay-us: startup time in microseconds
Przemyslaw Marczak3753f282015-04-20 20:07:48 +020014- regulator constraints (binding info: regulator.txt)
15
16Other kernel-style properties, are currently not used.
17
18Note:
19For 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
23Example:
24fixed_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};