Lines Matching +full:dc +full:- +full:valid
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:
21 description: Valid DC power has been detected (active low, input)
23 uok-gpios:
25 description: Valid USB power has been detected (active low, input)
27 cen-gpios:
31 chg-gpios:
35 flt-gpios:
39 dcm-gpios:
41 description: Current limit mode setting (DC=1 or USB=0, output)
43 usus-gpios:
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>;