Lines Matching +full:regulator +full:- +full:always +full:- +full:on
2 # SPDX-License-Identifier: Apache-2.0
5 GPIO-controlled voltage of regulators
8 vccq_sd0: regulator-vccq-sd0 {
9 compatible = "regulator-gpio";
11 regulator-name = "SD0 VccQ";
12 regulator-min-microvolt = <1800000>;
13 regulator-max-microvolt = <3300000>;
15 enable-gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>;
20 regulator-boot-on;
23 In the above example, three GPIO pins are used for controlling the regulator:
25 * third for enabling/disabling the regulator.
28 - name: base.yaml
29 - name: regulator.yaml
30 property-allowlist:
31 - regulator-name
32 - regulator-init-microvolt
33 - regulator-min-microvolt
34 - regulator-max-microvolt
35 - regulator-always-on
36 - regulator-boot-on
37 - startup-delay-us
39 compatible: "regulator-gpio"
42 regulator-name:
46 type: phandle-array
54 Selection of available voltages provided by this regulator and matching
56 "states" array, use a fixed regulator instead. First value in an array
59 enable-gpios:
60 type: phandle-array
62 GPIO to use to enable/disable the regulator.
65 the GPIO polarity and open-drain status in the phandle selector. The
66 Linux enable-active-high and gpio-open-drain properties are not valid
70 it is requested to enable or disable the regulator.
73 enable-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;