1 GPIO controlled regulators
4 - compatible : Must be "regulator-gpio".
5 - regulator-name : Defined in regulator.txt as optional, but required
7 - gpios : Array of one or more GPIO pins used to select the
8 regulator voltage/current listed in "states".
9 - states : Selection of available voltages/currents provided by
10 this regulator and matching GPIO configurations to
11 achieve them. If there are no states in the "states"
12 array, use a fixed regulator instead.
15 - enable-gpios : GPIO used to enable/disable the regulator.
16 Warning, the GPIO phandle flags are ignored and the
17 GPIO polarity is controlled solely by the presence
18 of "enable-active-high" DT property. This is due to
19 compatibility with old DTs.
20 - enable-active-high : Polarity of "enable-gpio" GPIO is active HIGH.
21 Default is active LOW.
22 - gpios-states : On operating systems, that don't support reading back
23 gpio values in output mode (most notably linux), this
24 array provides the state of GPIO pins set when
25 requesting them from the gpio controller. Systems,
26 that are capable of preserving state when requesting
27 the lines, are free to ignore this property.
28 0: LOW, 1: HIGH. Default is LOW if nothing else
30 - startup-delay-us : Startup time in microseconds.
31 - regulator-type : Specifies what is being regulated, must be either
32 "voltage" or "current", defaults to voltage.
34 Any property defined as part of the core regulator binding defined in
35 regulator.txt can also be used.
39 mmciv: gpio-regulator {
40 compatible = "regulator-gpio";
42 regulator-name = "mmci-gpio-supply";
43 regulator-min-microvolt = <1800000>;
44 regulator-max-microvolt = <2600000>;
47 enable-gpios = <&gpio0 23 0x4>;
48 gpios = <&gpio0 24 0x4
55 startup-delay-us = <100000>;