Lines Matching +full:enable +full:- +full:gpio
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>
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
58 regulator and matching GPIO configurations to achieve them. If there are
60 $ref: /schemas/types.yaml#/definitions/uint32-matrix
65 - description: Voltage in microvolts
66 - description: GPIO group state value
68 startup-delay-us:
71 enable-active-high:
72 description: Polarity of "enable-gpio" GPIO is active HIGH. Default is
76 gpio-open-drain:
78 GPIO is open drain type. If this property is missing then default
82 regulator-type:
86 - voltage
87 - current
90 vin-supply:
94 - compatible
95 - regulator-name
96 - gpios
97 - states
102 - |
103 gpio-regulator {
104 compatible = "regulator-gpio";
106 regulator-name = "mmci-gpio-supply";
107 regulator-min-microvolt = <1800000>;
108 regulator-max-microvolt = <2600000>;
109 regulator-boot-on;
111 enable-gpios = <&gpio0 23 0x4>;
119 startup-delay-us = <100000>;
120 enable-active-high;