blob: 4ff39b8f513dbe4405d9fe3310d6d3ec7bae12bc [file] [log] [blame]
Przemyslaw Marczak9923a8b2015-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
13- regulator constraints (binding info: regulator.txt)
14
15Other kernel-style properties, are currently not used.
16
17Note:
18For 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
22Example:
23fixed_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};