Lines Matching +full:in +full:- +full:gpios
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>;
17 gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>, <&gpio5 2 GPIO_ACTIVE_HIGH>;
20 regulator-boot-on;
23 In the above example, three GPIO pins are used for controlling 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:
45 gpios:
46 type: phandle-array
55 GPIO configurations to achieve them. If there are no states in the
56 "states" array, use a fixed regulator instead. First value in an array
57 item is voltage in microvolts and the second is GPIO group state value.
59 enable-gpios:
60 type: phandle-array
64 Unlike the gpio property in the Linux bindings this array must provide
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
73 enable-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;