Lines Matching +full:gpio2 +full:- +full:output +full:- +full:enable
1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
19 dok-gpios:
23 uok-gpios:
27 cen-gpios:
29 description: Charge enable pin (active low, output)
31 chg-gpios:
35 flt-gpios:
39 dcm-gpios:
41 description: Current limit mode setting (DC=1 or USB=0, output)
43 usus-gpios:
45 description: USB suspend pin (active high, output)
48 - compatible
51 - required:
52 - dok-gpios
53 - required:
54 - uok-gpios
59 - |
60 #include <dt-bindings/gpio/gpio.h>
63 dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
64 flt-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
65 chg-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
66 cen-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;