Lines Matching +full:gpio +full:- +full:regulator

1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/gpio-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO controlled regulators
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
14 Any property defined as part of the core regulator binding, defined in
15 regulator.txt, can also be used.
18 - $ref: "regulator.yaml#"
22 const: regulator-gpio
24 regulator-name: true
26 enable-gpios:
27 description: GPIO to use to enable/disable the regulator.
28 Warning, the GPIO phandle flags are ignored and the GPIO polarity is
29 controlled solely by the presence of "enable-active-high" DT property.
34 description: Array of one or more GPIO pins used to select the regulator
39 gpios-states:
41 On operating systems, that don't support reading back gpio values in
42 output mode (most notably linux), this array provides the state of GPIO
43 pins set when requesting them from the gpio controller. Systems, that are
49 $ref: /schemas/types.yaml#/definitions/uint32-array
57 regulator and matching GPIO configurations to achieve them. If there are
58 no states in the "states" array, use a fixed regulator instead.
59 $ref: /schemas/types.yaml#/definitions/uint32-matrix
63 - description: Voltage in microvolts
64 - description: GPIO group state value
66 startup-delay-us:
69 enable-active-high:
70 description: Polarity of "enable-gpio" GPIO is active HIGH. Default is
74 gpio-open-drain:
76 GPIO is open drain type. If this property is missing then default
80 regulator-type:
84 - voltage
85 - current
89 - compatible
90 - regulator-name
91 - gpios
92 - states
97 - |
98 gpio-regulator {
99 compatible = "regulator-gpio";
101 regulator-name = "mmci-gpio-supply";
102 regulator-min-microvolt = <1800000>;
103 regulator-max-microvolt = <2600000>;
104 regulator-boot-on;
106 enable-gpios = <&gpio0 23 0x4>;
114 startup-delay-us = <100000>;
115 enable-active-high;