Home
last modified time | relevance | path

Searched +full:flt +full:- +full:gpios (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/power/supply/
H A Dmaxim,max8903.yaml1 # 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:
31 chg-gpios:
35 flt-gpios:
[all …]
/linux/drivers/power/supply/
H A Dmax8903_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver
22 * GPIOs
23 * chg, flt, dcm and usus are optional.
31 struct gpio_desc *flt; /* Fault output */ member
32 struct gpio_desc *dcm; /* Current-Limit Mode input (1: DC, 2: USB) */
53 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in max8903_get_property()
54 if (data->chg) { in max8903_get_property()
55 if (gpiod_get_value(data->chg)) in max8903_get_property()
57 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max8903_get_property()
[all …]