blob: 4fae41d547984297d0f427d22baa672a1ffedea2 [file] [log] [blame]
Rajendra Nayakcef49102011-11-18 16:47:18 +05301Fixed Voltage regulators
2
3Required properties:
4- compatible: Must be "regulator-fixed";
5
6Optional properties:
7- gpio: gpio to use for enable control
8- startup-delay-us: startup time in microseconds
9- enable-active-high: Polarity of GPIO is Active high
10If this property is missing, the default assumed is Active low.
Laxman Dewangan9a50dba2012-05-07 15:58:19 +053011- gpio-open-drain: GPIO is open drain type.
12 If this property is missing then default assumption is false.
Laxman Dewangan6be5bfc2012-07-05 18:12:01 +053013-vin-supply: Input supply name.
Rajendra Nayakcef49102011-11-18 16:47:18 +053014
15Any property defined as part of the core regulator
16binding, defined in regulator.txt, can also be used.
17However a fixed voltage regulator is expected to have the
18regulator-min-microvolt and regulator-max-microvolt
19to be the same.
20
21Example:
22
23 abc: fixedregulator@0 {
24 compatible = "regulator-fixed";
25 regulator-name = "fixed-supply";
26 regulator-min-microvolt = <1800000>;
27 regulator-max-microvolt = <1800000>;
28 gpio = <&gpio1 16 0>;
29 startup-delay-us = <70000>;
30 enable-active-high;
Laxman Dewangan9a50dba2012-05-07 15:58:19 +053031 regulator-boot-on;
32 gpio-open-drain;
Laxman Dewangan6be5bfc2012-07-05 18:12:01 +053033 vin-supply = <&parent_reg>;
Rajendra Nayakcef49102011-11-18 16:47:18 +053034 };