blob: 2f5b6b1ba15f9c97c64b483fc1ad8f1a31ee6053 [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.
Rajendra Nayakcef49102011-11-18 16:47:18 +053013
14Any property defined as part of the core regulator
15binding, defined in regulator.txt, can also be used.
16However a fixed voltage regulator is expected to have the
17regulator-min-microvolt and regulator-max-microvolt
18to be the same.
19
20Example:
21
22 abc: fixedregulator@0 {
23 compatible = "regulator-fixed";
24 regulator-name = "fixed-supply";
25 regulator-min-microvolt = <1800000>;
26 regulator-max-microvolt = <1800000>;
27 gpio = <&gpio1 16 0>;
28 startup-delay-us = <70000>;
29 enable-active-high;
Laxman Dewangan9a50dba2012-05-07 15:58:19 +053030 regulator-boot-on;
31 gpio-open-drain;
Rajendra Nayakcef49102011-11-18 16:47:18 +053032 };